CSAILVision / LabelMeAnnotationTool

Source code for the LabelMe annotation tool.
MIT License
1.38k stars 436 forks source link

hotkey to close polygon #66

Closed dobkeratops closed 5 years ago

dobkeratops commented 6 years ago

If you are currently drawing a polygon, make a key (possibly "Enter") automatically close the polygon (without having to manually click back on the first point) and bring up the label entry dialogue. e.g. drawing a quad could be 4 aimed clicks, then press 'enter', instead of 5 aimed clicks.

also make 'esc' a hotkey to cancel the whole thing, and 'del' a hotkey to remove the last point.

xavierpuigf commented 5 years ago

Currently, 'del' is a hot key for removing the last point. You can automatically close the polygon by doing a right click with the mouse.