robocorp / rpaframework

Collection of open-source libraries and tools for Robotic Process Automation (RPA), designed to be used with both Robot Framework and Python
https://www.rpaframework.org/
Apache License 2.0
1.17k stars 225 forks source link

Add optionnal parameters for Tesseract OCR #1154

Open axel-m-d opened 9 months ago

axel-m-d commented 9 months ago

Added the possibility for users to specify OCR-related parameters for Tesseract such as language (like "eng") or configuration (like "--psm 6") directly in OCR-related keywords (such as RPA.Desktop.Read Text or RPA.Desktop.Find Text).

The parameters are optional and will not affect existing scripts.

Robotframework logs have been enhanced to display these optional parameters if specified.

These parameters are sometimes needed in order to optimise optical character recognition (example : by specifying the language used)

CLAassistant commented 9 months ago

CLA assistant check
All committers have signed the CLA.