labelme icon indicating copy to clipboard operation
labelme copied to clipboard

New Features: Toggling shape visibility on right click; Support constrained shape rotating

Open lyxok1 opened this issue 11 months ago • 0 comments

Feature 1: Support shape visibility toggling on right click menu

Motivation: allowing quickly show/hide annotation shapes on right click; instead of frequently moving to the View menu and toggling it.

  • a video example

https://github.com/wkentaro/labelme/assets/21007761/fabe6c33-35a8-46f3-aa42-64e83b280039

Feature 2: Support shape rotation

Motivation: allowing shape rotation aound its center point as original

  • Support rotating the selected shapes by pressing key R and then moving the mouse up and down

  • Render the rotation center of each shape during adjustment of rotation

  • Block the hovering or highlighting behavior when some shapes are being rotated

  • Constrain the rotation when the rotated shapes go out of the pixelmap

  • Get out the rotation mode and go back to normal edit mode by press key esc or key R again

  • a video example

https://github.com/wkentaro/labelme/assets/21007761/b144a489-34c5-482d-82a7-0c50a382de18

lyxok1 avatar Sep 02 '23 10:09 lyxok1