Convert the COCO RLE format to YOLOv5/v8 segmentation format. #61
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes these problems.
Convert the COCO RLE format to YOLOv5/v8 segmentation format.
#38
Converting the COCO keypoints format to YOLOv8 pose format.
#45
copilot:all
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
📊 Key Changes
use_keypoints
parameter introduced to handle keypoints annotation conversion.bbox_from_keypoints
,show_kpt_shape_flip_idx
,merge_contours
, andrle2polygon
.🎯 Purpose & Impact
The PR allows users to convert COCO dataset annotations that include RLE formatted segmentations and keypoints to a YOLO compatible format. This opens up the capability for users to train YOLO models with datasets that have richer annotations, potentially leading to more precise object detection, especially for tasks that require exact outline (segmentation) or specific point detection (keypoints).
🌟 Summary
Now you can convert COCO's detailed RLE and keypoints annotations to YOLO format seamlessly! 🎨🔑