wkentaro / labelme

Image Polygonal Annotation with Python (polygon, rectangle, circle, line, point and image-level flag annotation).
https://labelme.io
Other
13.52k stars 3.41k forks source link

Make point-manip reasonable: ALT+Click (add), ALT+SHIFT+Click (delete) #1496

Closed wkentaro closed 1 month ago

wkentaro commented 1 month ago

Close #1494

Why?

  1. Currently click creates a new point, which is inconvenient when you just want to select or move polygons.
  2. Ctrl+Click also conflicts with group-selection.
  3. So Alt+Click seems most reasonable.

NOTE: previously, SHIFT+Click was to "delete point", but for consistency, ALT+SHIFT+Click will be "delete point".

Example

Kokika commented 1 month ago

Great idea! I had a constant adding problem while wanting to delete small polygons.