HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
19.34k stars 2.4k forks source link

pre annotation (importing pascal VOC format (xml)) #513

Open NandaBalakrishnan opened 3 years ago

NandaBalakrishnan commented 3 years ago

Is your feature request related to a problem? Please describe. Specifically looking this feature for BoundingBox we want to load the images and their corresponding annotation(pascal voc format) while launching the labelstudio. we want to know whether labelstudio supports importing pascal voc rather than completions json format or is there any converter available to convert pascal voc to completion json.

Describe the solution you'd like

NandaBalakrishnan commented 3 years ago

Any updates on the above ticket?

makseq commented 3 years ago

@NandaBalakrishnan Unfortunately LS doesn't support Pascal VOC import right now. But we are planning to add a lot of import formats soon.

jigsawcoder commented 3 years ago

@makseq what about importing txt labels (yolov4)? can we upload pre annotated images with their corresponding .txt labels or we need to convert it to json?

makseq commented 3 years ago

@jigsawcoder We are planning to add import from different formats, but it's not supported yet. So, you need to convert your images to LS internal json format (tasks + annotations).

Check this for more information: https://labelstud.io/guide/predictions.html#Example-of-importing-predicted-labels

hellkrusher commented 1 year ago

Is there a script or a more specific example available to convert the pascal VOC format to the LS internal json format until direct importing is implemented?

makseq commented 1 year ago

@hellkrusher only for yolo and coco: https://github.com/heartexlabs/label-studio-converter/tree/master/label_studio_converter/imports