object detection in image using python and openCV
- openCV
- numpy
- argparse
This respository contains following files-
- images- This folder contains input images.
- MobileNetSSD_deploy.caffemodel- Convolutional Neural Network
- MobileNetSSD_deploy.prototxt.txt- prototxt of MobileNetSSD network
- object_detection.py-This is main file.
- Clone the repository-
git clone https://github.com/Rtannu/objectDetection.git
cd objectDetection
- next step to run main.py file-
$ python <path of main file> --prototxt <path of prototxt.txt> --model <path of MobileNetSSd_deploy.caffemodel> --image <path of input image>
ex-
$ python object_detection.py --prototxt MobileNetSSD_deploy.prototxt.txt --model MobileNetSSD_deploy.caffemodel --image images/example_01.jpg