vision
vision.ocrOCR
Read text from a screen region with OCR.
Inputs
4InputValue typeRequirementAccepted sources
languagestringRequiredliteralpageSegModestringRequiredliteralresultLevelstringRequiredliteralROI
roiOCR region. Value type: screen-ratio rect {x, y, width, height}; 0..1 maps to the device frame. Smaller ROI reduces unrelated text.rectRequiredliteralOutputs
1Output pathValue typeCoordinate space
data.resultsarray—Runtime support
DesktopSupported
Android AgentSupported