cvat-opencv icon indicating copy to clipboard operation
cvat-opencv copied to clipboard

Oriented bounding boxes broken with COCO format

Open domef opened this issue 2 years ago • 1 comments

My actions before raising this issue

  • [x] Read/searched the docs
  • [x] Searched past issues

When exporting bounding boxes with orientation in COCO format, the angle of rotation is stored in attributes.rotation for each annotation. This is ok since COCO doesn't officially support rotated bounding boxes. The problem is when I try to import the .json file I exported before: the bounding boxes are correctly imported but the angle is completely discarded and all the bounding boxes are axes aligned.

Expected Behaviour

The oriented bounding boxes should be correctly imported when using the COCO format.

Current Behaviour

The oriented bounding boxes are wrongly imported since the orientation is discarded.

Your Environment

I'm using Ubuntu 18.04 and I installed following the guide https://openvinotoolkit.github.io/cvat/docs/administration/basics/installation/#ubuntu-1804-x86_64amd64.

domef avatar Jul 12 '22 17:07 domef

Hi @domef

Thank you for the report, I can submit that that is a server bug.

bsekachev avatar Aug 29 '22 13:08 bsekachev