# CVAT

> Self-hosted annotation platform for image, video, and 3D computer-vision datasets

- Category: Data & Labeling / Labeling & Annotation
- Language: Python
- Licence: MIT
- Repository: https://github.com/cvat-ai/cvat
- Website: https://www.cvat.ai
- Canonical page: https://ai-tldr.dev/tools/cvat/

## In short

CVAT (Computer Vision Annotation Tool) is the free, self-hosted open-source edition of CVAT, used to build labeled datasets for computer vision. You can annotate images, video, and 3D point clouds with bounding boxes, polygons, masks, keypoints, cuboids, and tags, then export the result in formats like COCO, YOLO, and Pascal VOC. It sits in the Labeling & Annotation category of the Data & Labeling tools and is open-source, written in Python and licensed MIT.

## Overview

CVAT (Computer Vision Annotation Tool) is the free, self-hosted open-source edition of CVAT, used to build labeled datasets for computer vision. You can annotate images, video, and 3D point clouds with bounding boxes, polygons, masks, keypoints, cuboids, and tags, then export the result in formats like COCO, YOLO, and Pascal VOC.

It is aimed at research and production AI teams who want to keep their data on their own infrastructure. Because you run the whole stack with Docker Compose, no data leaves your environment, and you can connect your own ML models to auto-label and speed up the work.

As a data labeling tool, CVAT covers the manual and automated annotation step that sits between collecting raw media and training a model. It adds task management, multi-user collaboration, review workflows, and cloud-storage integration, plus a Python SDK, a CLI, and a REST API for automating pipelines.

## What it does

- Annotate images, video, and 3D point clouds with bounding boxes, polygons, masks, keypoints, cuboids, and tags
- Connect your own ML models for automatic detection, segmentation, and tracking to speed up labeling
- Organize datasets into projects, tasks, and jobs, assign work to annotators, and track progress
- Multi-user and multi-organization support with roles, task assignments, and review workflows
- Export and import in 20+ formats including COCO, YOLO, Pascal VOC, and KITTI, with S3, Azure, and Google Cloud storage integration
- Automate workflows through the cvat-sdk Python package, the cvat-cli command line tool, and the REST API

## Getting started

CVAT Community is self-hosted and runs with Docker Compose. You need Docker Engine, Docker Compose, and Git installed first.

1. Clone and start the stack

   Clone the repository and launch the services with Docker Compose. Optionally set CVAT_HOST to your IP or domain before starting.

```bash
git clone https://github.com/cvat-ai/cvat
cd cvat

# Optional: set your IP or domain
# export CVAT_HOST=your-ip-or-domain

docker compose up -d
```

2. Create an admin account

   Create a superuser so you can log in to the web UI.

```bash
docker exec -it cvat_server bash -ic 'python3 ~/manage.py createsuperuser'
```

3. Sign in and start labeling

   Open http://localhost:8080 (or your CVAT_HOST) in a Chromium-based browser, log in with your superuser account, then create a project or task, upload your data, and define labels.

4. Automate with the Python SDK or CLI (optional)

   Install the SDK or CLI to script task creation, uploads, and exports instead of using the web UI.

```bash
pip install cvat-sdk
pip install cvat-cli
```

## When to use it

- Build labeled image or video datasets for training object detection and segmentation models while keeping all data on your own servers
- Run a team labeling project with assigned annotators, review workflows, and quality checks across multiple jobs
- Annotate 3D point clouds with cuboids for autonomous-driving or robotics datasets
- Automate dataset creation, uploads, and exports from Python or the terminal as part of an ML pipeline
