vision
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
HaarDetector_ParamsParser Class Reference

#include <HaarDetector_ParamsParser.h>

Inheritance diagram for HaarDetector_ParamsParser:
HaarDetector

Classes

struct  parser_version_type
 

Public Member Functions

bool parseParams (const yarp::os::Searchable &config) override
 
std::string getDeviceClassName () const override
 
std::string getDeviceName () const override
 
std::string getDocumentationOfDeviceParams () const override
 
std::vector< std::string > getListOfParams () const override
 

Public Attributes

const std::string m_device_classname = {"HaarDetector"}
 
const std::string m_device_name = {"HaarDetector"}
 
bool m_parser_is_strict = false
 
const parser_version_type m_parser_version = {}
 
const std::string m_xmlCascade_defaultValue = {"haarcascade_frontalface_alt.xml"}
 
const std::string m_lbfModel_defaultValue = {"lbfmodel/lbfmodel.yaml"}
 
std::string m_xmlCascade = {"haarcascade_frontalface_alt.xml"}
 
std::string m_lbfModel = {"lbfmodel/lbfmodel.yaml"}
 

Detailed Description

This class is the parameters parser for class HaarDetector.

These are the used parameters:

Group name Parameter name Type Units Default Value Required Description Notes
- xmlCascade string - haarcascade_frontalface_alt.xml 0 Haar cascade model file -
- lbfModel string - lbfmodel/lbfmodel.yaml 0 LBF model file -

The device can be launched by yarpdev using one of the following examples (with and without all optional parameters):

yarpdev --device HaarDetector --xmlCascade haarcascade_frontalface_alt.xml --lbfModel lbfmodel/lbfmodel.yaml
yarpdev --device HaarDetector

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