Very large images now open with your confirmationv7.5.0
GUIDE4 min read

Keyboard shortcuts for both hands

Want a paper or PDF copy? or press Ctrl+P.

Watch an annotation session and the cursor tells only half the story. The other hand is making the decisions.

One hand points at the image. The other rests near A and D, ready to move between files, start a shape, fix a label, or hide every shape to see the image underneath. Once those movements become familiar, you spend less time looking for controls and more time looking at the image.

You do not need to memorize a wall of shortcuts. Start with one loop.

Learn one review loop

  1. Press Ctrl+U to open an image directory, then Ctrl+F to fit the first image to the window.
  2. Inspect the image. Press T when you need to hide every shape and check the pixels underneath.
  3. Fix what is wrong. Ctrl+J puts you in edit mode. Select a shape, then Ctrl+E edits its label, the arrow keys move it five pixels, and Delete removes it.
  4. Press D for the next image. Press A if you need to go back.

On macOS, read Ctrl as Cmd. The full key mapping is in the reference below.

Auto-save is on by default, so each edit is written before you move on. Your right hand can stay on the mouse while your left handles the repeated decisions.

This is the part worth practicing. Everything else can wait until a specific action sends you looking for it.

Two shortcuts worth a closer look

Copy once or keep copying

D opens the next image. Ctrl+Shift+D opens it and carries the current annotations with you. The same distinction applies in reverse with A and Ctrl+Shift+A.

That modified shortcut is useful when two neighboring frames are similar. For a whole run of related images, Ctrl+P turns on Keep Previous Annotation until you turn it off again.

Undo knows which mode you are in

While drawing, Ctrl+Z removes the last point you placed. In edit mode, it undoes the last shape addition or edit. A bad polygon vertex costs one keystroke, not the whole shape.

Choose what deserves a binding

Polygon and rectangle creation have defaults: Ctrl+N and Ctrl+R. Oriented rectangle, circle, line, point, and linestrip creation are unbound until you assign them.

Change any of them under shortcuts in the default configuration. Enter, Esc, the arrow keys, the Settings shortcut, and the mouse combinations are fixed.

Learn the defaults your own work uses. A polygon annotator needs Ctrl+N; a bounding-box review pass may never press it. The useful set is the one your hands stop searching for.

The starter guide covers the full annotation flow.

Printable quick reference

Every default binding, plus the fixed app and canvas controls.

Reading these keys on macOS

This guide shows On macOS press
Ctrl Cmd
Alt Option
Delete Fn+Delete
Backspace the key labeled Delete

So Ctrl+Delete is Cmd+Fn+Delete. Two bindings do not follow the mapping and are written out in full below: the Settings shortcut, and Meta+H for removing a point.

Files and navigation

Action Shortcut
Previous image A
Previous image and copy current annotations Ctrl+Shift+A
Next image D
Next image and copy current annotations Ctrl+Shift+D
Open file Ctrl+O
Open directory Ctrl+U
Save Ctrl+S
Save as Ctrl+Shift+S
Delete current annotation file Ctrl+Delete
Close current file Ctrl+W
Open Settings Cmd+, on macOS
Open Settings Ctrl+Shift+, on Windows/Linux
Quit Ctrl+Q

Ctrl+Delete removes the annotation file after confirmation. It does not delete the image.

Drawing

Action Shortcut
Draw polygon Ctrl+N
Draw rectangle Ctrl+R
Finish a closeable shape Enter or Space
Undo the last point Ctrl+Z
Cancel the shape in progress Esc
Disable snap to the polygon's first point hold Alt
Draw a square instead of a rectangle hold Shift
Finish a linestrip or AI-Points prompt Ctrl+click
Add an excluding AI-Points prompt Shift+click

Oriented rectangle, circle, line, point, and linestrip creation have configurable entries but no default key binding. AI-Points and AI-Box do not have configurable shortcut entries.

Editing

Action Shortcut
Enter edit mode Ctrl+J
Edit selected label Ctrl+E
Delete selected shapes Delete
Duplicate selected shapes Ctrl+D
Copy selected shapes Ctrl+C
Paste copied shapes Ctrl+V
Select all shapes (in edit mode) Ctrl+A
Move selected shapes by five pixels arrow keys
Remove selected point Backspace or Meta+H (Ctrl+H on macOS)
Undo the last shape addition/edit Ctrl+Z
Toggle Keep Previous Annotation Ctrl+P
Add a point to a polygon edge Alt+click the edge
Remove a polygon point Alt+Shift+click point
Add a shape to the selection Ctrl+click the shape

View

Action Shortcut
Zoom in Ctrl++ or Ctrl+=
Zoom out Ctrl+-
Zoom with the pointer Ctrl + mouse wheel
Show original size Ctrl+0
Fit image to window Ctrl+F
Fit image to width Ctrl+Shift+F
Scroll horizontally Shift + mouse wheel
Toggle all shapes T

Labelme はローカル AI 対応のオフラインファーストなアノテーションツールです。

Labelme を無料で試す