Documentation Center

  • Trial Software
  • Product Updates

Graphics

Annotations, add graphics, and overlay images or video

Start Here

Adding graphics to video helps with visualizing extracted information or debugging a system design. You can 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 system toolbox functionality fuses text and graphics into the image or video itself rather than maintaining a separate layer. You can combine two video sources in a composite that can highlight objects or a key region.

Functions

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

System Objects

vision.AlphaBlender Combine images, overlay images, or highlight selected pixels
vision.ImagePadder Pad or crop input image along its rows, columns, or both
vision.MarkerInserter Draw markers on output image
vision.ShapeInserter Draw rectangles, lines, polygons, or circles on an image
vision.TextInserter Draw text on image or video stream

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?