harmoni_face.face_client
Module Contents
Classes
- class harmoni_face.face_client.Face(name, instance_id, param)
- setup_ros()
Setting up and initializing ros topic
- setup_face()
Setup the face
- send_face_request()
Send the request to the web page
- face_sequential_request(data)
[summary]
- Parameters:
data ([json]) – string of array of this object: start: time:
- Returns:
True if facial expressions and/or action units were detected and acted, False if no facial expression or action units were found
- Return type:
face_bool (bool)
- _get_facial_expressions_list()
Get facial expression list from the resource file
- _get_facial_expression_data(data)
- _get_aus_data(data)
Get the validated data of the face
- _get_face_data(data)
Get data for the face service: Action Units and Facial Expressions
- Parameters:
data ([str]) – json of data for the face start: time: type:
- Returns:
true if a facial expression exists, false if not face_expressions (list): array of facial expressions
- Return type:
face_expr_bool(bool)