Skip to content

Latest commit

 

History

History
 
 

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Building a custom object detector using YOLOv3 in python

In this section, I put the code and the dataset of my rubik's cube to building a custom object detector to detect rubik's cube using YOLOv3 in Python. Training process is done using the Darknet framework and the real-time detector implemented with OpenCV DNN module.

In the next table, I briefly described the contents of this section.

Name Its Function
Dataset Folder contains images and labels folders.
generate.py Script to generate train.txt and test.txt files.
custom Folder contains needed files (train.txt, test.txt, objects.names, yolov3-tiny.cfg, and trainer.data) for training. This folder must be pasted on the main directory of darknet
yolo_opencv.py Real-time rubik's cube detector, it reads a stream of frames from the webcam the then detects the rubik's cube in each one.
model.data Pre-trained model to detect rubik's cube, can be downloaded from here.



For more info

http://emaraic.com/blog/yolov3-custom-object-detector

Video

https://www.youtube.com/watch?v=tlVfsgRokcQ

IMAGE ALT TEXT HERE