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

Exporting rotated bboxes loses angle #4250

Closed
dreambit opened this issue Jan 26, 2022 · 7 comments
Closed

Exporting rotated bboxes loses angle #4250

dreambit opened this issue Jan 26, 2022 · 7 comments
Labels
duplicate This issue or pull request already exists

Comments

@dreambit
Copy link

When exporting rotated bbox to yolo format, angle is not included

@zhiltsov-max
Copy link
Contributor

Hi, thanks for reporting. Could you please explain in more detail, which output is expected?

@bsekachev
Copy link
Member

As far as I remeber, angle is exported only in CVAT format. In other rotated rectangles are transformed to polygons.

@dreambit
Copy link
Author

@zhiltsov-max Hi, for yolo, I think, expected is angle as the last parameter, like class, x, y, w, h, angle

@dreambit
Copy link
Author

As far as I remeber, angle is exported only in CVAT format. In other rotated rectangles are transformed to polygons.

for coco - angle is included in exported json

@zhiltsov-max
Copy link
Contributor

Is is a conventional format which is supported by any frameworks?

@dreambit
Copy link
Author

it is not yet supported, but we are planning to add angle to yolo detector, angle will be represented as -1 .. 1, (like -180..180)

@bsekachev bsekachev added the duplicate This issue or pull request already exists label Sep 6, 2022
@bsekachev
Copy link
Member

Probably the same issue #4745

I will close as a duplicate. Please, follow to above issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants