Closed WilliamKyle closed 1 year ago
here is the raw output of rectangle from https://github.com/opencv/cvat/blob/develop/serverless/onnx/WongKinYiu/yolov7/nuclio/model_handler.py
results.append({ "confidence": str(score), "label": self.labels.get(label, "unknown"), "points": [xtl, ytl, xbr, ybr], "type": "rectangle", })
I try to add rotation and it's not work
rotation
results.append({ "confidence": str(score), "label": self.labels.get(label, "unknown"), "points": [xtl, ytl, xbr, ybr], "type": "rectangle", "rotation": "30", })
I try to add rotation in attributes and it's also not work
attributes
results.append({ "confidence": str(score), "label": self.labels.get(label, "unknown"), "points": [xtl, ytl, xbr, ybr], "type": "rectangle", "attributes": [ {"name": "rotation", "value": "30"}, ], })
how can I get a rotated rectangle ?
Hi, you will probably need to modify the server code to enable support for this. Please check the module source code here.
here is the raw output of rectangle from https://github.com/opencv/cvat/blob/develop/serverless/onnx/WongKinYiu/yolov7/nuclio/model_handler.py
I try to add
rotation
and it's not workI try to add
rotation
inattributes
and it's also not workhow can I get a rotated rectangle ?