Make sure you have Python>=3.7 installed in your machine, if not then download and install it here.
-
1] Download and install Anaconda
-
2] Clone or Download the official repository of tensorflow-object-detection-api from Github.
-
3] Clone or Download this repo.
-
4] Open Anaconda Command Prompt and install the following packages for Windows:
pip install tensorflow pip install opencv-python pip install Cython pip install contextlib2 pip install pillow pip install lxml pip install tf_slim
-
5] Copy and Paste
protoc.exe
file from this repo to the pathmodels-master/research
. -
6] Open the Anaconda Command Prompt in
models-master\research
and copy and run the command written inprotoc_command.txt
. -
7] Copy and Paste the file
tf2od_nyc.ipynb
andtf2od_nyc.py
intomodels-master\research
directory.
For more information regarding installation and configuration of the api head onto https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2.md
-
The model used in this project is
SSD_MOBILENET_V1
trained on theCOCO 2017 DATASET
.
These are the other models provided by TensorFlow for using its Object Detetcion API