Coordinates of a face and its landmarks.
◆ VuoFace
Class Members |
VuoRectangle |
face |
|
VuoPoint2d |
leftEye |
|
VuoPoint2d |
mouthLeftEdge |
|
VuoPoint2d |
mouthRightEdge |
|
VuoPoint2d |
nose |
|
VuoPoint2d |
rightEye |
|
◆ VuoFace_getJson()
struct json_object * VuoFace_getJson |
( |
const VuoFace |
f | ) |
|
Encodes f
as a JSON object.
Definition at line 58 of file VuoFace.c.
◆ VuoFace_getString()
char * VuoFace_getString |
( |
const VuoFace |
value | ) |
|
Automatically generated functions.
◆ VuoFace_getSummary()
char * VuoFace_getSummary |
( |
const VuoFace |
f | ) |
|
Returns a compact string representation of f
.
Definition at line 74 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 83 of file VuoFace.c.
◆ VuoFace_makeFromJson()
VuoFace VuoFace_makeFromJson |
( |
json_object * |
js | ) |
|
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 42 of file VuoFace.c.
◆ VuoFace_release()
void VuoFace_release |
( |
VuoFace |
value | ) |
|
Automatically generated functions.
◆ VuoFace_retain()
void VuoFace_retain |
( |
VuoFace |
value | ) |
|
Automatically generated functions.