Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Graphics

Add annotations and graphics to images and video

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 and Classes

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
vision.AlphaBlender Combine images, overlay images, or highlight selected pixels

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.

Topics

Annotate Video Files with Frame Numbers

Use the Insert Text block to add descriptive text to a video

Count Objects in an Image

Use the Opening and Label blocks to determine the number of spokes in a wheel.

Was this topic helpful?