You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 angleCVAT automatic annotation also supports attributes returned from Nuclio functions, as seen in this issue 5306
After inspecting the source code,
rotation
is considered asattributes
by CVAT too but adding this to the response payload did not help'attributes': {'name': 'rotation', 'input_type': 'number', 'value': angle}
whereangle
is a number, returned by the YoloV5 detectorDirectly 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, addingrotation
in theattributes
field of an annotationThe text was updated successfully, but these errors were encountered: