Commands to execute before execution ( for creating a virtual environment )
- pip install virtualenv [Enter]
For Windows
- python -m virtualenv env [Enter]
For MacOS
- virtualenv env [Enter]
To activate For Windows
- navigate to cd env/Scripts
- ./activate [Enter]
- navigate back to main directory i.e: cd ../..
For MacOS
- source env/bin/activate [Enter]
To deactivate env
- deactivate [Enter]
After activation
- pip install flask [Enter]
- pip install opencv-python [Enter]
- pip install mediapipe [Enter]
Note - create two folders,
static/upload
static/download
To run the application
- python app.py