First commit
This commit is contained in:
parent
8dc8759b81
commit
314761bf9e
15 changed files with 1686 additions and 0 deletions
21
script.bat
Normal file
21
script.bat
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
@echo off
|
||||
SET "SCRIPT_PATH=%~1"
|
||||
SET VENV_DIR="C:\Users\piero\Desktop\AIFotoONLUS\my_venv"
|
||||
SET "PARAMS=%*"
|
||||
SET "PARAMS=%PARAMS:*%SCRIPT_PATH%=%"
|
||||
|
||||
IF NOT EXIST %VENV_DIR% (
|
||||
python -m venv %VENV_DIR%
|
||||
)
|
||||
|
||||
call %VENV_DIR%\Scripts\activate.bat
|
||||
|
||||
pip install imutils==0.5.4
|
||||
pip install numpy==1.20.1
|
||||
pip install opencv-python==4.5.1.48
|
||||
pip install Pillow==8.1.0
|
||||
pip install pytesseract==0.3.7
|
||||
|
||||
python "%SCRIPT_PATH%" %PARAMS%
|
||||
|
||||
call %VENV_DIR%\Scripts\deactivate.bat
|
||||
Loading…
Add table
Add a link
Reference in a new issue