CSAILVision / LabelMeAnnotationTool

Source code for the LabelMe annotation tool.
MIT License
1.38k stars 434 forks source link

Bug with the polygon annotation generated - Online Tool #97

Open AdanMora opened 5 years ago

AdanMora commented 5 years ago

Hello,

I'm working with the online tool in order to label instances in images and obtain the mask of each object from the annotation generated for each polygon made in the image.

The problem is that the points generated have out of bounds values, for example, if I have an image which size is (1024, 512), if I draw a polygon in a edge (x = 0, or x = 1024), the XML generated has values like 1025.

At the beginning I notice that each point generated starts at 1, not in 0, because where is values like x = 1024 or y = 512, but a x = 1025 is rare.

You guys are doing an excellent job, best regards, Adán Mora