metrics module¶
-
class
metrics.
Metrics
(LDMK, IS_FILE)[source]¶ Bases:
object
Compute various metrics based on landmarks
Parameters: - LDMK (numpy array) – Array containing the landmarks for the detected face
- IS_FILE (boolean) – Is the input a file
Returns: metrics – Numpy array of the metrics computed
Return type: numpy array