🌟 AnyLabeling 🌟
Effortless data labeling with AI support from YOLO and Segment Anything!
AnyLabeling = LabelImg + Labelme + Improved UI + Auto-labeling
Auto Labeling with Segment Anything
- Youtube Demo: https://www.youtube.com/watch?v=5qVJiYNX5Kk
- Documentation: https://anylabeling.nrl.ai
- Download: https://anylabeling.nrl.ai/download
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.
Supported Models
| Model | Prompt Types | Notes |
|---|---|---|
| SAM ViT-B / ViT-L / ViT-H | Point, Rectangle | Original Segment Anything |
| MobileSAM | Point, Rectangle | Lightweight SAM |
| SAM 2 Hiera-Tiny / Small / Base+ / Large | Point, Rectangle | Meta SAM 2 |
| SAM 2.1 Hiera-Tiny / Small / Base+ / Large | Point, Rectangle | Improved SAM 2 |
| SAM 3 ViT-H | Text, Point, Rectangle | Open-vocabulary; text drives detection |
| YOLOv8n / s / m / l / x | — | Object detection & auto-labeling |
Required model weights are downloaded automatically on first use.
Latest Release
AnyLabeling v0.4.42 is the current stable release. It includes cross-platform accelerator selection, packaged CUDA/CoreML support, stability fixes for the file dialog and canvas, 16-bit TIFF editing, SAM 3 frozen-build support, and corrected Linux/macOS packaging.
All six v0.4.42 CPU and accelerated artifacts were checksum-verified and launch-tested on Linux, Windows, and Apple Silicon macOS. Avoid the superseded v0.4.40 macOS and Linux artifacts.
Use the Download page for direct platform links, or see all GitHub releases.
Install and Run
1. Download and run executable
- Download the latest build from the Download page or GitHub Releases.
| Platform | CPU | Accelerated |
|---|---|---|
| Linux x64 | AnyLabeling-Linux-CPU-x64 |
AnyLabeling-Linux-GPU-x64 (NVIDIA CUDA) |
| Windows x64 | AnyLabeling-Windows-CPU-x64.exe |
AnyLabeling-Windows-GPU-x64.exe (NVIDIA CUDA) |
| Apple Silicon macOS | AnyLabeling-macOS-CPU.zip |
AnyLabeling-macOS-GPU.zip (CoreML) |
For macOS, preserve the archive's symlinks while extracting it. See the macOS folder mode instructions.
2. 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
For NVIDIA CUDA inference on Linux or Windows, use the GPU distribution in a fresh environment:
pip install anylabeling-gpu
Apple Silicon users can enable both ONNX Runtime CoreML and native CoreML SAM2 models with:
pip install "anylabeling[macos]"
export ANYLABELING_DEVICE=COREML
AnyLabeling automatically selects CUDA for Linux/Windows GPU builds and CoreML
for the macOS GPU build, with CPU fallback for unsupported model operations.
Advanced ONNX Runtime packages can be selected with ANYLABELING_DEVICE;
supported values include
CUDA, COREML, DIRECTML, ROCM, MIGRAPHX, OPENVINO, TENSORRT,
CANN, QNN, VITISAI, and WEBGPU. NPU aliases include NPU,
INTEL_NPU, QUALCOMM_NPU, AMD_NPU, and ASCEND_NPU. On Windows
PowerShell, set the override with $env:ANYLABELING_DEVICE = "DIRECTML".
The GPU distribution includes pip-managed CUDA 12 and cuDNN runtime libraries, so a compatible NVIDIA driver is sufficient; a system CUDA toolkit is not required.
NPU execution requires the matching vendor ONNX Runtime package in a fresh,
dedicated environment. For example, Intel Core Ultra systems use
onnxruntime-openvino with ANYLABELING_DEVICE=INTEL_NPU; Qualcomm Snapdragon
Windows ARM64 systems use onnxruntime-qnn with
ANYLABELING_DEVICE=QUALCOMM_NPU. Replace the default onnxruntime package,
because ONNX Runtime requires only one variant in an environment. Qualcomm HTP
models generally need QDQ quantization, and support still depends on the
operator coverage of the selected model.
See the Hardware Acceleration guide for isolated DirectML, OpenVINO, CUDA, CoreML, and NPU environment setup.
- Start labeling:
anylabeling
Documentation
Website: https://anylabeling.nrl.ai/
Applications
| Object Detection | Recognition | Facial Landmark Detection | 2D Pose Estimation |
|---|---|---|---|
| 2D Lane Detection | OCR | Medical Imaging | Instance Segmentation |
| Image Tagging | Rotation | And more! | |
| Your applications here! |
Development
- Install the project and development tools in a dedicated environment:
python -m pip install -e ".[dev]"
- Recompile translations and Qt resources when they change:
python scripts/compile_languages.py
- Run app:
python anylabeling/app.py
Build executable
- Install PyInstaller:
python -m pip install -e ".[dev]"
python -m pip install pyinstaller
- Build:
bash scripts/build_executable.sh
- Check the outputs in:
dist/.
Contribution
If you want to contribute to AnyLabeling, please read Contribution Guidelines.
Star history
References
- Labeling UI built with ideas and components from LabelImg, LabelMe.
- Auto-labeling with Segment Anything (SAM, SAM 2, SAM 2.1, SAM 3), MobileSAM.
- Auto-labeling with YOLOv8.
- Icons from FlatIcon: DinosoftLabs, Freepik, Vectoricons, HideMaru.
Release files for anylabeling 0.4.43
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| anylabeling-0.4.43.tar.gz | 649.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anylabeling-0.4.43-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / anylabeling-0.4.43.tar.gz
| Download URL | anylabeling-0.4.43.tar.gz |
|---|---|
| Size | 649.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a696fc9bb59a4193b122dfd7215cac2b0bb591fc20ff029a4c93644ce71b513
|
|
BLAKE2b-256 checksum How to use checksums |
8d4256d088d99cb0e1e4c0bc41505d14665c68a40b18f7ffa8049398eb95a2a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.
Transparency logRelease files / anylabeling-0.4.43-py3-none-any.whl
| Download URL | anylabeling-0.4.43-py3-none-any.whl |
|---|---|
| Size | 708.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
909bbf56d7d2de2e7a81a933f62538ccf368d55064f63f9d5307a18136ebcd9f
|
|
BLAKE2b-256 checksum How to use checksums |
d00a34726895f26c027b86b043891c6191441d1ce6ee7fc016db4dc0114cde6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.
Transparency log