This repository is an easy to template for using Tensorflow Object Detection API on custom datasets. The preprocessing can be done with the provided notebook locally and then training can be done easily on colab.
- Tensorflow 1.15
- object_detection
- opencv
It is best to create a separate python/conda environment
git clone https://github.com/theneuralbeing/object_detection_template.git
- Read this for gathering and annotating data
- Run the Preprocess_Data.ipynb notebook on your computer
- After your data is ready, you can directly start training on this colab notebook The colab notebook contains all the further steps.
- After training, the trained inference graph will be downloaded to your computer and you can use the
inference_webcam.py
. (the steps for inference are also mentioned in the colab notebook)