Home

Awesome

Yolo_mark

Windows & Linux GUI for marking bounded boxes of objects in images for training Yolo v3 and v2

Supported both: OpenCV 2.x and OpenCV 3.x


  1. To test, simply run
  1. To use for labeling your custom images:
  1. To training for your custom objects, you should change 2 lines in file x64/Release/yolo-obj.cfg:

3.1 Download pre-trained weights for the convolutional layers (76 MB): http://pjreddie.com/media/files/darknet19_448.conv.23

3.2 Put files: yolo-obj.cfg, data/train.txt, data/obj.names, data/obj.data, darknet19_448.conv.23 and directory data/img near with executable darknet-file, and start training: darknet detector train data/obj.data yolo-obj.cfg darknet19_448.conv.23

For a detailed description, see: https://github.com/AlexeyAB/darknet#how-to-train-to-detect-your-custom-objects


How to get frames from videofile:

To get frames from videofile (save each N frame, in example N=10), you can use this command:

Directory data/img should be created before this. Also on Windows, the file opencv_ffmpeg340_64.dll from opencv\build\bin should be placed near with yolo_mark.exe.

As a result, many frames will be collected in the directory data/img. Then you can label them manually using such command:


Here are:

Image of Yolo_mark

Instruction manual

Mouse control

ButtonDescription
LeftDraw box
RightMove box

Keyboard Shortcuts

ShortcutDescription
<kbd></kbd>Next image
<kbd></kbd>Previous image
<kbd>r</kbd>Delete selected box (mouse hovered)
<kbd>c</kbd>Clear all marks on the current image
<kbd>p</kbd>Copy previous mark
<kbd>o</kbd>Track objects
<kbd>ESC</kbd>Close application
<kbd>n</kbd>One object per image
<kbd>0-9</kbd>Object id
<kbd>m</kbd>Show coords
<kbd>w</kbd>Line width
<kbd>k</kbd>Hide object name
<kbd>h</kbd>Help