CVAT (Computer Vision Annotation Tool) is an open-source, Kubernetes-native application designed to streamline the process of annotating images and videos for computer vision tasks. With CVAT, teams can efficiently label datasets, enabling the training of accurate and robust machine learning models. Deploying CVAT in your Kubernetes cluster provides a scalable and flexible solution for managing annotation workflows, enhancing collaboration among team members, and accelerating model development cycles. CVAT supports a wide range of annotation types, including bounding boxes, polygons, polylines, and keypoints, catering to diverse computer vision applications. By leveraging CVAT, organizations can unlock the full potential of their computer vision projects, from data preparation to model deployment.
A tool for annotation workflows, efficient model training and inference.
- Annotation of objects within images and videos for tasks such as object detection, instance segmentation, and object tracking.
- Labelling images with corresponding categories or tags to train classification models for tasks like image recognition and content-based retrieval.
- Defining pixel-level annotations to create detailed masks for each object class, essential for applications such as scene understanding and image segmentation.
- Labelling video frames to generate annotated datasets for video understanding tasks, including action recognition, event detection, and surveillance.
By using the application, you agree to their terms and conditions: the helm-chart and MIT License.
- Click Install.
- Wait for the application to change its status to
Deployed
.
To connect to the CVAT UI:
-
Install kubectl and configure it to work with the created cluster.
-
Find out the CVAT server pod’s name:
kubectl get pods -n <namespace> -l app=cvat-app -l component=server
-
Connect to the CVAT pod:
kubectl -n <namespace> exec -it <CVAT-pod-name> -- /bin/sh
-
Create a privileged user:
python manage.py createsuperuser
-
Choose a name, email (optionally), and a password for the new user.
-
Enable port forwarding:
kubectl port-forward service/<application-name>-traefik 8000:80 -n <namespace>
For example,
kubectl port-forward service/cvat-traefik 8000:80 -n cvat
. -
Add
127.0.0.1 <hostname>
line to the/etc/hosts
file.
To check that CVAT is working:
-
Go to
http://<hostname>:8000
in your web browser to access the CVAT UI. -
Log in with the credentials of the previously created user.
To store images and datasets in a Nebius AI Object Storage bucket:
-
Configure access to the bucket:
-
Create a static access key for the service account.
-
Connect the bucket with CVAT:
-
On the CVAT main page, open Cloud Storages tab in the top panel.
-
On the right, click + to add a new cloud storage integration.
-
Configure the storage:
- Choose a storage name and description.
- For the Provider, select AWS.
- For the Authentication type, select Key id and secret access key pair.
- Enter a name of the previously created Object Storage bucket and its access keys.
- For the Endpoint URL, enter
https://storage.eu-north1.nebius.cloud
.
-
Click Submit.
-
Open the advanced project settings in CVAT UI and enter the previously created storage name in the Select cloud storage field.
-