ImageContext class
Individual image annotation requests for this batch.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
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.
no setterinherited
-
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.
no setterinherited
- 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 nonexistent 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