Version:
interface
TextFinderConfig
Configuration options for text search via screen.find().
Pass as providerData in the find options.
typescript
interface TextFinderConfigProperties
| Name | Type | Description |
|---|---|---|
caseSensitive? | boolean | When true, comparisons are case-sensitive. Defaults to false. |
lang? | Language[] | Tesseract languages to use for recognition. Defaults to English. |
partialMatch? | boolean | When true, matches text that contains the query as a substring. Defaults to true. |
preprocessConfig? | ImagePreprocessingConfig | Image preprocessing options applied before OCR. |
Was this page helpful?