labelme(1)

๐Ÿ’– labelme(1) ๐Ÿ’–

okay bestie, welcome to the labelme manual page โ€” it's a User Command, it lives in section 1, and it's literally the polygonal annotation tool written in Python ๐Ÿโœจ


๐ŸŒธ NAME ๐ŸŒธ

labelme โ€” Image Polygonal Annotation with Python ๐ŸŽ€


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

so here's the whole vibe, the way you actually call it:

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]

that's it, that's the summoning spell ๐Ÿ”ฎ no cap.


๐ŸŽ€ positional arguments:

  • filename โ€” an image filename or a label filename, your choice bestie ๐Ÿ–ผ๏ธ

โœจ optional arguments:

  • -h, --help โ€” shows this help message and then dips out. iconic behaviour honestly ๐Ÿ‘‘
  • --version, -V โ€” shows the version, short and sweet ๐Ÿ’…
  • --reset-config โ€” resets the qt config. fresh start energy ๐Ÿงผ
  • --logger-level {debug,info,warning,fatal,error} โ€” sets the logger level. pick your gossip tier ๐Ÿ“ข
  • --output OUTPUT, -O OUTPUT, -o OUTPUT โ€” output file or directory. and here's the lil rule: if it ends with .json it's recognized as a file, otherwise it's recognized as a directory ๐Ÿ—‚๏ธ
  • --config CONFIG_FILE โ€” config file (default: /root/.labelmerc) โš™๏ธ
  • --nodata โ€” stop storing image data to the JSON file. it's giving minimalism ๐Ÿƒ
  • --autosave โ€” auto save ๐Ÿซถ
  • --nosortlabels โ€” stop sorting labels. let them be free ๐Ÿฆ‹
  • --flags FLAGS โ€” a comma separated list of flags OR a file containing flags ๐Ÿšฉ
  • --labelflags LABEL_FLAGS โ€” a yaml string of label specific flags OR a file containing a json string of label specific flags. the example they gave is literally {person-\d+: [male, tall], dog-\d+: [black, brown, white], .*: [occluded]} โ€” regex labels, we love to see it ๐Ÿ˜Œ
  • --labels LABELS โ€” a comma separated list of labels OR a file containing labels ๐Ÿท๏ธ
  • --validatelabel {exact,instance} โ€” label validation types, exact or instance ๐Ÿ”
  • --keep-prev โ€” keep the annotation of the previous frame. muscle memory for your hands fr fr ๐Ÿ”
  • --epsilon EPSILON โ€” the epsilon used to find the nearest vertex on the canvas ๐Ÿ“

lowkey reminder bestie: --config defaults to /root/.labelmerc, and --output/-O/-o only treats your path as a file if it ends in .json โ€” everything else is a directory. no surprises, just facts ๐Ÿ’–

and that's the whole page!! this one's from labelme, dated June 2019, and the manual itself is just called labelme โ€” so yeah, short name, big energy, slay ๐Ÿ’…โœจ๐ŸŒธ๐Ÿซถ

๐Ÿ“ฆ where this page comes from