ryouchinsa / Rectlabel-support

RectLabel is an offline image annotation tool for object detection and segmentation.
https://rectlabel.com
510 stars 73 forks source link

Convert XMLs to Text format #179

Closed bjanfeshan closed 3 years ago

bjanfeshan commented 3 years ago

How I can convert all XMLs in one directory into one txt file?

ryouchinsa commented 3 years ago

Thanks for writing the issue.

Could you tell us the details of the text file format? Which ml tools are using the text file format to train object detection models?

bjanfeshan commented 3 years ago

I am using MMDetection tool for training an SSD or YOLO model.

ryouchinsa commented 3 years ago

Thanks for the details.

We read their document and they say "we recommend to convert the data into COCO formats and do the conversion offline". https://github.com/open-mmlab/mmdetection/blob/master/docs/tutorials/customize_dataset.md

Please use "Export XML files to COCO JSON file" on RectLabel. https://rectlabel.com/help#xml_to_coco

Does this work for you?

ryouchinsa commented 3 years ago

Currently If you need our support to fix this problem, please let us know.