HumanSignal / HumanSignal/label-studio

Which script to convert PNG mask to YOLO format

Open
#7,346 1 comment 0 reactions 0 assignees View on GitHub
community_needs-information
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

After annotating images with segmentation masks using brushes (helped by SAM2), I exported to COCO and YOLO format and found that the segmentation masks are not included in the exports.

The way to get segmentation masks exported is to export by PNG and numpy arrays.

Is there a script to convert and merge the PNG/arrays of the exported segmentation masks into the exported COCO files?

My intention is to use these COCO annotations with segmentation masks to train a YOLO segmentation model using Ultralytics library.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.