Lesson 11 - xyzen/CS490 GitHub Wiki
In this lesson we deployed a computer vision model to run object detection on images uploaded to a small website on the Raspberry Pi using tensorflow, OpenCV, Flask, and wtforms.
To deploy this application, you will need to install the following libraries for Python 3: flask, flask_wtf, wtforms, and flask_uploads in addition to tensorflow and opencv-python.
Example:
pip3 install flask flask_wtf wtforms flask_uploads tensorflow opencv-python==3.4.6.27
Once the dependencies are met, we are ready to run the application with the following commands in a bash terminal:
cd /path/to/CS490/Lesson11
python3 app.py