-
Download models-master from GitHub (Tensroflow)
-
Make sure you have
tensorflow==1.2.0
installed. -
Put object-detection.py and utils.py to
/models-master/research/
-
Put
ssd_mobilenet_v1_coco_11_06_2017
in/models-master/research/object_detection/
-
Install Google's protoc: https://github.com/google/protobuf/blob/master/src/README.md
-
Install OpenCV
-
If you are prompted with
ImportError: No module named google.protobuf
, try this:sudo pip uninstall protobuf sudo pip install protobuf
-
Open terminal, cd to
/models-master/research/
, runpython object-detection.py
-
When you want to quit this program, click the webcam window and then type 'q' on the keyboard.