labelme
labelme copied to clipboard
Mark lines for training but get areas
Provide environment information
Python 3.7.13 labelme 5.0.0
What OS are you using?
Ubuntu 20.04.4
Describe the Bug
I use labelme to label linestrip
and use labelme2coco.py to get the coco data set of linestrip.
But when I use this coco data for training, the predicted result is red region instead of linestrip.
Why is that?
Expected Behavior
No response
To Reproduce
No response
looks like labelme2coco.py
won't fully support shapeType=linestrip
.

Hi @wkentaro ,Thank you for your reply. Can you guide me how to modify the code?
Hi @wkentaro , I solved my problem. First, I turned json into a mask, and then I turned the mask into a coco using this project code (but there is a limitation, that is, labels cannot overlap). My level is limited, and I don't know the principle. But maybe this code can help you update your code functions.