wkentaro / labelme

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

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

Closed wkentaro closed 2 months ago

wkentaro commented 2 months 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 2 months ago

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