Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rotate模型如何直接返回旋转框中心点、长宽、角度 #8232

Open
1 task done
panp4n opened this issue May 11, 2023 · 1 comment
Open
1 task done

rotate模型如何直接返回旋转框中心点、长宽、角度 #8232

panp4n opened this issue May 11, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@panp4n
Copy link

panp4n commented May 11, 2023

问题确认 Search before asking

  • 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.

请提出你的问题 Please ask your question

rotate模型如何直接返回旋转框中心点、长宽、角度?

@panp4n panp4n added the question Further information is requested label May 11, 2023
@panp4n
Copy link
Author

panp4n commented May 11, 2023

使用rbox_type为le135,标注信息的起始点都是目标左上角。

因为现在ppdet中PPYOLOER S2Anet FCOSR输出的结果都是opencv接口计算的四个顶点,输出的第一个点都是X轴逆时针旋转先碰到的第一个点。这种情况无法确定目标的具体方向。

我看代码中读取数据是通过两种方式(OC、le135)将标注的四个顶点计算出旋转框的中心点、长宽和旋转角度。那输出端应该也可以输出原始的中心点、长宽和旋转角度。请问配置当中有这个参数可以控制吗,还是说要修改代码。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants