Skip to content

Segment with 3 points #6931

@yeldarby

Description

@yeldarby

Search before asking

Question

I'm working on adding polygon support to Roboflow annotations so folks can benefit from your copy-paste augmentation when training their custom datasets.

I'm looking at the YOLOv5 segmentation dataloader as implemented here and it looks like a polygon annotation requires at least 4 points to be considered a segment vs a box. I also saw @glenn-jocher mention a minimum of 9 columns here.

How should a triangle (7 columns, class x1 y1 x2 y2 x3 y3) be represented? Should I pad it with a 4th point that's a duplicate of the first?

Additional

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions