vietanhdev/anylabeling
Ghi nhãn dữ liệu được AI hỗ trợ dễ dàng với sự hỗ trợ của AI từ YOLO, Segment Anything (SAM+SAM2/2.1+SAM3), MobileSAM!!
README
🌟 Ghi nhãn bất kỳ 🌟
Ghi nhãn dữ liệu dễ dàng với sự hỗ trợ AI từ YOLO và Segment Anything!
AnyLabeling = LabelImg + Labelme + Giao diện người dùng được cải tiến + Tự động gắn nhãn

Tự động dán nhãn với phân đoạn bất cứ điều gì
- Bản trình diễn Youtube: https://www.youtube.com/watch?v=5qVJiYNX5Kk
- Tài liệu: https://anylabeling.nrl.ai
- Download: https://anylabeling.nrl.ai/download
Tính năng
- Chú thích hình ảnh cho đa giác, hình chữ nhật, hình tròn, đường thẳng và điểm.
- Tự động ghi nhãn với YOLOv8 (phát hiện đối tượng).
- Tự động ghi nhãn với Phân đoạn mọi thứ gia đình:
- SAM (ViT-B / ViT-L / ViT-H) và SAM di động
- SAM 2 và SAM 2.1 (Hiera-Tiny / Nhỏ / Base+ / Lớn)
- SAM 3 (ViT-H) — phân đoạn từ vựng mở với lời nhắc văn bản
- Phát hiện, nhận dạng văn bản và ghi nhãn KIE (Trích xuất thông tin chính).
- Hardware acceleration with CUDA, CoreML, DirectML, OpenVINO, and vendor NPU providers.
- Multiple languages available: English, Vietnamese, Chinese.
Các mẫu được hỗ trợ
| người mẫu | Các loại lời nhắc | Ghi chú |
|---|---|---|
| SAM ViT-B / ViT-L / ViT-H | Điểm, Hình chữ nhật | Phân đoạn gốc Bất cứ điều gì |
| SAM di động | Điểm, Hình chữ nhật | SAM nhẹ |
| SAM 2 Hiera-Tiny / Nhỏ / Đế+ / Lớn | Điểm, Hình chữ nhật | Meta SAM 2 |
| SAM 2.1 Hiera-Tiny / Nhỏ / Đế+ / Lớn | Điểm, Hình chữ nhật | SAM 2 được cải tiến |
| SAM 3 ViT-H | văn bản, Điểm, Hình chữ nhật | Từ vựng mở; phát hiện ổ đĩa văn bản |
| YOLOv8n/s/m/l/x | — | Phát hiện đối tượng và tự động gắn nhãn |
Required model weights are downloaded automatically on first use.
Latest Release
AnyLabeling v0.4.43 is the current stable release. It fixes recovery after model download/load failures, skips invalid images during SAM preload, persists grouped shapes with undo support, and closes label files reliably after saving and loading.
The release workflow tests Python 3.11–3.13 on Linux, Windows, and macOS, then builds and launch-smoke-tests all six CPU and accelerated artifacts on their native runners.
Sử dụng Download page for direct platform links, or see all GitHub releases.
Cài đặt và chạy
1. Tải xuống và chạy tệp thực thi
- Download the latest build from the Download page hoặc GitHub Bản phát hành.
| Nền tảng | 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 hướng dẫn chế độ thư mục macOS.
2. Install from PyPI
Yêu cầu: Python 3.11+. Khuyến nghị: Python 3.12.
Khuyến nghị: Conda nhỏ/Anaconda.
Tạo môi trường:
conda create -n anylabeling python=3.12
conda activate anylabeling
- (Chỉ dành cho macOS) Cài đặt PyQt6 bằng Conda:
conda install -c conda-forge pyqt=6
- Cài đặt bất kỳ nhãn nào:
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, VITISAIvà WEBGPU. NPU aliases include NPU,
INTEL_NPU, QUALCOMM_NPU, AMD_NPUvà 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 với ANYLABELING_DEVICE=INTEL_NPU; Qualcomm Snapdragon Windows ARM64 systems use onnxruntime-qnn với
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.
Xem Hardware Acceleration guide for isolated DirectML, OpenVINO, CUDA, CoreML, and NPU environment setup.
- Bắt đầu ghi nhãn:
anylabeling
Tài liệu
Trang web: https://anylabeling.nrl.ai/
Ứng dụng
| Phát hiện đối tượng | Sự công nhận | Phát hiện mốc trên khuôn mặt | Ước tính tư thế 2D |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
| Phát hiện làn đường 2D | OCR | Hình ảnh y tế | Phân đoạn phiên bản |
![]() |
![]() |
![]() |
![]() |
| Gắn thẻ hình ảnh | Xoay | Và hơn thế nữa! | |
![]() |
![]() |
Ứng dụng của bạn ở đây! |
Phát triển
- 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
- Chạy ứng dụng:
python anylabeling/app.py
Xây dựng thực thi
- Cài đặt PyInstaller:
python -m pip install -e ".[dev]"
python -m pip install pyinstaller
- Xây dựng:
bash scripts/build_executable.sh
- Kiểm tra đầu ra trong:
dist/.
Đóng góp
Nếu bạn muốn đóng góp cho Ghi nhãn bất kỳ, xin vui lòng đọc Nguyên tắc đóng góp.
Lịch sử sao
Tài liệu tham khảo
- Giao diện người dùng ghi nhãn được xây dựng dựa trên ý tưởng và thành phần từ NhãnImg, NhãnTôi.
- Tự động ghi nhãn với Phân đoạn mọi thứ (SAM, SAM 2, SAM 2.1, SAM 3), SAM di động.
- Tự động ghi nhãn với YOLOv8.
- Các biểu tượng từ FlatIcon: DinosoftLabs, Freepik, biểu tượng vector, ẨnMaru.
Dự án cùng danh mục
Danh sách tổng hợp các API miễn phí
(CGCSTCD'2017) An easy, flexible, and accurate plate recognition project for Chinese licenses in unconstrained situations. CGCSTCD = China Graduate Contest on Smart-city Technology and Creative Design
TorchGeo: bộ dữ liệu, bộ lấy mẫu, biến đổi và mô hình được đào tạo trước cho dữ liệu không gian địa lý
Tạo dữ liệu tổng hợp cho dữ liệu dạng bảng
giấy phép:mit, size_categories:100K<n<1M, định dạng:JSON, phương thức:văn bản
Comprehensive and timely academic information on federated learning (papers, frameworks, datasets, tutorials, workshops)










