Stream USB camera with Coral Edge TPU based object detection/classification over network. The project is dependent on Google's Coral USB Accelerator.
Base code took from log0's video_streaming_with_flask_example. Coral object classification originally from Google LLC.
- Install the Edge TPU runtime and Python library following https://coral.withgoogle.com/docs/accelerator/get-started/
- Install Python dependencies: cv2, flask.
- Download pretrained Edge TPU sample models using: sh download_models.sh
- Run "python3 main.py", or run "sh ./start.sh" in the background.
- Navigate the browser to the http://ip-adress:5000.
- Switch between detection/classification by modifying main.py imports
- Change the model used for detection/classification by modifying the config.py