Skip to main content

Convert LabelMe format to yolov7 for segmentation.

Project description

LabelMe2Yolov7Segmentation

This repository was designed in order to label images using LabelMe and transform to YoloV7 format for instance segmentation

Instalation

pip install labelme2yolov7segmentation

Usage

First of all, make your dataset with LabelMe, after that call to the following command

labelme2yolo --source-path /labelme/dataset --output-path /another/path

The arguments are:

  • --source-path: That indicate the path where are the json output of LabelMe
  • --output-path: The path where you can save the converted files

This will make two kind of outputs:

  • *.txt: where * is the name of the original json generated by LabelMe
  • labels.txt: Where you have the relation between the number and the label seted in the image

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

labelme2yolov7segmentation-0.1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file labelme2yolov7segmentation-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for labelme2yolov7segmentation-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88bf140ac79d01c3c1bfb04fff8a3101b1940ae4fa44a9b718ee7491dd70bc76
MD5 052da0bc98e50fe5b38db0492bd10e7e
BLAKE2b-256 864ccf252fa9e67d90901d864608542d3455fc2474efbab0db91a8c1e2e43d85

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