Broadcast Tensorflow object detection using Socket IO for WebRTC and OpenCV2 / gtk
- NumPy
- TensorFlow >= 1.4
- matplotlib
- scipy
- Python 3.X
- Flask socket-io
- Flask
- OpenCV
pip3 install numpy tensorflow==1.4 scipy matplotlib flask-socketio socketio_client opencv-contrib-pythonYou also can use Tensorflow-GPU
pip3 install tensorflow-gpu==1.4You also can use OpenCV build from sources
You also can use Tensorflow build from sources
- Download any model you preferred for Tensorflow object detection from here
- Untar and put it in any folder module {webrtc, opencv2} you want.
- Open that folder module, and edit object_detection.py
# replace it with your own folder name
MODEL_NAME = 'ssd_mobilenet'- Change IP or Port you preferred.

