Implementing the revised approach
In this section, we will understand the implementation of the revised approach. You can refer to this GitHub link: https://github.com/jalajthanaki/Real_time_object_detection/tree/master/revised_approach, which has the pre-trained model and the TensorFlow's Object detection folder. Before we even begin with the code, I will provide information regarding the folder structure of this approach. You can refer to the following figure:
Here is the object detection folder downloaded from the TensorFlow model repository: https://github.com/tensorflow/models/tree/master/research/object_detection. In the utils
folder, there are some helper functions to help us stream the video. The main script that helps us run the script is object_detection_app.py
. The pre-trained model has been saved inside the object detection folder. The path for pre-trained model in this folder is this: ~/PycharmProjects/Real_time_object_detection...