User Tools

Site Tools


action:OCR_Image

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
action:OCR_Image [2019/07/15 00:02]
peternlewis created
action:OCR_Image [2023/09/12 23:07] (current)
peternlewis
Line 1: Line 1:
 ====== OCR Screen or Image ====== ====== OCR Screen or Image ======
  
-The //OCR Image// action allows you to extract the text from an image using OCR (Optical Character Recognition) (specifically using the Tesseract OCR library).+The //OCR Image// action allows you to extract the text from an image using OCR (Optical Character Recognition) (specifically using either Apple Text Recognition (v11+ and macOS 10.15+) or the [[https://​en.wikipedia.org/​wiki/​Tesseract_(software)|Tesseract OCR library]]).
  
 {{ ocr-image.png?​nolink&​503x171 | OCR Image }} {{ ocr-image.png?​nolink&​503x171 | OCR Image }}
Line 11: Line 11:
 You can choose what language or script the text is in.  Each language will require a download, typically between 1 and 10 MB, though there are a few scripts that are significantly larger. You can choose what language or script the text is in.  Each language will require a download, typically between 1 and 10 MB, though there are a few scripts that are significantly larger.
  
-By default ​their is a [[trigger:​Clipboard_Filter|Clipboard Filter]] macro to OCR images available in the Clipboard Filters folder which you can access from the [[manual:​Clipboard_History_Switcher|Clipboard History Switcher]] Gear (⚙) menu.+As with any OCR, the text may contain errors so you should be careful not to assume the result is 100% accurate. 
 + 
 +By default ​there is a [[trigger:​Clipboard_Filter|Clipboard Filter]] macro to OCR images available in the Clipboard Filters folder which you can access from the [[manual:​Clipboard_History_Switcher|Clipboard History Switcher]] Gear (⚙) menu.
  
 {{ ocr-clipboard-filter.png?​nolink&​537x428 | OCR Clipboard Filter }} {{ ocr-clipboard-filter.png?​nolink&​537x428 | OCR Clipboard Filter }}
 +
 +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 19: Line 23:
 ==== Actions ==== ==== Actions ====
  
 +* [[If Then Else]]
 +* [[Pause Until]]
 +* [[For Each]]
 +* [[Repeat]]
 +* [[Until]]
 +* [[Assert]]
 * [[:​Actions|See all Actions]] * [[:​Actions|See all Actions]]
 +
 +==== Conditions====
 +
 +* [[condition:​OCR]]
 +* [[:​Conditions|See all Conditions]]
  
action/OCR_Image.1563163332.txt.gz · Last modified: 2019/07/15 00:02 by peternlewis