Open Skwarson96 opened 1 year ago
@Skwarson96 Thanks a lot for the PR! I'll try review it asap!
What are possible use cases for this feature?
@trsvchn thanks for answer! Feature can be use to show rotated frames saved in coco files. I prepared a simple example (frame categories are random, it's just to visualize the rotation) Here I zipped two json files in coco one with rotated annotations and second with normal bboxes, I have also attached an image data.zip
HI! I added the functionality of drawing rotated frames to test it you need to add appropriate keys to the annotated json file.
"attributes": { "occluded": false, "rotation": 60 }
Example:
{ "id": 1, "image_id": 1, "category_id": 1, "segmentation": [], "area": 1721.5952, "bbox": [ 282.86, 459.49, 89.48, 19.24 ], "iscrowd": 0, "attributes": { "occluded": false, "rotation": 318.30000076003773 }
I added requirements.txt file too, I don't know if it will come in handy