Skip to main content

English | 简体中文

Product Introduction

LabelU is a comprehensive data annotation platform designed for handling multimodal data. It offers a range of advanced annotation tools and efficient workflows, making it easier for users to tackle annotation tasks involving images, videos, and audio. LabelU is tailored to meet the demands of complex data analysis and model training.

Key Features

Versatile Image Annotation Tools

LabelU provides a comprehensive set of tools for image annotation, including 2D bounding boxes, semantic segmentation, polylines, and keypoints. These tools can flexibly address a variety of image processing tasks, such as object detection, scene analysis, image recognition, and machine translation, helping users efficiently identify, annotate, and analyze images.

Powerful Video Annotation Capabilities

In the realm of video annotation, LabelU showcases impressive processing capabilities, supporting video segmentation, video classification, and video information extraction. It is highly suitable for applications such as video retrieval, video summarization, and action recognition, enabling users to easily handle long-duration videos, accurately extract key information, and support complex scene analysis, providing high-quality annotated data for subsequent model training.

Efficient Audio Annotation Tools

Audio annotation tools are another key feature of LabelU. These tools possess efficient and precise audio analysis capabilities, supporting audio segmentation, audio classification, and audio information extraction. By visualizing complex sound information, LabelU simplifies the audio data processing workflow, aiding in the development of more accurate models.

Artificial Intelligence Assisted Labelling

LabelU supports one-click loading of pre-annotated data, which can be refined and adjusted according to actual needs. This feature improves the efficiency and accuracy of annotation.

AI Auto-Annotation

LabelU integrates AI model services for automatic annotation of image data. Click the "AI Annotate" button on the annotation page to have the model automatically detect and segment objects. Supports batch annotation for entire tasks with real-time progress tracking. Three reference model servers are provided out of the box:

  • Florence-2 — lightweight, CPU-friendly (~4GB VRAM)
  • GroundingDINO + SAM ViT-B — high-quality detection + segmentation (~4GB VRAM)
  • SAM 3 — state-of-the-art unified model (~8GB VRAM, requires high-end GPU)

See model_server/README.md for setup instructions.

S3 Data Source Import

LabelU supports importing annotation data directly from S3-compatible object storage (AWS S3, MinIO, etc.). Configure data source connections in the task settings, browse and preview files, then import selected files or all files under a path with one click.

https://github.com/user-attachments/assets/0fa5bc39-20ba-46b6-9839-379a49f692cf

Features

  • Simplicity: Provides a variety of image annotation tools that can be annotated through simple visual configuration.
  • Flexibility: A variety of tools can be freely combined to meet most image, video, and audio annotation needs.
  • Universality: Supports exporting to various data formats, including JSON, COCO, MASK.

Getting started

Local deployment

  1. Install Miniconda, Choose the corresponding operating system type and download it for installation.

Note: If your system is MacOS with an Intel chip, please install Miniconda of intel x86_64.

  1. After the installation is complete, run the following command in the terminal (you can choose the default 'y' for prompts during the process):
conda create -n labelu python=3.11

Note: For Windows platform, you can run the above command in Anaconda Prompt.

  1. Activate the environment:
conda activate labelu
  1. Install LabelU:
pip install labelu

To install the test version:pip install labelu==<test revision>

Install labelu with MySQL support:

pip install labelu[mysql]

# Or install labelu and mysqlclient separately
# pip install labelu mysqlclient
  1. Run LabelU:
labelu

If you need to use MySQL database after upgrading from version 1.x, run the following command to migrate data from the built-in SQLite database to the MySQL database:

DATABASE_URL=mysql://<username>:<password>@<host>/<your dbname> labelu migrate_to_mysql
  1. Visit http://localhost:8000/ and ready to go.

Local development

# Install uv
# https://docs.astral.sh/uv/getting-started/installation/

# Clone the repository
git clone https://github.com/opendatalab/labelU.git
cd labelU

# Create virtual environment and install all dependencies (Python >= 3.11)
uv sync

# Copy the example environment file and configure it
cp .env.example .env
# Edit .env and set your values:
#   PASSWORD_SECRET_KEY  - JWT secret key, generate with: openssl rand -hex 32
#   MEDIA_HOST           - Media server URL (default: http://localhost:8000)
#   DATABASE_URL         - Database connection URL (default: sqlite:///data/labelu.sqlite)

# Download the frontend statics from labelu-kit repo
sh ./scripts/resolve_frontend.sh true

# Start labelu, server: http://localhost:8000
uv run uvicorn labelu.main:app --reload

Quick start

Annotation format

Citation

@article{he2024opendatalab,
  title={Opendatalab: Empowering general artificial intelligence with open datasets},
  author={He, Conghui and Li, Wei and Jin, Zhenjiang and Xu, Chao and Wang, Bin and Lin, Dahua},
  journal={arXiv preprint arXiv:2407.13773},
  year={2024}
}

Communication

Welcome to the OpenDataLab official WeChat group!

20260228-175257

  • LabelU-kit Web front-end annotation kit (LabelU is based on this JavaScript kit)
  • LabelLLM An Open-source LLM Dialogue Annotation Platform
  • Miner U A One-stop Open-source High-quality Data Extraction Tool

License

This project is released under the Apache 2.0 license.

Metadata

Release files for labelu 1.5.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for labelu 1.5.7
File Size Uploaded Provenance Actions
labelu-1.5.7.tar.gz 2.8 MB Without provenance Details for labelu-1.5.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for labelu 1.5.7
File Interpreter ABI Platform Actions
labelu-1.5.7-py3-none-any.whl Python 3 none any Details for labelu-1.5.7-py3-none-any.whl

Total release size: 5.6 MB

Release files / labelu-1.5.7.tar.gz

Download URL labelu-1.5.7.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
cc8f8591fba1a01b3ce71f96043199b5d7a5f6457ca76527f8ab594504eeee9f
BLAKE2b-256 checksum
How to use checksums
5a999d1624a9218ba01d690616f17e57b1eda20535d8e4720070504801032c89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / labelu-1.5.7-py3-none-any.whl

Download URL labelu-1.5.7-py3-none-any.whl
Size 2.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
097e9e95481fc9cb8da0b6b093d29447dd37c8448f92ad96906f06d21fa894e6
BLAKE2b-256 checksum
How to use checksums
c80bec936ce45d0a88f33f60c24c25c979d8c072af43cacd383922f40eece5fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for labelu 1.5.7

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.5.7 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page