ultralytics / yolov5

YOLOv5 πŸš€ in PyTorch > ONNX > CoreML > TFLite
https://docs.ultralytics.com
GNU Affero General Public License v3.0
48.71k stars 15.93k forks source link

did the yolov5 works on polygon annotation? #4783

Closed ghost closed 2 years ago

ghost commented 2 years ago

❔Question

I have labeled data using polygon annotation did the yolov5 train on polygon annotation or it only works on the bounding box annotation?

Additional context

glenn-jocher commented 2 years ago

@hammadyounas2008 hi! Segmentation label support is on our roadmap but not available yet.

iceisfun commented 2 years ago

@hammadyounas2008 There is another repo where someone has modified it to take a poly, I have not tested

https://github.com/XinzeLee/PolygonObjectDetection

github-actions[bot] commented 2 years ago

πŸ‘‹ Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs.

Access additional YOLOv5 πŸš€ resources:

Access additional Ultralytics ⚑ resources:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLOv5 πŸš€ and Vision AI ⭐!

JakobStadlhuber commented 2 years ago

Is this already supported?

tailtNinjavanVN commented 2 years ago

Hope feature will release in future.

bit-scientist commented 1 year ago

They state in v6.2 release that

v6.3 is scheduled for September and will bring official instance segmentation support to YOLOv5

baseer23 commented 1 year ago

Question

I have labeled data using polygon annotation did the yolov5 train on polygon annotation or it only works on the bounding box annotation?

Additional context

I have a COCO Yolo annotations (by running bash get_coco.sh in the segmentation repo of YOLOV5) file and it is in the following format 23 0.434 0.234 0.765 0.874 0.124 0.634 0.273 ....

Can you tell me what these annotations mean? Object detection is pretty straight forward like Class, Height, Width, X_Center, and Y_Center but I can't figure out what it means over here.

baseer23 commented 1 year ago

@hammadyounas2008 hi! Segmentation label support is on our roadmap but not available yet.

I have a COCO Yolo annotations (by running bash get_coco.sh in the segmentation repo of YOLOV5) file and it is in the following format 23 0.434 0.234 0.765 0.874 0.124 0.634 0.273 ....

Can you tell me what these annotations mean? Object detection is pretty straight forward like Class, Height, Width, X_Center, and Y_Center but I can't figure out what it means over here.

Laughing-q commented 1 year ago

@AbdulBaseerMohammedKhan these coordinates are

class_id, x, y, x, y...

which these xy mean the boundary coordinates of segment labels.