public sealed class FaceAnnotation : IMessage<FaceAnnotation>, IEquatable<FaceAnnotation>, IDeepCloneable<FaceAnnotation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class FaceAnnotation.
A face annotation object contains the results of face detection.
Implements
IMessage<FaceAnnotation>, IEquatable<FaceAnnotation>, IDeepCloneable<FaceAnnotation>, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
FaceAnnotation()
public FaceAnnotation()
FaceAnnotation(FaceAnnotation)
public FaceAnnotation(FaceAnnotation other)
Name | Description |
other | FaceAnnotation |
Properties
AngerLikelihood
public Likelihood AngerLikelihood { get; set; }
Anger likelihood.
Type | Description |
Likelihood |
BlurredLikelihood
public Likelihood BlurredLikelihood { get; set; }
Blurred likelihood.
Type | Description |
Likelihood |
BoundingPoly
public BoundingPoly BoundingPoly { get; set; }
The bounding polygon around the face. The coordinates of the bounding box
are in the original image's scale.
The bounding box is computed to "frame" the face in accordance with human
expectations. It is based on the landmarker results.
Note that one or more x and/or y coordinates may not be generated in the
BoundingPoly
(the polygon will be unbounded) if only a partial face
appears in the image to be annotated.
Type | Description |
BoundingPoly |
DetectionConfidence
public float DetectionConfidence { get; set; }
Detection confidence. Range [0, 1].
Type | Description |
Single |
FdBoundingPoly
public BoundingPoly FdBoundingPoly { get; set; }
The fd_bounding_poly
bounding polygon is tighter than the
boundingPoly
, and encloses only the skin part of the face. Typically, it
is used to eliminate the face from any image analysis that detects the
"amount of skin" visible in an image. It is not based on the
landmarker results, only on the initial face detection, hence
the <code>fd</code> (face detection) prefix.
Type | Description |
BoundingPoly |
HeadwearLikelihood
public Likelihood HeadwearLikelihood { get; set; }
Headwear likelihood.
Type | Description |
Likelihood |
JoyLikelihood
public Likelihood JoyLikelihood { get; set; }
Joy likelihood.
Type | Description |
Likelihood |
LandmarkingConfidence
public float LandmarkingConfidence { get; set; }
Face landmarking confidence. Range [0, 1].
Type | Description |
Single |
Landmarks
public RepeatedField<FaceAnnotation.Types.Landmark> Landmarks { get; }
Detected face landmarks.
Type | Description |
RepeatedField<FaceAnnotation.Types.Landmark> |
PanAngle
public float PanAngle { get; set; }
Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].
Type | Description |
Single |
RollAngle
public float RollAngle { get; set; }
Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].
Type | Description |
Single |
SorrowLikelihood
public Likelihood SorrowLikelihood { get; set; }
Sorrow likelihood.
Type | Description |
Likelihood |
SurpriseLikelihood
public Likelihood SurpriseLikelihood { get; set; }
Surprise likelihood.
Type | Description |
Likelihood |
TiltAngle
public float TiltAngle { get; set; }
Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].
Type | Description |
Single |
UnderExposedLikelihood
public Likelihood UnderExposedLikelihood { get; set; }
Under-exposed likelihood.
Type | Description |
Likelihood |