README.md

April 25, 2026 ยท View on GitHub

AnyLabeling

๐ŸŒŸ AnyLabeling ๐ŸŒŸ

Effortless data labeling with AI support from YOLO and Segment Anything!

AnyLabeling = LabelImg + Labelme + Improved UI + Auto-labeling

PyPI license open issues Pypi Downloads Documentation Follow

AnyLearning-Banner

ai-flow 62b3c222

AnyLabeling

Auto Labeling with Segment Anything

AnyLabeling-SegmentAnything

Features:

  • Image annotation for polygon, rectangle, circle, line and point.
  • Auto-labeling with YOLOv8 (object detection).
  • Auto-labeling with Segment Anything family:
    • SAM (ViT-B / ViT-L / ViT-H) and MobileSAM
    • SAM 2 and SAM 2.1 (Hiera-Tiny / Small / Base+ / Large)
    • SAM 3 (ViT-H) โ€” open-vocabulary segmentation with text prompts
  • Text detection, recognition and KIE (Key Information Extraction) labeling.
  • Multiple languages availables: English, Vietnamese, Chinese.

Supported Models

ModelPrompt TypesNotes
SAM ViT-B / ViT-L / ViT-HPoint, RectangleOriginal Segment Anything
MobileSAMPoint, RectangleLightweight SAM
SAM 2 Hiera-Tiny / Small / Base+ / LargePoint, RectangleMeta SAM 2
SAM 2.1 Hiera-Tiny / Small / Base+ / LargePoint, RectangleImproved SAM 2
SAM 3 ViT-HText, Point, RectangleOpen-vocabulary; text drives detection
YOLOv8n / s / m / l / xโ€”Object detection & auto-labeling

All models are downloaded automatically on first use from Hugging Face.

Install and Run

1. Download and run executable

Install from Pypi

  • Requirements: Python 3.11+. Recommended: Python 3.12.

  • Recommended: Miniconda/Anaconda.

  • Create environment:

conda create -n anylabeling python=3.12
conda activate anylabeling
  • (For macOS only) Install PyQt6 using Conda:
conda install -c conda-forge pyqt=6
  • Install anylabeling:
pip install anylabeling # or pip install anylabeling-gpu for GPU support
  • Start labeling:
anylabeling

Documentation

Website: https://anylabeling.nrl.ai/

Applications

Object DetectionRecognitionFacial Landmark Detection2D Pose Estimation
2D Lane DetectionOCRMedical ImagingInstance Segmentation
Image TaggingRotationAnd more!
Your applications here!

Development

  • Install packages:
pip install -r requirements-dev.txt
# or pip install -r requirements-macos-dev.txt for MacOS
  • Generate resources:
pyrcc5 -o anylabeling/resources/resources.py anylabeling/resources/resources.qrc
  • Run app:
python anylabeling/app.py

Build executable

  • Install PyInstaller:
pip install -r requirements-dev.txt
  • Build:
bash build_executable.sh
  • Check the outputs in: dist/.

Contribution

If you want to contribute to AnyLabeling, please read Contribution Guidelines.

Star history

Star History Chart

References