Skip to main content

Tool to convert yolo format dataset to labelme json format.

Project description

yolo2labelme

Tool to convert yolo format dataset to labelme json format.

Installation

pip install yolo2labelme

Usage

Arguments:

data : path to dataset directory

Keyword arguments:

out : path to output directory. Default dataset is created at same path as data_dir with name labelmeDataset.

skip : action to take if .txt file corresponding to image is not found.

  • False (default) raises FileNotFoundError.
  • print prints missing file path to stdout.
  • True or any other value skips file silently.

CLI Usage:

Following command creates labelme json dataset directory at path/to/yolo/labelmeDataset from path/to/yolo/dataset dataset directory.

yolo2labelme path/to/yolo/dataset

Specify output directory, skip.

yolo2labelme path/to/yoloDataset --out path/to/labelmeJsonDir --skip print

Python Usage:

from yolo2lableme import yolo2labelme
yolo2labelme('path/to/yolo/dataset')

With output directory and skip action

yolo2labelme('path/to/yolo/dataset','path/to/labelme/dataset',skip=True)

Or simply

from yolo2labelme import y2l
y2l('path/to/dataset')

Useful links

https://github.com/kadapallaNithin/yolo2labelme

https://pypi.org/project/yolo2labelme/

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

yolo2labelme-0.0.7.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yolo2labelme-0.0.7-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file yolo2labelme-0.0.7.tar.gz.

File metadata

  • Download URL: yolo2labelme-0.0.7.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for yolo2labelme-0.0.7.tar.gz
Algorithm Hash digest
SHA256 afc36ea5bb3c4ea1f932929376eacb3829a86227c04b51a8edf85dc8b433d5b5
MD5 1732936432c246e15e66a2cdc22fc931
BLAKE2b-256 c3a64f9a6ff0bac4ccb01794ff55cb9debf408d2c538df008c94b2e5fb1283c0

See more details on using hashes here.

File details

Details for the file yolo2labelme-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: yolo2labelme-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for yolo2labelme-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 979725f55675be7ca22630db24e663c583391ffd780c24b7b9012c758ce09604
MD5 a831a99d4605c1639ed10659e82e5591
BLAKE2b-256 0c39b16c88263cf689c208d9ddf7f68c203270b34d8e03b0f99e5df34c6ad060

See more details on using hashes here.

Supported by

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