Skip to main content

A python script for converting annotation format(yolo-txt to labelme-json)

Project description

yolo2labelme

A python script for converting annotation format(yolo-txt to labelme-json).

Installation

pip install yolo-to-labelme

Usage

Arguments:

--yolo : path to YOLO annotations directory.

--labelme(optional) : path to output directory.

--width(optional) : default value is 1024.

--height(optional) : default value is 1024.

--classes : Path to the classes file(TXT format).

--img_ext(optional) : Default extention is "jpg".

CLI Usage:

Specify yolo-labels-directory, output directory(optional), classes file, image size(width, height)(optional), and image extention(optional).

yolotolabelme --yolo path/to/yoloAnnotations --labelme path/to/output --classes path/to/classes-file

Useful links

Github code: https://github.com/adeel-maker/yolotolabelme/

Yolo to labelme: https://pypi.org/project/yolo-to-labelme/

Lableme to yolo : https://pypi.org/project/labelme2yolo/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yolo-to-labelme-0.0.8.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

yolo_to_labelme-0.0.8-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page