Class CropHint (3.7.3)

CropHint(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Single crop hint that is used to generate a new crop when serving an image.

Attributes

Name Description
bounding_poly google.cloud.vision_v1p4beta1.types.BoundingPoly
The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale.
confidence float
Confidence of this being a salient region. Range [0, 1].
importance_fraction float
Fraction of importance of this salient region with respect to the original image.