segmentation mode revert one step
WillSuen opened this issue · comments
Wei Sun commented
For segmentation mode creating polygon, if I made a mistake and want to revert one step, is there a possible way? I don't want to discard all polygon steps and start over. Thanks.
lzx1413 commented
All of the points are appended to a list, you can delete every single point as you wish. The reference code is at https://github.com/lzx1413/LabelImgTool/blob/master/libs/shape.py and https://github.com/lzx1413/LabelImgTool/blob/master/libs/canvas.py