EmotiEffCppLib
Cpp implementation of Emotion Efficient Library
Loading...
Searching...
No Matches
EmotiEffLib Namespace Reference

Classes

struct  EmotiEffLibConfig
 Configuration structure for the EmotiEffLibRecognizer. More...
class  EmotiEffLibRecognizer
 Base class for emotion and engagement recognition. More...
class  EmotiEffLibRecognizerOnnx
 ONNX backend implementation of the EmotiEffLibRecognizer. More...
class  EmotiEffLibRecognizerTorch
 Torch backend implementation of the EmotiEffLibRecognizer. More...
struct  EmotiEffLibRes
 Structure to store the results of EmotiEffLib. More...

Functions

std::vector< std::string > getAvailableBackends ()
 Retrieves the list of available inference backends.
std::vector< std::string > getSupportedModels (const std::string &backendName)
 Retrieves the list of supported emotion or engagement recognition models.

Function Documentation

◆ getAvailableBackends()

std::vector< std::string > EmotiEffLib::getAvailableBackends ( )

Retrieves the list of available inference backends.

This function returns a list of supported inference backends based on the compilation options. The available backends depend on whether the library was built with Torch (LibTorch) or ONNX Runtime support.

Returns
A vector of strings containing the names of the available backends. Possible values: "torch", "onnx".

Definition at line 23 of file facial_analysis.cpp.

◆ getSupportedModels()

std::vector< std::string > EmotiEffLib::getSupportedModels ( const std::string & backendName)

Retrieves the list of supported emotion or engagement recognition models.

This function returns a list of pre-trained models that can be used for emotion recognition or visual features extraction. Each model has been trained on different datasets and may have varying levels of accuracy and performance depending on the application.

Returns
A vector of strings containing the names of the supported models.

Definition at line 34 of file facial_analysis.cpp.