# X-AnyLabeling

> A cross-platform desktop app for AI-assisted annotation of images, video, text, point clouds and multimodal data

- Category: Data & Labeling / Labeling & Annotation
- Language: Python
- Licence: GPL-3.0
- Repository: https://github.com/CVHub520/X-AnyLabeling
- Website: https://xanylabeling.com
- Canonical page: https://ai-tldr.dev/tools/x-anylabeling/
- Updated: 2026-10-12

## In short

X-AnyLabeling describes itself as a lightweight, unified cross-platform desktop application for AI-assisted annotation of text, image, video, point cloud and multimodal data. 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: create an environment.

## Overview

X-AnyLabeling describes itself as a lightweight, unified cross-platform desktop application for AI-assisted annotation of text, image, video, point cloud and multimodal data. It runs on Windows, Linux and macOS, with the interface available in English, Simplified Chinese, Japanese and Korean, and it credits AnyLabeling, LabelMe, LabelImg, roLabelImg, PPOCRLabel and CVAT as the projects it builds on.

Its distinguishing feature is the built-in model library. Instead of drawing every shape by hand, you load a model from the app and let it pre-label: YOLO-family detectors and segmenters, the Segment Anything family (SAM 1/2/3, SAM-HQ, EdgeSAM, MobileSAM and others), grounding models such as Grounding DINO, YOLO-World and YOLOE, trackers like ByteTrack and SAM2/3-Video, PP-OCR and PaddleOCR-VL for documents, and vision-language models including Qwen3-VL, Gemini, ChatGPT and GLM. Inference runs locally through ONNX Runtime, TensorRT or OpenCV DNN, or remotely through vLLM, SGLang and the companion X-AnyLabeling-Server backend for custom models and compute.

The task coverage is broad: image classification, object detection, instance segmentation, pose estimation, oriented boxes, multi-object tracking, OCR and key information extraction, lane annotation, captioning, visual question answering, document parsing and, since v4.1.0 (October 2026), 3D point cloud detection and segmentation. Annotations import and export in formats such as COCO, VOC, YOLO, DOTA, MOT, MASK, PPOCR, MMGD, VLM-R1 and ShareGPT. The project is GPL-3.0 licensed and installs from PyPI as `x-anylabeling-cvhub`, from source, or as a prebuilt package from GitHub Releases.

## What it does

- One desktop app for text, image, video, 3D point cloud and multimodal annotation, from classification and detection to OCR, tracking, VQA and document parsing
- Shape tools for polygons, rectangles, cuboids, rotated boxes, quadrilaterals, circles, lines, polylines, points and masks, plus a Magic Wand that builds polygons from contiguous colour regions
- A built-in model library for auto-labeling and batch prediction, including YOLO variants, SAM 1/2/3, Grounding DINO, YOLOE, RT-DETR, RF-DETR, PP-OCR, Depth Anything and vision-language models such as Qwen3-VL
- Local inference via ONNX Runtime, TensorRT or OpenCV DNN, and remote inference via vLLM, SGLang or the X-AnyLabeling-Server backend
- Import and export in COCO, VOC, YOLO, DOTA, MOT, MASK, PPOCR, MMGD, VLM-R1 and ShareGPT, with an `xanylabeling convert` command for batch format conversion
- A 3D point cloud workspace with editable cuboids, top/side/front views, multi-camera projection, and semantic and instance segmentation

## Getting started

The quick-start guide recommends Python 3.11–3.13 (3.12 preferred) in a fresh environment. You can install the PyPI package, clone the repository (needed for advanced features such as SAM video tracking, the remote inference service and the Ultralytics training platform), or download a GUI installer from GitHub Releases.

1. Create an environment

   Any of conda, venv or uv works; this is the uv route for a CPU environment. Use a separate environment per CUDA version if you want GPU inference.

```bash
uv venv --python 3.12 .venv-cpu
source .venv-cpu/bin/activate   # Linux/macOS/WSL2
```

2. Install the package

   Pick exactly one extra: `cpu`, `gpu` (CUDA 12.x, the default GPU option), `gpu-cu11` or `gpu-cu13`. Uninstall any old `anylabeling` package first to avoid conflicts.

```bash
pip install -U uv
uv pip install "x-anylabeling-cvhub[cpu]"
# or, for CUDA 12.x:
# uv pip install "x-anylabeling-cvhub[gpu]"
```

3. Or install from source

   The guide recommends a Git clone, which unlocks the advanced features. Add the `dev` extra if you plan to modify or package the app.

```bash
git clone https://github.com/CVHub520/X-AnyLabeling.git
cd X-AnyLabeling
uv pip install -e ".[cpu]"
```

4. Check the install and launch

   `xanylabeling checks` prints system and version information; running `xanylabeling` on its own opens the GUI. Pass a file or folder to load it, and `--autosave` to save annotations automatically.

```bash
xanylabeling checks
xanylabeling
```

5. Convert between annotation formats

   The CLI lists every supported conversion task and shows help and examples for each one, for example turning X-AnyLabeling JSON into YOLO labels.

```bash
xanylabeling convert
xanylabeling convert xlabel2yolo
```

## When to use it

- Pre-label a detection or segmentation dataset with a YOLO or SAM model, then correct the predictions instead of drawing every box by hand
- Annotate LiDAR point clouds with 3D cuboids or per-point semantic and instance labels, checked against the calibrated camera image
- Build OCR, document-parsing or VQA training data with PP-OCR, PaddleOCR-VL or a vision-language model doing the first pass
- Label offline on a workstation and export straight to COCO, YOLO, DOTA or MOT for an existing training pipeline

## Version history

- 2026-10-12 v4.1.1: Adds Windows installers, Linux installation bundles and macOS DMG packages, plus signed in-app updates with verified downloads and rollback if the updated app fails to start.
- 2026-10-01 v4.1.0: Introduces a 3D point cloud annotation workspace with cuboid detection and semantic and instance segmentation, and feeds classification model predictions in as image flags.
