Set of optional parameters that let you set the criteria text must meet to be included in your response. WordFilter looks at a word's height, width and minimum confidence. RegionOfInterest lets you set a specific region of the screen to look for text in.

interface StartTextDetectionFilters {
    RegionsOfInterest?: RegionOfInterest[];
    WordFilter?: DetectionFilter;
}

Properties

RegionsOfInterest?: RegionOfInterest[]

Filter focusing on a certain area of the frame. Uses a BoundingBox object to set the region of the screen.

WordFilter?: DetectionFilter

Filters focusing on qualities of the text, such as confidence or size.