Coordinates of a face and its landmarks.
◆ VuoFace
Class Members |
VuoRectangle |
face |
|
VuoPoint2d |
leftEye |
|
VuoPoint2d |
mouthLeftEdge |
|
VuoPoint2d |
mouthRightEdge |
|
VuoPoint2d |
nose |
|
VuoPoint2d |
rightEye |
|
◆ VuoFace_getJson()
Encodes f
as a JSON object.
Definition at line 59 of file VuoFace.c.
◆ VuoFace_getString()
char* VuoFace_getString |
( |
const VuoFace |
value | ) |
|
Automatically generated function.
◆ VuoFace_getSummary()
char * VuoFace_getSummary |
( |
const VuoFace |
f | ) |
|
Returns a compact string representation of f
.
Definition at line 75 of file VuoFace.c.
◆ VuoFace_make()
VuoFace VuoFace_make |
( |
VuoRectangle |
face, |
|
|
VuoPoint2d |
leftEye, |
|
|
VuoPoint2d |
rightEye, |
|
|
VuoPoint2d |
nose, |
|
|
VuoPoint2d |
mouthLeftEdge, |
|
|
VuoPoint2d |
mouthRightEdge |
|
) |
| |
Creates a new face structure from the specified values.
Definition at line 84 of file VuoFace.c.
◆ VuoFace_makeFromJson()
Decodes the JSON object js
to create a new value.
- Example:
{
"face": {"center":[0,0],"size":[1,1]},
"leftEye": [0,0],
"rightEye": [0,0],
"nose": [0,0],
"mouthLeftEdge": [0,0],
"mouthRightEdge": [0,0],
}
Definition at line 43 of file VuoFace.c.
◆ VuoFace_makeFromString()
VuoFace VuoFace_makeFromString |
( |
const char * |
initializer | ) |
|
Automatically generated function.