Example of image-based pattern recognition by implementing a pre-trained YOLOv3 model with COCO and OpenCV, filtering every known object to heavy duty vehicles for precise implementation objects.
Python 3.7 or later with all requirements.txt dependencies installed. To install run:
$ pip install -r requirements.txt
Additionally, the weights built for YOLOv3 are required, which can be found by following this link. Or run:
$ wget https://pjreddie.com/media/files/yolov3.weights
Run command below. You can choose between the images in this repository or another you want.
$ python3 objects_detector.py -i <input-image>
For more information please visit Ultralytics repo for YOLOv3 in PyTorch. Or Joseph Redmon page for YOLO https://pjreddie.com/darknet/yolo/.
This project is licensed under the MIT License - see the LICENSE.md file for details