Version:
interface

TextFinderConfig

Configuration options for text search via screen.find().
Pass as providerData in the find options.

typescript
interface TextFinderConfig

Properties

NameTypeDescription
caseSensitive?booleanWhen true, comparisons are case-sensitive. Defaults to false.
lang?Language[]Tesseract languages to use for recognition. Defaults to English.
partialMatch?booleanWhen true, matches text that contains the query as a substring. Defaults to true.
preprocessConfig?ImagePreprocessingConfigImage preprocessing options applied before OCR.

Was this page helpful?