ImageContext class Null safety

Individual image annotation requests for this batch.

Annotations

Constructors

ImageContext({List<String>? languageHints, CropHintsParams? cropHintsParams, ProductSearchParams? productSearchParams, WebDetectionParams? webDetectionParams, TextDetectionParams? textDetectionParams, FaceRecognitionParams? faceRecognitionParams})
ImageContext.fromJson(Map<String, dynamic> json)
factory

Properties

cropHintsParams CropHintsParams?
Parameters for crop hints annotation request.
final
faceRecognitionParams FaceRecognitionParams?
final
hashCode int
The hash code for this object.
read-onlyinherited
languageHints List<String>?
Aspect ratios in floats, representing the ratio of the width to the height of the image. For example, if the desired aspect ratio is 4/3, the corresponding float value should be 1.33333. If not specified, the best possible crop is returned. The number of provided aspect ratios is limited to a maximum of 16; any aspect ratios provided after the 16th are ignored.
final
productSearchParams ProductSearchParams?
Parameters for product search.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
textDetectionParams TextDetectionParams?
Parameters for text detection and document text detection.
final
webDetectionParams WebDetectionParams?
Parameters for web detection.
final

Methods

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

Operators

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