Skip to main content

Table of Contents

api

FacialActivity Objects​

class FacialActivity(VideoModel)

fit​

def fit(path)

Fit a file in filepath to OpenFace Model. Make sure to set the Docker to be active first. For installation, see https://aicure.github.io/open_dbm/docs/openface-docker-installation

Parameters​

path : string, File Path of MP4/MOV file.

get_landmark​

def get_landmark()

Get the model object of Landmark

Returns:

  • self - object Model Object

get_action_unit​

def get_action_unit()

Get the model object of Action Unit

Returns:

  • self - object Model Object

get_asymmetry​

def get_asymmetry()

Get the model object of Facial Asymmetry

Returns:

  • self - object Model Object

get_expressivity​

def get_expressivity()

Get the model object of Facial Expressivity

Returns:

  • self - object Model Object