facebookresearch / detr

End-to-End Object Detection with Transformers
Apache License 2.0
13.09k stars 2.37k forks source link

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

Open yellowjs0304 opened 1 year ago

yellowjs0304 commented 1 year ago

❓ How to do something using DETR

Describe what you want to do, including:

  1. what inputs you will provide, if any: normal document image(+weird shaped, stretched image)

  2. what outputs you are expecting: Object detection with Polygon shape(x1, y1, x2, y2, x3, y3, x4, y4) Hi, I'm beginner of DETR. I knew the DETR return format is (x, y, w, h). Is there any way to get the polygon shaped bbox?