
🌟 AnyLabeling 🌟
Effortless data labeling with AI support from YOLO and Segment Anything!
AnyLabeling = LabelImg + Labelme + Improved UI + Auto-labeling

- Youtube Demo: https://youtu.be/5qVJiYNX5Kk (opens in a new tab)
- Documentation: https://anylabeling.nrl.ai (opens in a new tab)
- Current release: v0.4.43 (opens in a new tab)
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.
- Hardware acceleration with CUDA, CoreML, DirectML, OpenVINO, and vendor NPU providers.
- Multiple languages available: English, Vietnamese, Chinese.
Latest release
AnyLabeling v0.4.43 provides SHA-256 digests and native-runner launch checks for CPU and accelerated binaries on Linux, Windows, and Apple Silicon macOS. It fixes recovery after model download/load failures, invalid SAM preload images, grouped-shape persistence and undo, and reliable label-file closure.
See Recent Releases for details and Hardware Acceleration for device setup.
I. Install and run
1. Download and run executable
- Download and run newest version from Releases (opens in a new tab).
- For MacOS:
- After installing, go to Applications folder
- Right click on the app and select Open
- From the second time, you can open the app normally using Launchpad
2. Install from Pypi
-
Requirements: Python 3.11+. Recommended: Python 3.12.
-
Recommended: Miniconda/Anaconda (opens in a new tab).
-
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- Start labeling:
anylabelingFor NVIDIA CUDA on Linux or Windows, use a fresh environment and install anylabeling-gpu. Apple Silicon users can install anylabeling[macos] for CoreML support. See How to Install? for complete instructions.
II. Development
- Generate resources:
pyrcc5 -o anylabeling/resources/resources.py anylabeling/resources/resources.qrc- Run app:
python anylabeling/app.pyIII. Build executable
- Install PyInstaller:
pip install -r requirements-dev.txt- Build:
bash build_executable.sh- Check the outputs in:
dist/.
IV. Contribution
If you want to contribute to AnyLabeling, please read Contribution Guidelines (opens in a new tab).
V. Star history
VI. References
- Labeling UI built with ideas and components from LabelImg (opens in a new tab), LabelMe (opens in a new tab).
- Auto-labeling with Segment Anything Models (opens in a new tab).
- Auto-labeling with YOLOv5 (opens in a new tab), YOLOv8 (opens in a new tab).