TextRegionSettings class
Platform: ImagesLanguage: Java SDK:
An object of this type is used to pass options to Eyes.extractTextRegions.
Typically, you call the class constructor and then call the methods of this class
chained in a Fluent API style to set the required options.
For more information see Eyes OCR support .
This feature is experimental. Please note that the functionality and/or API may change.
Import statement
import com.applitools.eyes.locators.TextRegionSettings;
Example
Example not yet available.
Constructor
- TextRegionSettings()
- Define a list of string literals or patterns to be searched for using OCR using the Eyes.extractTextRegions method.
- TextRegionSettings()
- Define a list of string literals or patterns to be searched for using OCR using the Eyes.extractTextRegions method.
Methods
- firstOnly()
- Use this method to define that only the first text found should be returned.
- firstOnly()
- Use this method to define that only the first text found should be returned.
- ignoreCase()
- Define that the pattern should be case insensitive.
- ignoreCase()
- Define that the pattern should be case insensitive.
- image()
- Provide the image to be searched.
- image()
- Provide the image to searched.