From 0ca5811e24e9bf1f58a6ad0e09b19fcf7254b1f4 Mon Sep 17 00:00:00 2001 From: Liang Jiaqing Date: Thu, 18 Jun 2026 17:14:10 +0800 Subject: [PATCH] docs: clarify ui_detect OmniParser model --- memory/ui_detect.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/memory/ui_detect.py b/memory/ui_detect.py index 103dff4d..148d3f8e 100644 --- a/memory/ui_detect.py +++ b/memory/ui_detect.py @@ -1,6 +1,10 @@ #!/usr/bin/env python3 """ -UI元素检测 - YOLO + RapidOCR +UI元素检测 - 基于 OmniParser-v2.0 的 icon_detect YOLO 模型 + RapidOCR + +首次使用前必须准备对应权重;这是 OmniParser-v2.0 的 icon_detect YOLO 模型。 +若缺失模型文件,新用户/AI 应搜索并下载 OmniParser-v2.0 icon_detect YOLO 权重。 + 用法: from ui_detect import detect elements = detect("screenshot.png") # 默认match模式