Convert CVAT
to Supervisely
Converting CVAT to Supervisely brings your labels into a format that keeps every shape, tag and class, ready to review, relabel and export to any other format.
CVAT vs Supervisely
CVAT, the open-source Computer Vision Annotation Tool, exports tasks as CVAT for images 1.1: one annotations.xml with the shapes of every image and their attributes.
| CVAT | Supervisely | |
|---|---|---|
| Annotation files | One annotations.xml per task, with an image element for every image. | One JSON file per image (ann/<image>.json) in each dataset folder, and one meta.json for the project. |
| Coordinates | Absolute pixels; a box is xtl, ytl, xbr, ybr, a polygon or polyline a list of points. | Absolute pixels; a rectangle is stored as its top-left and bottom-right points. |
| Shapes | Boxes, polygons, polylines, points, ellipses, cuboids, masks and skeletons, with attributes. | Rectangles, polygons, polylines, points, bitmap masks, keypoint graphs, alpha masks and 2D cuboids. |
| Classes | Labels and their attributes are defined in the task meta; every shape names its label. | Classes are defined in meta.json with a name, a shape and a colour; tags can sit on images and on objects. |
What the conversion changes
Import CVAT
- Export from CVAT as CVAT for images 1.1, for images and videos alike.
- Cuboids and ellipses are skipped.
- A CVAT project with both images and videos becomes two Supervisely projects; CVAT to Supervisely Migration Tool copies projects straight from a CVAT server.
Export to Supervisely
- Every imported label keeps its shape, class and tags in Supervisely JSON.
Convert CVAT to Supervisely in three steps
- 01
Import CVAT
Upload your CVAT folder or archive to Supervisely and run Import CVAT from the Ecosystem: it creates a project with the images and labels.
- 02
Review in the labeling toolbox
Open the project in the image labeling toolbox to check classes and fix labels.
- 03
Export to Supervisely
Open the menu of the project, choose Download via app and run Export to Supervisely format. The archive appears in Tasks and Team Files.
Apps in the Supervisely Ecosystem
Run this conversion on your own data in a free account, or let us walk your team through it.
Or in a few lines of Python
After the import, the Python SDK downloads the project as Supervisely JSON, the format the Export to Supervisely format app writes.
Install it with pip install supervisely.
import supervisely as sly
# SERVER_ADDRESS and API_TOKEN come from the environment
api = sly.Api.from_env()
# ID of the project Import CVAT created
sly.download_fast(api, project_id=12345, dest_dir="sly_project")Frequently asked questions.
Can I convert CVAT to Supervisely without code?
Yes. Import the data with Import CVAT, check it in the image labeling toolbox, then export it with Export to Supervisely format. Both start from the Supervisely web interface.
What changes when CVAT becomes Supervisely?
Export from CVAT as CVAT for images 1.1, for images and videos alike. Cuboids and ellipses are skipped. A CVAT project with both images and videos becomes two Supervisely projects; CVAT to Supervisely Migration Tool copies projects straight from a CVAT server.
Does Supervisely use the same coordinates as CVAT?
Both use absolute pixel coordinates, written differently. CVAT: Absolute pixels; a box is xtl, ytl, xbr, ybr, a polygon or polyline a list of points. Supervisely: Absolute pixels; a rectangle is stored as its top-left and bottom-right points.
How do CVAT classes carry over to Supervisely?
In CVAT: labels and their attributes are defined in the task meta; every shape names its label. In Supervisely: classes are defined in meta.json with a name, a shape and a colour; tags can sit on images and on objects. The class names stay the same on the way through Supervisely, so rename or merge classes in the project before you export.
Can I convert CVAT to Supervisely in Python?
After the import, the Python SDK downloads the project as Supervisely JSON, the format the Export to Supervisely format app writes. See the SDK export tutorial.