AlexeyAB / Yolo_mark

GUI for marking bounded boxes of objects in images for training neural network Yolo v3 and v2
https://github.com/AlexeyAB/darknet
The Unlicense
1.8k stars 680 forks source link

German Traffic Sign Detection Benchmark - Annotations #203

Open ItsCRC opened 3 years ago

ItsCRC commented 3 years ago

Hey there, I am using YOLOv4 for German Traffic Sign Detection Benchmark dataset. It has 900 images (divided in 600 training images and 300 evaluation images (PPM Images)). The size of images are 1360 width and 800 height. The annotation file have the format:

Quoting @AlexeyAB in one of the issues ".txt-file for each .jpg-image-file - in the same directory and with the same name, but with .txt-extension, and put to file: object number and object coordinates on this image, for each object in new line: object-class x y width height"

Also I want to know that in my yolov4_custom_train.cfg, the width and height = 416. Will these affect the annotation file creation because I know x and y are calculated using image_width and image_height somehow.

Any help in how to create annotation file for each image using the above given values in example?