Code for Rasberry Pi 4B 4gb
The script should control 9 pumps that will deliver the liquids to the drink glass. Pumps are controlled with 5 power control units. HQ camera for face recognition.
- Setup Python virtualenv
python3 -m venv venv
- Activate virtualenv
. venv/bin/activate
- Install required packages
pip install -r requirements.txt
Project depends on PostgreSQL database. Dump file test1.pgsql included.
- Activate virtualenv
. venv/bin/activate
- Run server
flask run
Register root user running code below and follow instructions
python facecam.py