Skip to content

Real Time Sheep detection using Yolov3 framework and Opencv

Notifications You must be signed in to change notification settings

Rahim47/RTOD_Sheep_Yolov3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real Time Sheep/Lamb Detection using YoloV3 and OpenCV

Introduction

Real-Time Object Detection using YoloV3 has been one of the favorites techniques used by researchers and developers working in Computer Vision, reportedly, because it's very fast and accurate compared to other Object Detection Systems such as SSD513, R-FCN, RetinaNet, etc (Fig. 1).

{{ include.description }}

Figure 1: Comparison of Inference time between YOLOv3 with other systems on COCO dataset Source

Project preparation

Dataset

A dataset of ≈ 5800 images was prepared to train the model, mostly scraped from Google and Bing, in addition to some frames extracted from video footages.

Tools

Image scraping

Image Labeling

I ended up labeling about 60% of the dataset (it took me a serious time to finish that far).

Model Training

Due to lack of computing resources the model training was executed on Google Colab. Training has been run using a modified version of Darknet by AlexeyAB. The hardware specification provided in Google Colab environment are (source)

{{ include.description }}

Figure 2: YoloV3 configuration files for Darkent on Colab notebook.

Results

for the sake of comparison below are the result of my own trained weight model vs. the pre-trained model: If you want to insert images, this is how you do it:

Image result from pretrained weight file:

pretrained

Image result from my custom weight file:

pretrained

About

Real Time Sheep detection using Yolov3 framework and Opencv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages