vision
vision.detectObject Detect
Run an object detection model on the current screen.
Inputs
4InputValue typeRequirementAccepted sources
modelIdstringRequiredliteralclassNamestringOptionalliteralminScorenumberRequiredliteralROI
roiDetection region. Value type: screen-ratio rect {x, y, width, height}; 0..1 maps to the device frame. Smaller ROI can reduce false positives and latency.rectRequiredliteralOutputs
9Output pathValue typeCoordinate space
data.bestobject—data.best.scorenumber—data.best.modelIdstring—data.best.classNamestring—data.best.centerpointscreenRatiodata.best.center.xnumberscreenRatiodata.best.center.ynumberscreenRatiodata.best.rectrectscreenRatiodata.itemsarray—Runtime support
DesktopSupported
Android AgentSupported