Skip to content

Commit

Permalink
Release 3.0.1
Browse files Browse the repository at this point in the history
新增图片描述黑屏检测:如果在穆连平功能开启状态下进行图片描述操作,将给出提示。
  • Loading branch information
huaiyinfeilong committed Jun 9, 2023
1 parent 6c134a5 commit 1de3e94
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions addon/doc/zh_CN/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@

## 升级日志

### Version 3.0.1

* 新增图片描述黑屏检测:如果在黑屏功能开启状态下进行图片描述操作,将给出提示。

### Version 3.0

* 新增图像内容识别功能,可针对浏览到的图片和剪贴板中的图片进行识别描述。
Expand Down
5 changes: 5 additions & 0 deletions addon/globalPlugins/xyOCR/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,11 @@ def terminate(self):
gesture="kb:NVDA+ALT+P"
)
def script_imageRecognize(self, gesture):
if self.isScreenCurtainRunning():
# Translators: Please turn off the screen curtain before recognition
log.debug("幕帘屏处于开启状态,无法进行识别。")
ui.message(_("Please turn off the screen curtain before recognition"))
return
recogUi.recognizeNavigatorObject(self.imageRecognizer)

@scriptHandler.script(
Expand Down
2 changes: 1 addition & 1 deletion buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def _(arg):
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
"addon_description": _("Aggregating various offline and online OCR services"),
# version
"addon_version": "3.0",
"addon_version": "3.0.1",
# Author(s)
"addon_author": "huaiyinfeilong <huaiyinfeilong@163.com>",
# URL for the add-on documentation support
Expand Down
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ Any comments and suggestions are welcome to communicate:

## Upgrade log

### Version 3.0.1

* New image description black screen detection function: If the image description operation is performed while the Mu Lianping function is on, a prompt will be given.

### Version 3.0

* Add image content recognition function, which can identify and describe the images browsed and the images in the clipboard.
Expand Down

0 comments on commit 1de3e94

Please sign in to comment.