Closed grin closed 4 years ago
Thanks for writing the issue.
Currently each point is saved as a polygon which includes a point. You mean that you need to save a group of points as "keypoints".
Look at this COCO document. http://cocodataset.org/#format-data
For "Object Detection", "keypoints" is not included. For "Keypoint Detection", "keypoints" is included. So that RectLabel needs to update for the "Keypoint Detection".
Could you show us the detailed use-case of the "Keypoint Detection"? Please show us the screenshot of the image and points you labeled.
Sure, I'll send some examples to support@rectlabel.com (tomorrow) as I would prefer to avoid posting them here publicly.
...and yes, keypoint detection is my use case.
The new update version 3.01.5 was released. To show the new update on Mac App Store, press command + R to reload.
Added "Draw keypoints with a skeleton" on Edit menu.
Create keypoints https://rectlabel.com/help#create_keypoints
Export XML files to COCO JSON file https://rectlabel.com/help#xml_to_coco
Currently If you need our support to fix this problem, please let us know.
I created some keypoint annotations which I want to export to the COCO json format. But it seems the export format for keypoints is incorrect. Currently the export I'm getting for my keypoints looks like this:
where each keypoint is represented as a bbox/segmentation, while it should be in this format:
with
keypoints
as an array of integers: [x1, x2, v1, x2, y2, v2, ...] (v
indicates visibility— v=0: not labeled (in which case x=y=0), v=1: labeled but not visible, and v=2: labeled and visible )