DetectTextFilters class

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.

Constructors

DetectTextFilters({List<RegionOfInterest>? regionsOfInterest, DetectionFilter? wordFilter})

Properties

hashCode int
The hash code for this object.
no setterinherited
regionsOfInterest List<RegionOfInterest>?
A Filter focusing on a certain area of the image. Uses a BoundingBox object to set the region of the image.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wordFilter DetectionFilter?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited