IMAQ OCR Read Text 3 VI

LabView NI Vision

IMAQ OCR Read Text 3 VI

Installed With: NI Vision Development Module

Reads the text in the image. The VI identifies all objects in the image based on the properties that you set, and then compares each object with every character in the character set file. For each object, the VI selects the character that most closely matched the object. The VI uses the substitution character for any object that did not match any of the trained characters. You use the Substitution Character property to specify the substitution character.

IMAQ OCR Read Text 3

ccclst.gif

ROI Descriptor specifies the ROI in which the VI performs this operation. The ROI must be a rectangle or rotated rectangle. Leave this input unwired to use the entire image for this operation.

c1di32.gif

Global Rectangle contains the coordinates of the bounding rectangle.

c1dcclst.gif

Contours are each of the individual shapes that define an ROI.

cenum.gif

ID refers to whether the contour is the external or internal edge of an ROI.

cu32.gif

Type is the shape type of the contour.

c1di32.gif

Coordinates indicates the relative position of the contour.

crn.gif

IMAQ OCR Session specifies the OCR session on which this VI operates. To create a session, use the IMAQ OCR Create Session VI.

cgenclasstagrefflat.gif

Image is the source image for this operation.

cerrcodeclst.gif

error in (no error) describes the error status before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.

cbool.gif

status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.

ci32.gif

code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.

cu32.gif

Orientation specifies the orientation of the image data within the circular strip.

Baseline inside (0)

(Default) Specifies that the base of the image data is located along the inside edge of the circular strip.

Baseline outside (1)

Specifies that the base of the image data is located along the outside edge of the circular strip.

i1dcclst.gif

Character Reports contains additional information about each character that the VI read from the image.

istr.gif

Character Value specifies the identified character.

ii32.gif

Classification Score indicates the degree to which the assigned character class represents the object better than the other character classes in the character set.

ii32.gif

Verification Score returns the verification scores computed against the reference character for the character class. If a reference character does not exist for the character class, the score will be 0.

ibool.gif

Verified is TRUE if the character has been verified against a reference character was found for the character class. Otherwise, this value is FALSE.

icclst.gif

Character Statistics is cluster containing statistics about the characters OCR segmented in the ROI.

inclst.gif

Threshold Range specifies the range used to threshold the character.

isgl.gif

Lower value is the lowest pixel value used during a manual threshold. The default is 1.

isgl.gif

Upper value is the highest pixel value used during a manual threshold. The default is 255.

iu32.gif

Left Offset specifies the left offset of the character bounding rectangles in the current ROI.

iu32.gif

Top Offset specifies the top offset of the character bounding rectangles in the current ROI.

iu32.gif

Width lists the width of each of the characters you trained in the current ROI.

iu32.gif

Height lists the height of each of the characters you trained in the current ROI.

iu32.gif

Character Size lists the size of the character in pixels.

irn.gif

IMAQ OCR Session (dup) is the reference to the OCR session to which this VI operates.

igenclasstagrefflat.gif

Image (dup) has the same value as Image.

istr.gif

Read String is the string that the VI read.

ierrcodeclst.gif

error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.

icclst.gif

ROI Bounding Characters is an array that specifies the coordinates of the character bounding ROI.

i1di32.gif

Global Rectangle contains the coordinates of the bounding rectangle.

i1dcclst.gif

Contours are each of the individual shapes that define an ROI.

ienum.gif

ID refers to whether the contour is the external or internal edge of an ROI.

iu32.gif

Type is the shape type of the contour.

i1di32.gif

Coordinates indicates the relative position of the contour.