What is Labelme?
Labelme is a graphical image annotation tool written in Python on top of Qt, inspired by MIT's original LabelMe project. It sits in the Labeling & Annotation category of the Data & Labeling tools and is open-source, written in Python and licensed GPL-3.0. To get started: install with pip.
Overview
Labelme is a graphical image annotation tool written in Python on top of Qt, inspired by MIT's original LabelMe project. It runs as a desktop application rather than a hosted service, which makes it a common choice when images cannot leave a machine or when a team wants annotation without standing up a server.
It covers the usual annotation primitives — polygon, rectangle, circle, line and point — plus image-level flag annotation for classification and dataset cleaning, and video annotation. Finished projects export straight to the two formats downstream training code expects: VOC-format datasets for semantic and instance segmentation, and COCO-format datasets for instance segmentation.
Newer versions add model-assisted labeling: point-to-polygon and point-to-mask annotation driven by SAM and EfficientSAM, and text-to-annotation using YOLO-World and SAM3, so a rough prompt or a single click becomes a precise boundary. The interface is localised into 20 languages. Version 7.x targets Python 3.12–3.14 on Qt6 via PySide6; the 6.3.x line remains as a maintenance branch for Qt5 and Python 3.10/3.11, receiving critical fixes only. Note that from v7 Labelme is explicitly an application, not a library — its internal modules were privatized and it exposes no stable Python API.
What it does
- Annotation primitives for polygon, rectangle, circle, line and point, plus image flags for classification and cleaning
- Video annotation alongside single-image workflows
- AI-assisted point-to-polygon and point-to-mask labeling powered by SAM and EfficientSAM models
- AI text-to-annotation via YOLO-World and SAM3 — describe the object and get a boundary
- Export to VOC-format datasets for semantic and instance segmentation, and COCO-format for instance segmentation
- GUI customization (predefined labels and flags, auto-saving, label validation) and a UI localised into 20 languages
Getting started
Labelme installs from PyPI, is packaged by several Linux distributions, and is also sold as a standalone executable for users who would rather not install Python and Qt. v7.x requires Python 3.12–3.14 and 64-bit macOS, Windows or Linux.
Install with pip
The published wheel pulls in PySide6 for the Qt6 GUI.
pip install labelme
# To install the latest version from GitHub:
# pip install git+https://github.com/wkentaro/labelme.gitLaunch the annotator
Run the command to open the GUI, then open an image directory and start drawing shapes.
labelmeSwitch the interface language
Labelme is available in 20 languages; set the locale via the LANG environment variable when launching.
LANG=ja_JP.UTF-8 labelmeExport a training dataset
The repository's examples directory contains end-to-end walkthroughs for each export target — semantic segmentation, instance segmentation, bbox detection and classification — including the conversion scripts that turn saved annotations into VOC or COCO datasets.
Commands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Label an image dataset for segmentation or detection entirely offline, when the data cannot be uploaded to a hosted labeling platform
- Speed up mask annotation by clicking a point and letting SAM or EfficientSAM trace the boundary
- Produce VOC- or COCO-format datasets that drop straight into an existing training pipeline
- Clean and triage an image collection using image-level flags before committing to detailed annotation
How Labelme compares
Labelme alongside other open-source labeling & annotation tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Label Studio | ★ 28.8k | A flexible open-source labeling platform for images, text, audio, video, and time series with AI-assisted labeling. |
| CVAT | ★ 17.2k | A computer-vision annotation tool for labeling images and video with bounding boxes, segmentation, and tracking. |
| Labelme | ★ 16.3k | Desktop image annotation in Python, with AI-assisted polygons and masks |
| FiftyOne | ★ 11.4k | An open-source Python tool and app for visual AI: explore image, video and 3D datasets, annotate labels natively, browse embeddings, and find the samples where a model fails. |
| X-AnyLabeling | ★ 11.1k | A cross-platform desktop app for AI-assisted annotation of images, video, text, point clouds and multimodal data, with multi-format export. |
| doccano | ★ 10.8k | An open-source text annotation tool for classification, sequence labeling, and sequence-to-sequence tasks. |
| Snorkel AI | ★ 6k | Programmatic data development and expert data platform (Snorkel Flow) for labeling, synthetic data, and evaluation/RLHF datasets for frontier and enterprise AI models. |
| Argilla | ★ 5.2k | An open-source platform for annotating, reviewing, and curating datasets to train and fine-tune language models. |
