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.
Implements
IMessage<CropHint>, IEquatable<CropHint>, IDeepCloneable<CropHint>, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
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 |
Single |
ImportanceFraction
public float ImportanceFraction { get; set; }
Fraction of importance of this salient region with respect to the original image.
Property Value | |
---|---|
Type | Description |
Single |