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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file labelme2yolov7segmentation-0.1.1-py3-none-any.whl.
File metadata
- Download URL: labelme2yolov7segmentation-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88bf140ac79d01c3c1bfb04fff8a3101b1940ae4fa44a9b718ee7491dd70bc76
|
|
| MD5 |
052da0bc98e50fe5b38db0492bd10e7e
|
|
| BLAKE2b-256 |
864ccf252fa9e67d90901d864608542d3455fc2474efbab0db91a8c1e2e43d85
|