This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
condition:OCR [2019/07/15 00:14] peternlewis created |
condition:OCR [2023/09/12 23:07] (current) peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== OCR Condition ====== | ====== OCR Condition ====== | ||
- | The //OCR condition// (v9.0+) extracts the text from an image using OCR (Optical Character Recognition) (specifically using the [[https://en.wikipedia.org/wiki/Tesseract_(software)|Tesseract OCR library]]) and determines if it currently meets the specified. | + | The //OCR condition// (v9.0+) extracts the text from an image using OCR (Optical Character Recognition) (specifically using Apple Text Recognition (v11+ and macOS 10.15+) or the [[https://en.wikipedia.org/wiki/Tesseract_(software)|Tesseract OCR library]]) and determines if it currently meets the specified. |
{{ ocr-condition.png?nolink&503x326 | OCR Condition }} | {{ ocr-condition.png?nolink&503x326 | OCR Condition }} | ||
Line 28: | Line 28: | ||
As with any OCR, the text may contain errors so you should be relatively liberal in how specifying your criteria. | As with any OCR, the text may contain errors so you should be relatively liberal in how specifying your criteria. | ||
+ | |||
+ | Note that the Tesseract OCR software prefers black-on-white text, and while it will often work with white-on-black text, it will be more likely to fail in those cases. | ||
===== See Also ===== | ===== See Also ===== | ||
Line 33: | Line 35: | ||
==== Actions ==== | ==== Actions ==== | ||
- | * [[If Then Else]] | + | * [[action:OCR Image]] |
- | * [[Pause Until]] | + | * [[action:If Then Else]] |
- | * [[For Each]] | + | * [[action:Pause Until]] |
- | * [[Repeat]] | + | * [[action:For Each]] |
- | * [[Until]] | + | * [[action:Repeat]] |
- | * [[Assert]] | + | * [[action:Until]] |
+ | * [[action:Assert]] | ||
* [[:Actions|See all Actions]] | * [[:Actions|See all Actions]] | ||
==== Conditions==== | ==== Conditions==== | ||
- | * [[condition:OCR]] | ||
* [[:Conditions|See all Conditions]] | * [[:Conditions|See all Conditions]] | ||
- |