In this project, I have developed and deployed a custom object detection model that can be used to detect stray animals (cow and dogs ). The dataset is created by taking custom images from google image search. The Machine Learning Model is developed, trained, and deployed(as a REST API ) on Heroku Cloud using Python-Flask.
video used for inference source : wildfilmsindia
Image used for inference source : Getty Images
YOLO an acronym for 'You only look once', is an object detection algorithm that divides images into a grid system. Each cell in the grid is responsible for detecting objects within itself.
YOLO algorithm is an algorithm based on regression, instead of selecting the interesting part of an Image, it predicts classes and bounding boxes for the whole image in one run of the Algorithm.
YOLO is one of the most famous object detection algorithms due to its speed and accuracy.
Various images of cows and dogs are collected from Google Image search under creative common lisences.
lebaling tool : makesence.ai
- One row per object
- Each row is class x_center y_center width height format.
- Box coordinates must be in normalized xywh format (from 0 - 1). {If your boxes are in pixels, divide x_center and width by image width, and y_center and height by image height.}
- Class numbers are zero-indexed (start from 0).
Python
Pytorch
Flask
In the case of a bug report, bugfix or suggestions, please feel free to open an issue.
Pull requests are always welcome, and I will do my best to do reviews as fast as we can.
This project is licensed under the GNU General Public License
- If appropriate, open an issue on GitHub.
- Or contact me on linkedin
- Contact me on LinkedIn
- Email [email protected]