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

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