OCR
Overview

OCR node detects text regions in an input frame and recognizes the characters within those regions.
Use this node to extract printed or handwritten text from documents, labels, signs, or displays. The node runs a two-stage pipeline: a detection model first locates text bounding boxes, then a recognition model reads the characters inside each box.
Input
Input Image
image requiredThe image frame to process. Connect this to a camera or upstream image output.
Detection Model
string requiredModel used to locate text regions in the frame.
Values:
DB(default) — Differentiable Binarization; accurate and suitable for most printed text scenarios.EAST— fast scene-text detector; works well for horizontal text in natural scenes.TESSERACT— uses Tesseract for both detection and recognition in one step; setRecognition ModeltoTESSERACTwhen using this.NONE— skips detection and passes the entire frame to the recognition model directly.
Recognition Model
string requiredModel used to read characters from each detected text region.
Values:
CRNN(default) — Convolutional Recurrent Neural Network; accurate for printed text.TESSERACT— Tesseract OCR engine; use together withDetection Model: TESSERACTfor an all-Tesseract pipeline.
Overlay Results
boolean required advancedWhether to draw text region boxes and recognized text on the output frame. See Overlay Results.
Draw Lines / Text / Confidence
booleanFine-grained controls for what is included in the overlay when Overlay Results is enabled: region outlines, recognized text strings, and/or confidence scores.
Detection Tuning
number arrayAdditional detection parameters that appear based on the selected Detection Model:
defConfThresh— default confidence threshold for text region acceptance.boxWRangeandboxHRange—[min, max]pixel size filters; boxes outside the range are discarded.- DB-specific:
binThresh(binarization threshold),polyThresh(polygon contour threshold),unclipRatio(controls text region expansion).
Output
Overlay Image
imageOutput frame from the node. If overlays are enabled, text regions and recognized strings are annotated on this frame.
Detected Texts
arrayArray of recognized text objects. Each object contains:
bboxorquadrilateral— the bounding region of the detected text.text— the recognized string.confidence— recognition confidence score.