Hello Alexey,

Thank you for response,

I have binary masks that i can convert to :

polygons with coordinates in 2D image coordinates, on segmentation format:

[

[x1, y1, x2, y2, x3, y3, ...],

[x1, y1, x2, y2, x3, y3, ...],

...

]

or point format:

[

[[x1, y1], [x2, y2], [x3, y3], ...],

[[x1, y1], [x2, y2], [x3, y3], ...],

...

]