-
Notifications
You must be signed in to change notification settings - Fork 3
perf(customs):优化readme及任务说明。 #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,12 +13,12 @@ class ReturnOCR(CustomAction): | |
| "action_key": "Click", | ||
| "recognition_name": "识别输出测试", | ||
| "return_text": "输出的描述" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. issue (bug_risk): 在 示例负载在 Original comment in Englishissue (bug_risk): Missing trailing comma after the The example payload is missing a comma after the |
||
| "click_target": [] # 点击坐标,格式为[x1, y1, x2, y2],仅在action_key为Click时使用 | ||
| "click_target": [] # 点击坐标,格式为[x1, y1, w, h],仅在action_key为Click时使用 | ||
| } | ||
| action_key: 动作名称,用于判断动作类型,如Click、Move等 | ||
| recognition_name: task任务名称,用于指定识别任务名称,返回该节点的结果。 | ||
| return_text: 输出的描述,用于指定返回的描述 | ||
| click_target: 点击坐标,格式为[x1, y1, x2, y2],仅在action_key为Click时使用。如果不提供click_target,则默认点击识别结果的中心位置。 | ||
| click_target: 点击坐标,格式为[x1, y1, w, h],仅在action_key为Click时使用。如果不提供click_target,则默认点击识别结果的中心位置。 | ||
|
|
||
| """ | ||
| def run( | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (typo): 建议将 “OCR” 和 “UI” 大写以保持一致性。
在本段中,你当前使用的是小写的 “ocr” 和 “ui”,而在其他地方(例如标题)是大写形式。请在这里也改为 “OCR” 和 “UI”,以保持风格一致。
Original comment in English
suggestion (typo): Consider capitalizing “OCR” and “UI” for consistency.
In this section you currently use lowercase “ocr” and “ui”, while elsewhere (e.g., the title) they’re uppercase. Please update them here to “OCR” and “UI” for consistency.