assistive-rehab
Public Member Functions
recognition_IDL Class Reference

faceRecognizer_IDL IDL Interface to human structure module. More...

#include <recognition_IDL.h>

Inherits yarp::os::Wire.

Inherited by Module.

Public Member Functions

virtual bool train (const std::string &name)
 Train a face. More...
 
virtual bool forget (const std::string &label)
 Forget a face. More...
 
virtual bool setConfidenceThreshold (const double thresh)
 Set the confidenceThreshold. More...
 
virtual double getConfidenceThreshold ()
 Get the confidenceThreshold. More...
 
virtual bool interactionMode (const std::string &mode)
 Interaction Mode . More...
 
virtual bool quit ()
 Quit the module. More...
 
bool read (yarp::os::ConnectionReader &connection) override
 
virtual std::vector< std::string > help (const std::string &functionName="--all")
 

Detailed Description

faceRecognizer_IDL IDL Interface to human structure module.

Definition at line 25 of file recognition_IDL.h.

Member Function Documentation

◆ forget()

virtual bool recognition_IDL::forget ( const std::string &  label)
virtual

Forget a face.

Parameters
labelobject name to forget. Use "all" to forget all faces.
Returns
true/false on success/failure.

◆ getConfidenceThreshold()

virtual double recognition_IDL::getConfidenceThreshold ( )
virtual

Get the confidenceThreshold.

Parameters
threshthreshold of the confidence.
Returns
value of confidence Threshold.

◆ interactionMode()

virtual bool recognition_IDL::interactionMode ( const std::string &  mode)
virtual

Interaction Mode .

Parameters
modeuse lift arm or closest face. Can be liftArm or closeFace, default is liftArm.
Returns
true/false on success/failure.

◆ quit()

virtual bool recognition_IDL::quit ( )
virtual

Quit the module.

Returns
true/false on success/failure.

◆ setConfidenceThreshold()

virtual bool recognition_IDL::setConfidenceThreshold ( const double  thresh)
virtual

Set the confidenceThreshold.

Parameters
threshthreshold of the confidence.
Returns
true/false on success/failure.

◆ train()

virtual bool recognition_IDL::train ( const std::string &  name)
virtual

Train a face.

Parameters
namename of the label to assign.
Returns
true/false on success/failure.

The documentation for this class was generated from the following file: