lzx1413 / LabelImgTool

LabelImgTool is a graphical image annotation tool which supports CLS,DET and SEG(semantic&instance )

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

segmentation mode revert one step

WillSuen opened this issue · comments

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.

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