Skip to content

hector97i/facemask_lock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

facemask_lock

Run

  1. Create Python 3.6+ venv and installing requirements.txt
python3 -m venv <ENV_NAME>
source <ENV_NAME>/bin/activate
pip install -r requirements.txt
  1. Configure IP webcam at main.py line 28.

  2. Run main.py in virtual environment.

python main.py
  1. Run the following command in the GCP instance with root access:
gunicorn -w 4 -b 0.0.0.0:80 --access-logfile -  main:app 
  1. Go to http://localhost:5000 or http://0.0.0.0:5000 if running on LAN in a device other than server.

Options

If you want to run the program using Flask instead of Gunicorn in the GCP instance, run the following command with root access:

./run_flask_server.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published