-
Download the Yolo-Human object detection and place it within the same folder when prid_app.py is present https://drive.google.com/file/d/1R1Z-W0XYxkmcWZZwAgMhgoGTucra4V7e/view?usp=sharing
-
Download the prid model and place it within the same folder when prid_app.py is present create the
https://drive.google.com/file/d/1BkeUikgWyP2mCW06TOnP3JfPRvwk6cZh/view?usp=sharing -
Install virtual environment pip3 install virtualenv
-
Create the virtualenv environment python3 -m virtualenv "virtual env name"
-
activate the virtual environment source "virual env name"/bin/activate
-
install required packages pip3 install -r requirements.txt
-
To run the app python3 prid_app.py
TO deploy this application in Nginx server refer this link https://medium.com/swlh/deploy-flask-applications-with-uwsgi-and-nginx-on-ubuntu-18-04-2a47f378c3d2