Choose Function to Visualize Detected Objects
Computer Vision Toolbox™ offers several functions to visualize detected objects by inserting or overlaying shapes on image, video, and point cloud data.
The insert
-related functions draw shapes and text by fusing them with
image and video data. The showShape
function uses MATLAB® graphics to overlay shapes and text on top of image, video, and point cloud
data and is rendered in a MATLAB axes.
This table compares the visualization functions on the basis of their support for image, video, and point cloud data.
Function | Images | Video | Point Clouds | Code Generation | Example |
---|---|---|---|---|---|
insertShape | Yes | Yes | No | Yes |
|
insertText | Yes | Yes | No | Yes |
|
insertObjectAnnotation | Yes | Yes | No | Yes |
|
insertMarker | Yes | Yes | No | Yes |
|
insertObjectMask | Yes | Yes | No | Yes |
|
insertObjectKeypoints | Yes | Yes | No | Yes |
|
showShape | Yes | Yes | Yes | No |
|
plot object function of the cylinderModel | No | No | Yes | No |
|
plot object function of the sphereModel | No | No | Yes | No |
|
plot object function of the planeModel | No | No | Yes | No |
|
plot (Lidar Toolbox) object function of the cuboidModel (Lidar Toolbox) object. | No | No | Yes | No | Fit Cuboid Over Point Cloud Data (Lidar Toolbox) |
See Also
Objects
cuboidModel
(Lidar Toolbox) |planeModel
|sphereModel
|cylinderModel
|pcplayer
|vision.VideoPlayer
|vision.DeployableVideoPlayer