Enrollment 28.2.0
Loading...
Searching...
No Matches
Face::Keypoint Class Reference

It holds all attributes related to a facial key point. More...

#include <Face.h>

Collaboration diagram for Face::Keypoint:

Public Member Functions

Point GetPosition () const
 Retrieve position coordinates of the key point in the image.
float GetScore () const
 Retrieve reliability score of the key point.
void WriteTo (Writer &writer) const final
 Write itself into writer.

Detailed Description

It holds all attributes related to a facial key point.

Member Function Documentation

◆ GetPosition()

Point GetPosition ( ) const
inlinenodiscard

Retrieve position coordinates of the key point in the image.

Returns
Position of the key point in the image.
Remarks
Position of output facial feature is always relative to the input image origin. Image origin is pixel[0,0] is upper left corner.

Referenced by WriteTo().

Here is the caller graph for this function:

◆ GetScore()

float GetScore ( ) const
inlinenodiscard

Retrieve reliability score of the key point.

Returns
Score of the key point.
Remarks
Score values are from range <0,10000>. Values near 10000 indicates the facial key point as reliable. The decision threshold is around 3000.

Referenced by WriteTo().

Here is the caller graph for this function:

◆ WriteTo()

void WriteTo ( Writer & writer) const
inlinefinalvirtual

Write itself into writer.

Parameters
writerWriter to use to serialize this Serializable

Implements Serializable.

References GetPosition(), and GetScore().

Here is the call graph for this function:

The documentation for this class was generated from the following file: