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

Difference between the conversion math and the output data #6

Open
yunxdai opened this issue May 21, 2021 · 1 comment
Open

Difference between the conversion math and the output data #6

yunxdai opened this issue May 21, 2021 · 1 comment

Comments

@yunxdai
Copy link

yunxdai commented May 21, 2021

Hello, I found the math of the conversion described in the README is conflicted with the example result you provided above. In the example, the first coordinate in the output is 0.8265625, but following the math, it should be (x + bbox_width / 2) / img_width) = (529 + 89 / 2) / 640 = 0.89609375. Actually, I found 0.8265625 is equal to x / img_width. When I go through the code, the implementation of the conversion equation seems to be right. Moreover, the label files provided in your FLIR_Object_Detection repo also did't follow the conversion equation shown in the README. Therefore, I am writing to find out how the current results, as well as those labels in another repo, are generated, and which one should I use, the existing labels or the conversion equations?

@daddydrac
Copy link
Owner

daddydrac commented May 21, 2021 via email

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

2 participants