---
name: "labelme"
section: "1"
platform: "linux"
package: "labelme"
version: "5.1.1-1"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/labelme"
---

# labelme(1)

Image Polygonal Annotation with Python

## NAME

labelme - Image Polygonal Annotation with Python

## DESCRIPTION

usage: labelme \[-h\] \[--version\] \[--reset-config\]

-

  \[--logger-level {debug,info,warning,fatal,error}\] \[--output OUTPUT\] \[--config CONFIG\_FILE\] \[--nodata\] \[--autosave\] \[--nosortlabels\] \[--flags FLAGS\] \[--labelflags LABEL\_FLAGS\] \[--labels LABELS\] \[--validatelabel {exact,instance}\] \[--keep-prev\] \[--epsilon EPSILON\] \[filename\]

### positional arguments:

- filename

  image or label filename

### optional arguments:

- **-h**, **--help**

  show this help message and exit

- **--version**, **-V**

  show version

- **--reset-config**

  reset qt config

- **--logger-level** {debug,info,warning,fatal,error}

  logger level

- **--output** OUTPUT, **-O** OUTPUT, **-o** OUTPUT

  output file or directory (if it ends with .json it is recognized as file, else as directory)

- **--config** CONFIG\_FILE

  config file (default: /root/.labelmerc)

- **--nodata**

  stop storing image data to JSON file

- **--autosave**

  auto save

- **--nosortlabels**

  stop sorting labels

- **--flags** FLAGS

  comma separated list of flags OR file containing flags

- **--labelflags** LABEL\_FLAGS

  yaml string of label specific flags OR file containing json string of label specific flags (ex. {person-\\d+: \[male, tall\], dog-\\d+: \[black, brown, white\], .\*: \[occluded\]})

- **--labels** LABELS

  comma separated list of labels OR file containing labels

- **--validatelabel** {exact,instance}

  label validation types

- **--keep-prev**

  keep annotation of previous frame

- **--epsilon** EPSILON

  epsilon to find nearest vertex on canvas
