vision
Loading...
Searching...
No Matches
HaarDetector_ParamsParser.h
1/*
2 * SPDX-FileCopyrightText: 2023-2023 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: LGPL-2.1-or-later
4 */
5
6
7// Generated by yarpDeviceParamParserGenerator (1.0)
8// This is an automatically generated file. Please do not edit it.
9// It will be re-generated if the cmake flag ALLOW_DEVICE_PARAM_PARSER_GERNERATION is ON.
10
11// Generated on: Thu Apr 17 19:21:21 2025
12
13
14#ifndef HAARDETECTOR_PARAMSPARSER_H
15#define HAARDETECTOR_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
18#include <yarp/dev/IDeviceDriverParams.h>
19#include <string>
20#include <cmath>
21
42class HaarDetector_ParamsParser : public yarp::dev::IDeviceDriverParams
43{
44public:
46 ~HaarDetector_ParamsParser() override = default;
47
48public:
49 const std::string m_device_classname = {"HaarDetector"};
50 const std::string m_device_name = {"HaarDetector"};
51 bool m_parser_is_strict = false;
53 {
54 int major = 1;
55 int minor = 0;
56 };
57 const parser_version_type m_parser_version = {};
58
59 const std::string m_xmlCascade_defaultValue = {"haarcascade_frontalface_alt.xml"};
60 const std::string m_lbfModel_defaultValue = {"lbfmodel/lbfmodel.yaml"};
61
62 std::string m_xmlCascade = {"haarcascade_frontalface_alt.xml"};
63 std::string m_lbfModel = {"lbfmodel/lbfmodel.yaml"};
64
65 bool parseParams(const yarp::os::Searchable & config) override;
66 std::string getDeviceClassName() const override { return m_device_classname; }
67 std::string getDeviceName() const override { return m_device_name; }
68 std::string getDocumentationOfDeviceParams() const override;
69 std::vector<std::string> getListOfParams() const override;
70};
71
72#endif
Definition HaarDetector_ParamsParser.h:43
Definition HaarDetector_ParamsParser.h:53