5.1 KiB
| title | linkTitle | weight | description |
|---|---|---|---|
| Context images | Context images | 26 | Context images of the task |
Context images are additional images that provide context or additional information related to the primary image.
Use them to add extra context about the object to improve the accuracy of annotation.
Context images are available for 2D and 3D tasks.
See:
Folder structure
To add contextual images to the task, you need to organize the images folder.
Before uploading the archive to CVAT, do the following:
- In the folder with the images for annotation, create a folder:
related_images. - Add to the
related_imagesa subfolder with the same name as the primary image to which it should be linked. - Place the context image(s) within the subfolder created in step 2.
- Add folder to the archive.
- Create task.
Data format
Example file structure for 2D and 3D tasks:
{{< tabpane >}} {{< tab header="2D task" >}} root_directory image_1_to_be_annotated.jpg image_2_to_be_annotated.jpg related_images/ image_1_to_be_annotated_jpg/ context_image_for_image_1.jpg image_2_to_be_annotated_jpg/ context_image_for_image_2.jpg subdirectory_example/ image_3_to_be_annotated.jpg related_images/ image_3_to_be_annotated_jpg/ context_image_for_image_3.jpg {{< /tab >}} {{< tab header="3D task" >}} root_directory image_1_to_be_annotated.pcd image_2_to_be_annotated.pcd related_images/ image_1_to_be_annotated_pcd/ context_image_for_image_1.jpg image_2_to_be_annotated_pcd/ context_image_for_image_2.jpg {{< /tab >}} {{< /tabpane >}}
For more general information about 3D data formats, see 3D data formats.
Context images
The maximum amount of context images is twelve.
By default they will be positioned on the right side of the main image.
Note: By default, only three context images will be visible.
When you add context images to the set, small toolbar will appear on the top of the screen, with the following elements:
Each context image has the following elements:
| Element | Description |
|---|---|
| 1 | Full screen. Click to expand the context image in to the full screen mode. Click again to revert context image to windowed mode. |
| 2 | Move context image. Hold and move context image to the other place on the screen. |
| 3 | Name. Unique context image name |
| 4 | Select context image. Click to open a horisontal listview of all available context images. Click on one to select. |
| 5 | Close. Click to remove image from context images menu. |
| 6 | Extend Hold and pull to extend the image. |





