OCR Language Support
The Optical Character Recognition (OCR) engine is a versatile tool within Eggplant Functional (EPF) built for working with dynamic text. This page outlines all languages supported for use with OCR.
Using the Language Property
Language dictionaries can be specified either in Text Preferences or in line with your OCR search using the Language property. to any OCR search in Eggplant Functional scripts. The OCR Engine provides its own system dictionaries for the languages that have full built-in dictionary support. The property values listed in Supported OCR Language Properties are case sensitive.
The Language property can be used for both reading and searching for text using OCR. For more on the difference between reading and searching for text, see How to Use OCR.
Examples:
//Using the Language property to find text (searching)
Click (Text:"Aubergine", Language:"French")
//Using the Language property to restrict the readText() function
log ReadText(("TLImage","BRImage"), Language:"French") -- where "TLImage" and "BRImage" are captured images that define a search rectangle by indicating the top left and bottom right corners of that rectangle, respectively.