labelme
                                
                                 labelme copied to clipboard
                                
                                    labelme copied to clipboard
                            
                            
                            
                        I use roboflow and find its smart polygon quite well.so labelme can support function like this.it will be nice
Provide environment information
how roboflow develop smert polygon?
What OS are you using?
windows
Describe the Bug
how roboflow develop smert polygon?
Expected Behavior
No response
To Reproduce
No response
There are 2 steps to realize the smart polygon feature.
Dragging a box, apply an segmentation model and the segmentation mask is obtained. Using cv::findContours(), convert the mask to the polygon. Using cv::approxPolyDP(), reduce the points of the polygon. https://docs.opencv.org/4.x/d3/dc0/group__imgproc__shape.html
For the interactive segmentation, it looks that EISeg can do the same thing. https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.7/EISeg/README_EN.md
I have not used roboflow so I don't know how good it is. I don't think a semantic segmentation model is really desired here since we have a local region and a lot of domains to segment. I think simply thresholding the selected region would do the work.