c++ programs for object detection and image segmentation using the OpenCV dnn module. Example programs use MobileNet, YOLO-tiny, and MaskRCNN neural networks trained on the COCO dataset.
- OpenCV with the modules dnn, highgui, and imgproc installed
- Configuration and model weight files (in resources folder)
- C++17 compiler
From the github source with cmake
git clone https://github.com/whalenpt/OpenCVObjectDetect.git
cd OpenCVObjectDetect
cmake -S . -B build
cd build
cmake --build . -j4
Executables are named:
- mobilenet_image
- yolo_image
- maskrcnn_image
- This project is licensed under the MIT License - see the LICENSE file for details.
- OpenCV has the License.
- TensorFlow has the License.
Patrick Whalen - whalenpt@gmail.com