Documentation

Graphics

Add annotations and graphics, overlap images and videos

Adding graphics to video can help you visualize extracted information or debug a system design. You can also insert text to display the number of objects or to keep track of other key information. You can insert graphics, such as markers, lines, and polygons, to mark found features, delineate objects, or highlight other key features. The toolbox functionality fuses text and graphics into the image or video rather than maintaining a separate layer. You can combine two video sources in a composite that can highlight objects or a key region.

Functions

plotCamera Plot a camera in 3-D coordinates
insertMarker Insert markers in image or video
insertObjectAnnotation Annotate truecolor or grayscale image or video stream
insertShape Insert shapes in image or video
insertText Insert text in image or video
listTrueTypeFonts List available TrueType fonts
bbox2points Convert rectangle to corner points list

System Objects

vision.AlphaBlender Combine images, overlay images, or highlight selected pixels
vision.MarkerInserter Draw markers on output image
vision.ShapeInserter Draw rectangles, lines, polygons, or circles on an image

Blocks

Compositing Combine pixel values of two images, overlay one image over another, or highlight selected pixels
Draw Markers Draw markers by embedding predefined shapes on output image
Draw Shapes Draw rectangles, lines, polygons, or circles on images
Image Pad Pad signal along its rows, columns, or both
Insert Text Draw text on image or video stream.
Was this topic helpful?