nicetoolbox.detectors.method_detectors.emotion_individual.py_feat.PyFeat

class nicetoolbox.detectors.method_detectors.emotion_individual.py_feat.PyFeat(config, io, data)[source]

Bases: BaseDetector

The Python - Facial Expression Analysis Toolbox (Py-feat) is a method detector that computes emotion_individual component.

Initialize the PyFeat method detector with all inference preparation.

Methods

post_inference

Post processing after inference.

run_inference

Runs the inference of the method detector in a separate terminal/cmd window using the specified virtual environment or conda environment.

visualization

Visualizes the processed frames of the pyfeat algorithm as a video.

Attributes

algorithm

components

post_inference()[source]

Post processing after inference.

run_inference() None

Runs the inference of the method detector in a separate terminal/cmd window using the specified virtual environment or conda environment. Captures the output and logs the success or failure of the inference.

visualization(data)[source]

Visualizes the processed frames of the pyfeat algorithm as a video.