Skip to content

opendatalab/labelU

Repository files navigation

English | 简体中文

Introduction

LabelU offers a variety of annotation tools and features, supporting image, video, and audio annotation.

  • Image: Multifunctional image processing tools encompassing 2D bounding box, cuboid, semantic segmentation, polylines, keypoints, and many other annotation tools, assist in completing image identification, annotation, and analysis.
  • Video: The video annotation has robust video processing capabilities, able to implement video segmentation, video classification, video information extraction, and other functions, providing high-quality annotated data for model training.
  • Audio: Highly efficient and accurate audio analysis tool can achieve audio segmentation, audio classification, audio information extraction, and other functions, making complex sound information visually intuitive.

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

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 --extra-index-url https://test.pypi.org/simple/ labelu==<test revision>

  1. Run LabelU:
labelu
  1. Visit http://localhost:8000/ and ready to go.

Local development

# Download and Install miniconda
# https://docs.conda.io/en/latest/miniconda.html

# Create virtual environment(python = 3.7)
conda create -n labelu python=3.7

# Activate virtual environment
conda activate labelu

# Install peotry
# https://python-poetry.org/docs/#installing-with-the-official-installer

# Install all package dependencies
poetry install

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

# Update submodule
git submodule update --remote --merge

Supported Scenarios

Image

  • Label Classification: Can help users quickly classify objects in images and can be used for image retrieval, object detection tasks.
  • Text Description: Text transcription can help users quickly extract text information in images and can be used for text retrieval, machine translation tasks.
  • Bounding Box: Can help users quickly select objects in images and can be used for image recognition, object tracking tasks.
  • Point Annotation: Points can help users accurately label key information in the image and can be used for object recognition, scene analysis tasks.
  • Polygon: Can help users accurately label irregular shapes and can be used for object recognition, scene analysis tasks.
  • Line Annotation: Lines can help users accurately label edges and contours in the image and can be used for object recognition, scene analysis tasks.
  • Cuboid: Cuboid can help users accurately label the size, shape, and location of objects within images, and can be used for object recognition, scene analysis tasks.

Video

  • Label Classification: Classifying and labeling videos can be used for video retrieval, recommendation, and classification tasks.
  • Text Description: Converting speech content in videos into text can be used for voice recognition, transcription, and translation tasks.
  • Segment Segmentation: Extracting specific clips or scenes from the video for annotation is very useful for video object detection, action recognition, and video summary tasks.
  • Timestamps: Point to or mark specific parts of the video; users can click on timestamps to jump directly to that part of the video.

Audio

  • Label Classification: By listening to the audio and selecting the appropriate classification for annotation, it's applicable for audio retrieval, recommendations, and classification tasks.
  • Text Description: Converting speech content in audio into text makes it easier for users to analyze and process text. It's very useful for voice recognition, transcription tasks, and can help users better understand and process voice content.
  • Segment Segmentation: Extracting specific clips from audio for annotation is very useful for audio event detection, voice recognition, and audio editing tasks.
  • Timestamps: Used to point to or mark specific parts of the audio; users can click on timestamps to jump directly to that part of the audio.

Quick start

Annotation format

Communication

Welcome to the OpenDataLab official WeChat group!

Links

  • LabelU-kit (LabelU is developed using LabelU-kit.)

License

This project is released under the Apache 2.0 license.