detect_ui
Locate and classify UI elements in screen regions using YOLOv8n object detection accelerated by NPU or CPU, outputting labeled bounding boxes with confidence scores.
Instructions
Detect objects / UI elements in a screen region using YOLOv8n on OpenVINO (NPU or CPU). Returns bounding boxes with labels and confidence scores. region=[x1,y1,x2,y2] in screen coords; omit for full screen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | [x1, y1, x2, y2] | |
| backend | No | Force a specific backend (openvino_npu or openvino_cpu) |