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.

vision.TextInserter System object

Package: vision

Draw text on image or video stream

Description

    Note:   The vision.TextInserter System object™ will be removed in a future release. Use the insertText function with equivalent functionality instead.

Construction

txtInserter = vision.TextInserter('character vector') returns a text inserter object.

Properties

Text

Text character vector to draw on image or video stream

ColorSource

Source of intensity or color of text

Color

Text color or intensity

LocationSource

Source of text location

Location

Top-left corner of text bounding box

OpacitySource

Source of opacity of text

Opacity

Opacity of text

TransposedInput

Specifies if input image data order is row major

Font

Font face of text

Specify the font of the text as one of the availabe truetype fonts installed on your system.

FontSize

Font size in points

Antialiasing

Perform smoothing algorithm on text edges

Methods

cloneCreate text inserter object with same property values
getNumInputsNumber of expected inputs to step method
getNumOutputsNumber of outputs from step method
isLockedLocked status for input attributes and non-tunable properties
release Allow property value and input characteristics changes
stepDraws the specified text onto input image

See Also

Introduced in R2012a

Was this topic helpful?