Available Commands
task create- Create a new tasktask ls- List all taskstask delete- Delete taskstask frames- Download specific framestask export-dataset- Export task as a datasettask import-dataset- Import annotations from a datasettask backup- Create a task backuptask create-from-backup- Restore task from backuptask auto-annotate- Auto-annotate using a local function
task create
Create a new CVAT task with images or videos.Syntax
Arguments
Key Options
Examples
Create Task with Local Images
Create Task Using Wildcards
Create Task in Existing Project
When creating a task within a project, you donāt need to specify labels - theyāre inherited from the project.
Create Task from Video
Create Task from Remote URLs
Create Task from Shared Storage
Create Task with Pre-annotations
task ls
List all accessible tasks.Syntax
Examples
task delete
Delete one or more tasks.Syntax
Examples
task frames
Download specific frames from a task.Syntax
Arguments
Options
Examples
task_{task_id}_frame_{frame_id}.jpg
task export-dataset
Export a task as a dataset in various formats.Syntax
Arguments
Options
Supported Formats
- CVAT for images 1.1
- CVAT for video 1.1
- YOLO 1.1
- COCO 1.0
- Pascal VOC 1.1
- MOTS PNG 1.0
- Segmentation mask 1.1
- LabelMe 3.0
- And many moreā¦
Examples
Export to Current Directory
Export in YOLO Format
Export with Images
Export to Specific Directory
task import-dataset
Import annotations into a task from a dataset file.Syntax
Arguments
Options
Examples
task backup
Create a complete backup of a task including data and annotations.Syntax
Arguments
Options
Examples
- Task metadata and configuration
- All image/video data
- All annotations
- Task and job settings
task create-from-backup
Restore a task from a backup file.Syntax
Arguments
Options
Examples
task auto-annotate
Automatically annotate a task using a local machine learning function.Syntax
Arguments
Options
*Either
--function-module or --function-file is required.
Examples
Using a Module
Using a Python File
With Function Parameters
The function must follow the CVAT auto-annotation function specification. See the auto-annotation documentation for details on creating compatible functions.
Common Workflows
Create and Export Task
Backup and Restore
Import, Annotate, Export
Tips
-
Resource Types:
- Use
localfor files on your machine - Use
sharefor shared network storage - Use
remotefor URLs
- Use
-
Large Datasets: For large video or image sets, use
--chunk_sizeand--segment_sizeto control memory usage -
Video Processing: Use
--frame_stepto sample frames from videos (e.g.,--frame_step 10uses every 10th frame) -
Quality Settings: Adjust
--image_quality(0-100) to balance file size and image quality - Backup Regularly: Create backups of important tasks before major changes