TextDetectionParams class

Parameters for text detections.

This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.

Constructors

TextDetectionParams({List<String>? advancedOcrOptions, bool? enableTextDetectionConfidenceScore})
TextDetectionParams.fromJson(Map json_)

Properties

advancedOcrOptions List<String>?
A list of advanced OCR options to further fine-tune OCR behavior.
getter/setter pair
enableTextDetectionConfidenceScore bool?
By default, Cloud Vision API only includes confidence score for DOCUMENT_TEXT_DETECTION result.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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