Reads the text in the image.
The node 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 node selects the character that most closely matched the object. The node uses the substitution character for any object that did not match any of the trained characters. Use the substitution character property to specify the substitution character.
ROI in which the node performs the operation.
The ROI must be a rectangle or rotated rectangle. Leave this input unwired to use the entire image for this operation.
Coordinates of the bounding rectangle.
Individual shapes that define an ROI.
Object specifying if contour is the external or internal edge of an ROI.
Shape type of the contour.
Relative position of the contour.
OCR session on which the node operates.
To create a session, use the Create OCR Session node.
Source image for the operation.
Number of lines to read.
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Orientation of the image data within the circular strip.
Name | Value | Description |
---|---|---|
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. |
Additional information about each character that the node reads from the image.
Identified character.
Degree to which the assigned character class represents the object better than the other character classes in the character set.
Verification score 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.
Cluster containing statistics about the characters OCR segmented in the ROI.
Range used to threshold the character.
Lowest pixel value used during a manual threshold.
Default: 128
Highest pixel value used during a manual threshold.
Default: 255
Left offset of the character bounding rectangles in the current ROI.
Top offset of the character bounding rectangles in the current ROI.
Width of each of the characters trained in the current ROI.
Height of each of the characters trained in the current ROI.
Size of the character, in pixels.
OCR session on which this node operates.
Reference to the source image.
Output that indicates the number of lines read.
String that the node read.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Array that specifies the coordinates of the character bounding ROI.
Coordinates of the bounding rectangle.
Individual shapes that define an ROI.
Control specifying whether the contour is the external or internal edge of an ROI.
Shape type of the contour.
Relative position of the contour.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application