Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 845 Bytes

README-windows.md

File metadata and controls

29 lines (25 loc) · 845 Bytes

How to make it work: Windows

https://www.python.org/downloads/release/python-3810/

py -3.8 -m venv venv
.\venv\scripts\activate
pip install pipenv
pipenv install

Project setup

Variables that need to be set: FROM_EMAIL TO_EMAIL FROM_EMAIL_PASSWORD PHOTOS_STORAGE_LOCATION. Everything else can be default

cp .env.example .env

To run scripts manually instead of supervisor use

pi src/TFLite_detection_webcam.py --modeldir=coco-model --resolution=1600x1200 --framerate=30

Troubleshooting

On windows '.\venv\scripts\activate' throws UnauthorizedAccess
Run PowerShell in Admin mode:
Set-ExecutionPolicy RemoteSigned
or
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser