Skip to content

Commit

Permalink
Release 2.1-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszgo1 committed Aug 16, 2020
1 parent 7925ee9 commit e646f89
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 9 deletions.
17 changes: 8 additions & 9 deletions buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,26 @@
To perform OCR, move to the object in question using object navigation and press NVDA+r.
You can set the OCR recognition language by going to the NVDA settings dialog and selecting OCR settings."""),
# version
"addon_version" : "2.0",
"addon_version": "2.1-dev",
# Author(s)
"addon_author" : u"NV Access Limited <info@nvaccess.org>, Łukasz Golonka <lukasz.golonka@mailbox.org>",
# URL for the add-on documentation support
"addon_url" : None,
"addon_url": "https://addons.nvda-project.org/addons/ocr",
# Documentation file name
"addon_docFileName" : None,
"addon_docFileName": "readme.html",
# Minimum NVDA version supported (e.g. "2018.3.0", minor version is optional)
"addon_minimumNVDAVersion" : "2019.3.0",
# Last NVDA version supported/tested (e.g. "2018.4.0", ideally more recent than minimum version)
"addon_lastTestedNVDAVersion" : "2020.1",
# Add-on update channel (default is None, denoting stable releases, and for development releases, use "dev"; do not change unless you know what you are doing)
"addon_updateChannel" : None,
"addon_lastTestedNVDAVersion": "2020.3.0",
# Add-on update channel (default is None, denoting stable releases,
# and for development releases, use "dev"; do not change unless you know what you are doing)
"addon_updateChannel": "dev",
}


import os.path

# Define the python files that are the sources of your add-on.
# You can use glob expressions here, they will be expanded.
pythonSources = ["addon/globalPlugins/ocr/*.py"]
pythonSources = ["addon/globalPlugins/ocr.py"]

# Files that contain strings for translation. Usually your python sources
i18nSources = pythonSources + ["buildVars.py"]
Expand Down
17 changes: 17 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@
Important: if you are using NVDA 2017.3 or later on Windows 10, please consider using buit-in Windows 10 OCR.
Performs optical character recognition (OCR) to extract text from an object which is inaccessible. The Tesseract OCR engine is used. To perform OCR, move to the object in question using object navigation and press NVDA+r. You can set the OCR recognition language by going to the NVDA settings panel and selecting OCR settings. The keyboard shortcut can be reassigned from NVDA input gestures dialog in the "Miscellaneous" category.

## Change log:

### Changes for 2.1:

* When recognition is performed on an edit field it is now possible to navigate it with the system caret without moving focus from it and back again.
* Tesseract release info is no longer written to the focused console.
* When no text is recognized this fact is announced to the user.
* It is no longer possible to attempt recognition on an invisible object.
* WX is now used to capture images instead of Pillow.

### Changes for 2.0:

* Compatibility with NVDA 2019.3 and later.
* It is possible to set different recognition languages for different configuration profiles.
* OCR settings can now be changed from NVDA settings dialog rather than from a separate dialog in the tools menu.




[1]: https://addons.nvda-project.org/files/get.php?file=ocr
Expand Down

0 comments on commit e646f89

Please sign in to comment.