Vuo  2.3.2
Classes | Functions

Description

Coordinates of a face and its landmarks.

Classes

struct  VuoFace
 Coordinates of a face and its landmarks. More...
 

Functions

VuoFace VuoFace_makeFromJson (json_object *js)
 Decodes the JSON object js to create a new value. More...
 
json_objectVuoFace_getJson (const VuoFace f)
 Encodes f as a JSON object. More...
 
char * VuoFace_getSummary (const VuoFace f)
 Returns a compact string representation of f. More...
 
VuoFace VuoFace_make (VuoRectangle face, VuoPoint2d leftEye, VuoPoint2d rightEye, VuoPoint2d nose, VuoPoint2d mouthLeftEdge, VuoPoint2d mouthRightEdge)
 Creates a new face structure from the specified values. More...
 
VuoFace VuoFace_makeFromString (const char *initializer)
 Automatically generated function. More...
 
char * VuoFace_getString (const VuoFace value)
 Automatically generated function. More...
 

Class Documentation

◆ VuoFace

struct VuoFace
Class Members
VuoRectangle face
VuoPoint2d leftEye
VuoPoint2d mouthLeftEdge
VuoPoint2d mouthRightEdge
VuoPoint2d nose
VuoPoint2d rightEye

Function Documentation

◆ VuoFace_getJson()

struct json_object * VuoFace_getJson ( const VuoFace  f)

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()

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 43 of file VuoFace.c.

◆ VuoFace_makeFromString()

VuoFace VuoFace_makeFromString ( const char *  initializer)

Automatically generated function.