developer0hye / Yolo_Label

GUI for marking bounded boxes of objects in images for training neural network YOLO
MIT License
509 stars 114 forks source link

no CSV export #39

Closed ajaysurya1221 closed 3 years ago

ajaysurya1221 commented 3 years ago

TrainYourOwnYOLO requires CSV file as data. Is there any way we can do that with Yolo_Label?

developer0hye commented 3 years ago

@ajaysurya1221

Annotate your data with Yolo_Label and then change the '.txt' ext of annotation file to '.csv'

I also recommend you to use another yolo projects that support '.txt' files.

ajaysurya1221 commented 3 years ago

Hi may I please know the order of the bounding box data in .txt file ? is it xmin ymin xmax ymax?

developer0hye commented 3 years ago

No, it is class center_x center_y width height.

ajaysurya1221 commented 3 years ago

Thanks a lot. Is there any formula or pseudocode to convert these values into xmin ymin xmax and ymax ?

developer0hye commented 3 years ago

It's okay~

x y w h

xmin = x - w / 2 ymin = y - h / 2 xmax = x + w / 2 ymax = y + h / 2