1)Installation
https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md
2)Download Protobuf from
https://github.com/google/protobuf/releases
3)Download Tensorflow model file from ( This is for complete tutorial if you are downloading this repositiory no need to download model as I am a downloaded and build it).
https://github.com/tensorflow/models
4)Extarct and rename it to models
Compile Protocol Buffers
a)Open Anaconda command promt b)Navigate to models directory c)Copy protoc.exe from protoc-3.4.0-win32\bin to to\model\research d) Run protoc ./object_detection/protos/*.proto --python_out=. Pre-trained Model https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md
run from models\research using Anaconda virtual environment (Tensorflow-GPU) python setup.py build python setup.py install pip install -e .
-
DownLoadModel.py : To download and save model.
-
Detect.py : Code to detect object from image and web cam.
7)Prepare.py : Create Modele download object and download the pretraing model
8)StartDetect.py : Creat detection object and start detecting object from web cam.
execut StartDetect.py to start web cam detection