FaceDetection
Single face detection result from SCRFD, containing the bounding box, confidence score, and five facial landmarks.
Operations
GetBounds
Bounding box in original image coordinates.
method : public : GetBounds() ~ RectReturn
| Type | Description |
|---|---|
| Rect | bounding rectangle |
GetLandmarks
Five facial landmarks as flat array [x0,y0, x1,y1, x2,y2, x3,y3, x4,y4]: left-eye, right-eye, nose, left-mouth, right-mouth.
method : public : GetLandmarks() ~ Float[]Return
| Type | Description |
|---|---|
| Float | landmark array (10 floats) |
GetScore
Detection confidence score [0, 1].
method : public : GetScore() ~ FloatReturn
| Type | Description |
|---|---|
| Float | confidence score |
ToString
String representation
method : public : ToString() ~ StringReturn
| Type | Description |
|---|---|
| String | string representation |