A set of optional parameters that you can use to set the criteria that the 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 image to look for text in.

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

Properties

RegionsOfInterest?: RegionOfInterest[]

A Filter focusing on a certain area of the image. Uses a BoundingBox object to set the region of the image.

WordFilter?: DetectionFilter

A set of parameters that allow you to filter out certain results from your returned results.