Skip to content

Commit 26257a1

Browse files
committed
docs: clarify ui_detect OmniParser model
1 parent 53b48ae commit 26257a1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

memory/ui_detect.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/usr/bin/env python3
22
"""
3-
UI元素检测 - YOLO + RapidOCR
3+
UI元素检测 - 基于 OmniParser-v2.0 的 icon_detect YOLO 模型 + RapidOCR
4+
5+
首次使用前必须准备对应权重;这是 OmniParser-v2.0 的 icon_detect YOLO 模型。
6+
若缺失模型文件,新用户/AI 应搜索并下载 OmniParser-v2.0 icon_detect YOLO 权重。
7+
48
用法:
59
from ui_detect import detect
610
elements = detect("screenshot.png") # 默认match模式

0 commit comments

Comments
 (0)