label-convert

A tool for object detection and image segmentation dataset format conversion. Supports conversion between labelme tool annotated data, labelImg tool annotated data, YOLO, PubLayNet and COCO data set formats.


Keywords
convert, coco, labelme, labelImg, yolov5, yolox, yolov6, yolov8, labelimg-tool, labelme-annotations, publaynet
License
Apache-2.0
Install
pip install label-convert==0.1.3

Documentation


PyPI SemVer2.0

Introduction

A tool for object detection and image segmentation dataset format conversion.

Supports conversion between labelme tool annotated data, labelImg tool annotated data, YOLO, PubLayNet and COCO data set formats.

Supported conversions

flowchart LR

A(YOLOv5) --> B(COCO)
C(YOLOv5 YMAL) --> B
D(darknet) --> B
E(labelme) --> B

B --> F(labelImg)
F --> G(PubLayNet)
F --> J(YOLOv5)

J --> H(YOLOv8)
H --> J

Installation

pip install label_convert

Documentation

Full documentation can be found on docs in Chinese.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Apache 2.0