This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
condition:OCR [2019/07/15 00:15] peternlewis |
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 ===== |