Skip to main content

Effortless data labeling with AI support

Project description

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

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

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.10+. 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 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 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anylabeling-0.4.36.tar.gz (633.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anylabeling-0.4.36-py3-none-any.whl (686.3 kB view details)

Uploaded Python 3

File details

Details for the file anylabeling-0.4.36.tar.gz.

File metadata

  • Download URL: anylabeling-0.4.36.tar.gz
  • Upload date:
  • Size: 633.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for anylabeling-0.4.36.tar.gz
Algorithm Hash digest
SHA256 b892ff7daf6d6432210421adb0979bae1e1c2041852d0646d4d1f4db5229904c
MD5 2d3eb396ef310bb0e915bb0685108989
BLAKE2b-256 a4da3272a86a85ee8e5764eae6af8aedf01d56f9ead80077401c9f6864443148

See more details on using hashes here.

Provenance

The following attestation bundles were made for anylabeling-0.4.36.tar.gz:

Publisher: python-publish-cpu.yml on vietanhdev/anylabeling

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anylabeling-0.4.36-py3-none-any.whl.

File metadata

  • Download URL: anylabeling-0.4.36-py3-none-any.whl
  • Upload date:
  • Size: 686.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for anylabeling-0.4.36-py3-none-any.whl
Algorithm Hash digest
SHA256 b8faec12581b6b41ad107a718915b2c49a960d8ea96ff965c8332cf897c53d06
MD5 4e1f59b600b615e72a51d1f4ec22f86a
BLAKE2b-256 390b67051ec1f0ed286d6741020a154dd20964a3bce175c9b8476291da66b8bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for anylabeling-0.4.36-py3-none-any.whl:

Publisher: python-publish-cpu.yml on vietanhdev/anylabeling

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page