- Notifications
You must be signed in to change notification settings - Fork0
woodsj1206/Convert-Segmentation-Mask-1.1-To-Yolov8
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This Python program converts task datasets exported as Segmentation mask 1.1 fromCVAT to YOLOv8 Instance Segmentation format.
- Handles multiple classes in a single image.
- Saves labels in a
labels
folder.
- Run the
SegmentationMaskToYolov8.py
script. - When prompted, enter the path of the
labelmap.txt
file,SegmentationClass
folder, andSegmentationObject
folder. - Labels will be saved as text files and stored in a
labels
folder.
# label:color_rgb:parts:actionsbackground:0,0,0::dog:250,50,83::horse:255,204,51::human:42,125,209::
Photo byPixabay from Pexels.
Resulting Images:
SegmentationClass | SegmentationObject |
---|---|
![]() | ![]() |
Output:
Label Output |
---|
pexels-pixabay-162520.txt |
Photo byYaroslav Shuraev from Pexels.
Resulting Images:
SegmentationClass | SegmentationObject |
---|---|
![]() | ![]() |
Output:
Label Output |
---|
pexels-yaroslav-shuraev-8499242.txt |
- IDE: Microsoft Visual Studio Community 2022
- Language: Python 3.9
About
A Python program that can convert Segmentation mask 1.1 to Yolov8 format.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published