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

Support rotated bounding boxes in automatic annotation #5325

Closed
2 tasks done
hyfung opened this issue Nov 19, 2022 · 2 comments
Closed
2 tasks done

Support rotated bounding boxes in automatic annotation #5325

hyfung opened this issue Nov 19, 2022 · 2 comments
Assignees
Labels

Comments

@hyfung
Copy link

hyfung commented Nov 19, 2022

My actions before raising this issue

We are using CVAT's automatic annotation tool Nuclio

We wrote a custom YoloV5 detector with our own model

YoloV5 supports rotated rectangle detection in the following format [x, y, w, h, theta] where theta is the rotation angle

CVAT automatic annotation also supports attributes returned from Nuclio functions, as seen in this issue 5306

After inspecting the source code, rotation is considered as attributes by CVAT too but adding this to the response payload did not help 'attributes': {'name': 'rotation', 'input_type': 'number', 'value': angle} where angle is a number, returned by the YoloV5 detector

Directly returning 'points': [x, y, w, h, theta] yields the error "Got 2.5 points"

Current Behaviour

Rotation returned from Lambda function is not used by CVAT

Possible Solution

Allow CVAT to also accept a rotation parameter from the Lambda function and make use of it in the handler, adding rotation in the attributes field of an annotation

@yasakova-anastasia yasakova-anastasia added the enhancement New feature or request label Dec 1, 2022
@nmanovic nmanovic changed the title Add rotation support to Automatic Detector Supported rotated bounding boxes in automatic annotation Jan 3, 2023
@nmanovic nmanovic added models and removed enhancement New feature or request labels Jan 3, 2023
@nmanovic nmanovic changed the title Supported rotated bounding boxes in automatic annotation Support rotated bounding boxes in automatic annotation Jan 3, 2023
@heurainbow
Copy link

any progress here?

@bsekachev
Copy link
Member

Implemented in #6961

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

No branches or pull requests

6 participants