cvat/site/content/en/docs/manual/advanced/annotation-with-cuboids/creating-the-cuboid.md

33 lines
1.3 KiB
Markdown
Raw Normal View History

2025-09-16 01:19:40 +00:00
---
title: "Creating the cuboid"
linkTitle: "Creating the cuboid"
weight: 1
---
Before you start, you have to make sure that `Cuboid` is selected
and choose a drawing method `from rectangle` or `by 4 points`.
![Highlighted button for creating cuboid and Draw new cuboid window](/images/image091.jpg)
### Drawing cuboid by 4 points
Choose a drawing method `by 4 points` and select `Shape` to enter the drawing mode.
There are many ways to draw a cuboid.
You can draw the cuboid by placing 4 points, after that the drawing will be completed automatically.
The first 3 points determine the plane of the cuboid while the last point determines the depth of that plane.
For the first 3 points, it is recommended to only draw the 2 closest side faces, as well as the top and bottom face.
A few examples:
![Example of drawing cuboid with four points](/images/image177_mapillary_vistas.jpg)
### Drawing cuboid from rectangle
Choose a drawing method `from rectangle` and select `Shape` to enter the drawing mode.
When you draw using the rectangle method, you must select the frontal plane of the object using the bounding box.
The depth and perspective of the resulting cuboid can be edited.
Example:
![Example of drawing cuboid from rectangle](/images/image182_mapillary_vistas.jpg)