Download the Object Detection model file from https://github.com/OlafenwaMoses/ImageAI/releases/download/1.0/resnet50_coco_best_v2.0.1.h5
Install the following dependencies via pip
i. TensorFlow
ii. OpenCV
iii. Keras
iv. ImageAI
After installing run the file named "FirstDetection.py" with an image saved in the current working directory.
You can use the image named "image.png"
The output will be similar to the image "imagenew.jpg".