Google Cloud Vision v1 API - Class CropHint (3.7.0)

public sealed class CropHint : IMessage<CropHint>, IEquatable<CropHint>, IDeepCloneable<CropHint>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Vision v1 API class CropHint.

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

Inheritance

object > CropHint

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

CropHint()

public CropHint()

CropHint(CropHint)

public CropHint(CropHint other)
Parameter
Name Description
other CropHint

Properties

BoundingPoly

public BoundingPoly BoundingPoly { get; set; }

The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale.

Property Value
Type Description
BoundingPoly

Confidence

public float Confidence { get; set; }

Confidence of this being a salient region. Range [0, 1].

Property Value
Type Description
float

ImportanceFraction

public float ImportanceFraction { get; set; }

Fraction of importance of this salient region with respect to the original image.

Property Value
Type Description
float