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 indicates the path where are the json output of LabelMe--output-path
: The path where you can save the converted files
This will make two kinds 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 set in the image
Donation
If you want to contribute you can make a donation at https://www.buymeacoffee.com/tlaloc, thanks in advance
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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for labelme2yolov7segmentation-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7540d4040169dc6a83b5320e4c22084cae7ea8b977226a59e57ac17a51022fed |
|
MD5 | d1f066fa3715fa066cfbfbe7141d4443 |
|
BLAKE2b-256 | a71d9160d15d86ec4afeff50b1cf2b8ee02f0138402b083adab310c313ee04a3 |