Skip to content

Conversion from certain format to another, such as voc , coco , txt , labelme

Notifications You must be signed in to change notification settings

saicheshoulbl/toolbox

 
 

Repository files navigation

toolbox

All kinds of utils for format convertion or something else (described in readme files)
Used to extract key information from raw xml and transform from the txt to voc.
Each python file matches some samples.
More details are marked in the python files as annotation.

converter

Some convetsion files included here,I'll update it if necessary.

  • txt2voc
    The tool inside helps you to conver txt in certain format to voc format.
    Provided txt labels ground truth in form of NWPU VHR-10 , it's not a hard job to change related code for your owm labels.
    NWPU VHR-10's label is showed as follow:
2,(270,296),(358,685)
2,(366,278),(453,661)
4,(541,633),(727,698)
  • labelme2COCO
    It's a bit hard to finish this work , cause the widespread wrong version about it , I hate plagiarism :)
    This tool helps you to convert json file created by labelme to COCO style for training .
    Attentions:
    1.If you want to label the segmentation mask , there is no need to label bbox!(Or bugs arised)
    2.When using labelme , pls named mask according to COCO format,such as vehicle_car_1.(supercategory,category,instance id)
  • voc2coco
    No more description needed , just make use of it .

voc_extraction

  • extraction User-friendly work for extract imformation from xml files.And a example is attached for better understanding

other tools

  • data_partition
    Helpful of partition of dataset.
  • img_format_trans
    A simple tool for conversion of image format.
  • visdom-train-example
    A example for training while monitoring on loss and ac curve.More details and attention have been attached to file inside.

About

Conversion from certain format to another, such as voc , coco , txt , labelme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%