-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Search a specific pattern in the image #492
Comments
This is blocked by #613 as it looks like this is an "init only" parameter. |
Support for initialization parameters was added as part of #613 to the dev/v4 branch, and will be released with version 4. If you would like to test before then, instructions are in #662. Regarding the user pattern feature specifically, I confirmed that this is supported using the sample image and pattern file provided in the Tesseract documentation. Edit: This example is outdated. For an example that works with v5, see this comment below. Here is a minimal example:
[Note: at the time of this writing version 4 has not released yet. Therefore, |
Closing as this was added in Version 4. |
How i can do this in newer versions? |
@jlucaso1 An example that works with the latest version of Tesseract (v5.0.5) is below.
|
A regex search would be a fantastic feature.
It could allow complex search in images.
it seems that a kind of that is already present in c++ branch of the project.
https://github.com/tesseract-ocr/tesseract/blob/442b5b7/dict/trie.h#L192
The text was updated successfully, but these errors were encountered: