open-mmlab / mmrotate

OpenMMLab Rotated Object Detection Toolbox and Benchmark
https://mmrotate.readthedocs.io/en/latest/
Apache License 2.0
1.85k stars 548 forks source link

How to change the definition range of the rotating frame(如何更改旋转框的定义范围) #565

Open wahaha opened 1 year ago

wahaha commented 1 year ago

Is it possible to change the definition range of the rotation box to support 360 degrees? If yes, in which file can I change it?(可以将旋转框的定义范围变为支持360度的嘛?如果可以,请问在哪个文件里面进行修改?)

mm-assistant[bot] commented 1 year ago

We recommend using English or English & Chinese for issues so that we could have broader discussion.

wahaha commented 1 year ago

Is it possible to change the definition range of the rotation box to support 360 degrees? If yes, in which file can I change it?

yangxue0827 commented 1 year ago

你好,有两个可行方案:

方案1:修改框的定义方式,以及IoU和相关转换函数,参考 image

方案2:在mmrotate现有基础上增加四分类head,预测哪一条边是heading,参考文章:On the Arbitrary-Oriented Object Detection: Classification based Approaches Revisited

zytx121 commented 1 year ago

We consider supporting it in mmrotate-1.x.

taiki1978 commented 1 year ago

Is 0 -360° rotation detection supported in mmrotate 1.X?