Class CropHint (2.5.0)

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

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
NameDescription
otherCropHint

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
TypeDescription
BoundingPoly

Confidence

public float Confidence { get; set; }

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

Property Value
TypeDescription
Single

ImportanceFraction

public float ImportanceFraction { get; set; }

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

Property Value
TypeDescription
Single