megvii-research / AnchorDETR

An official implementation of the Anchor DETR.
Other
338 stars 36 forks source link

Is there any way to get the coordinates(polygon shape returns)? #46

Closed yellowjs0304 closed 1 year ago

yellowjs0304 commented 1 year ago

Hi, First of all Thank you for sharing nice work. I'm beginner of DETR, and i saw your model is better than DETR.

I didn't check the detailed results yet, but i think this model also followed DETR's output like bounding box (x, y, w, h). Is there any way to get the polygon shaped bbox? (before : x, y, w, h -> after : x1, y1, x2, y2, x3, y3, x4, y4).

tangjiuqi097 commented 1 year ago

Sorry, we have not tried to predict the polygon shaped box.

yellowjs0304 commented 1 year ago

i got it. If so, do you have any idea which parts of the architecture must be modified to make quadrilateral shape bboxes?

tangjiuqi097 commented 1 year ago

Hi, you may refer to the CornerNet or the rotated object detection methods.

yellowjs0304 commented 1 year ago

Thanks for your help.