Darknet: How To Convert Annotation Format (TxT) Form OpenImage to Yolo Format

Created on 22 Jan 2020  路  3Comments  路  Source: AlexeyAB/darknet

Hello Everyone , I have Downloaded Some 1000 Images From OpenImage With Their Bounding Boxes Coordinates , The Labels Looks Like This

( This Is For The First Image , 00a8ac773dff860e.jpg )

00a8ac773dff860e.txt

    `Shorts 178.56 749.44 238.07999999999998 812.16
     Shorts 254.079744 742.4 302.720256 807.04`

And I want to transform it to Yolo Format - Normalize The Coordinates - Any Suggestions On How To Do It ?

Any Feedback would be greatly appreciated , thank you .

Explanations

Most helpful comment

Use this repo https://github.com/RajashekarY/OIDv4_ToolKit which is managed to create annotations for specific classes in yoloV3 format

All 3 comments

Use this repo https://github.com/RajashekarY/OIDv4_ToolKit which is managed to create annotations for specific classes in yoloV3 format

@RajashekarY Thank you , but the thing is , i've actually used that Repo to download my images , but the annotation txt files is as showed above , and if i'm not mistaken , yolov3 needs the coordinates to be normalized.

Hey that's what I have made changes as per YOLOv3 requirements it's the fork of original @Mididou

Was this page helpful?
0 / 5 - 0 ratings