Skip to content

Osc message specification

golanlevin edited this page Jan 17, 2013 · 4 revisions

FaceOSC streams tracking data over the network using the Open Sound Control protocol. This is the OSC message layout for FaceOSC as of January 17, 2013.

Message argument types are written following the OSC spec:

  • f: float

Always sent

/found i: 0 or 1 if a face is currently being tracked

Sent when a face is being tracked

The following messages are sent in a bundle once per frame:

/pose/position ff: center coordinate position of the tracked face in the capture dimensions (camera w & h, default is 640x480)

/pose/scale f: size of the tracked face (smaller when farther from the camera)

/pose/orientation fff: 3d vector denoting the orientation of the tracked face (looking left, angled, down, etc)

/gesture/mouth/width f: left to right of mouth

/gesture/mouth/height f: top to bottom of inner mouth

/gesture/eyebrow/left f: center of the eye to middle of eyebrow

/gesture/eyebrow/right f: center of the eye to middle of eyebrow

/gesture/eye/left f: upper inner eye to lower outer eye

/gesture/eye/right f: upper inner eye to lower outer eye

/gesture/jaw f: nose center to chin center

/gesture/nostrils f: left side of nose to right side of nose

Clone this wiki locally