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

Coordinate backward conversion #51

Open
xinli94 opened this issue Mar 14, 2019 · 1 comment
Open

Coordinate backward conversion #51

xinli94 opened this issue Mar 14, 2019 · 1 comment

Comments

@xinli94
Copy link

xinli94 commented Mar 14, 2019

Hi,

I am wondering if this part will introduces some bugs https://github.com/DetectionTeamUCAS/R2CNN_Faster-RCNN_Tensorflow/blob/854fe56697132ef82b13e9570f077fcd9e6c6e78/libs/box_utils/coordinate_convert.py#L43

Because cv2 minRectArea gives us angles ranging from -90 to 0 degrees, which means some box will be rotated 90 degrees if we use this back_forward_convert func. Is this expected?

Any suggestion on fixing this?

Best,
Xin

@xinli94
Copy link
Author

xinli94 commented Mar 14, 2019

There is a workaround if we want the angle between the longer side and vertical - but is it possible to get the groundtruth angle without any assumption?

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

No branches or pull requests

1 participant