Closed bpmsilva closed 4 years ago
You can manipulate the data into the correct format to pass it in to: https://github.com/omarestrella/simplify.py/blob/master/simplify.py
I noticed that the COCO annotator uses simplify
with a default tolerance of 1, right? After I import the data, there are many points. However, when I click save, the polygons are smoothed. I think the default value of 1 is reasonable for my application, so I won't need to change anything. Thanks
I'm generating coco jsons from binary masks and correcting them with the COCO annotator tool. However, sometimes, too many control points are generated, which increases the size of the jsons, complicates the correction and results in unnatural masks. I was wondering if it is possible to smooth the generated polygons reducing the number of generated control points
Thanks in advance