Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this 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

stepDraws the specified text onto input image
Common to All System Objects
clone

Create System object with same property values

getNumInputs

Expected number of inputs to a System object

getNumOutputs

Expected number of outputs of a System object

isLocked

Check locked states of a System object (logical)

release

Allow System object property value changes

See Also

Introduced in R2012a

Was this topic helpful?