-
Create a virtual environment with the command
Linux/Mac
virtualenv zenv
-
Activate the virtual environment:
Linux/Mac
. zenv/bin/activate
anddeactivate
to exitIt should appear (zenv) in the console. Whenever a new console is executed, the virtual machine has a libraries and dependencies other than those found in the normal Windows environment, this to maintain the integrity of the applications in the operating system.
-
Install open-cv
Linux/Mac
pip install opencv-python
Add images to resize to the folder Archivo de Imagenes
Run python3 main.py