Main MRPT website > C++ reference for MRPT 1.9.9
CCascadeClassifierDetection.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 
10 #ifndef CCascadeClassifierDetection_H
11 #define CCascadeClassifierDetection_H
12 
14 
15 namespace mrpt
16 {
17 namespace detectors
18 {
19 /**
20  * \ingroup mrpt_detectors_grp
21  */
23 {
24  public:
26 
28 
29  /** Initialize cascade classifier detection */
30  virtual void init(const mrpt::config::CConfigFileBase& cfg);
31 
32  protected:
33  /** Detect objects in a *CObservation
34  * \return A vector with detected objects
35  */
36 
37  virtual void detectObjects_Impl(
39 
40  /** Cascade classifier object */
41  void* m_cascade;
42 
43  struct TOptions
44  {
46  double scaleFactor;
48  int flags;
49  int minSize;
50  /** Cascade classifier options */
51  } m_options;
52 
53 }; // End of class
54 }
55 }
56 
57 #endif
mrpt::detectors::CCascadeClassifierDetection::TOptions::minSize
int minSize
Definition: CCascadeClassifierDetection.h:49
mrpt::detectors::CCascadeClassifierDetection
Definition: CCascadeClassifierDetection.h:22
mrpt::detectors::CCascadeClassifierDetection::TOptions
Definition: CCascadeClassifierDetection.h:43
CObjectDetection.h
mrpt::detectors::CCascadeClassifierDetection::m_cascade
void * m_cascade
Cascade classifier object.
Definition: CCascadeClassifierDetection.h:41
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition: CKalmanFilterCapable.h:30
mrpt::detectors::CCascadeClassifierDetection::~CCascadeClassifierDetection
virtual ~CCascadeClassifierDetection()
Definition: CCascadeClassifierDetection.cpp:52
mrpt::detectors::CCascadeClassifierDetection::m_options
struct mrpt::detectors::CCascadeClassifierDetection::TOptions m_options
mrpt::detectors::CObjectDetection
Definition: CObjectDetection.h:24
mrpt::detectors::CCascadeClassifierDetection::TOptions::minNeighbors
int minNeighbors
Definition: CCascadeClassifierDetection.h:47
mrpt::config::CConfigFileBase
This class allows loading and storing values and vectors of different types from a configuration text...
Definition: config/CConfigFileBase.h:44
mrpt::detectors::CCascadeClassifierDetection::detectObjects_Impl
virtual void detectObjects_Impl(const mrpt::obs::CObservation *obs, vector_detectable_object &detected)
Detect objects in a *CObservation.
Definition: CCascadeClassifierDetection.cpp:91
mrpt::detectors::CCascadeClassifierDetection::TOptions::cascadeFileName
std::string cascadeFileName
Definition: CCascadeClassifierDetection.h:45
mrpt::detectors::CCascadeClassifierDetection::init
virtual void init(const mrpt::config::CConfigFileBase &cfg)
Initialize cascade classifier detection.
Definition: CCascadeClassifierDetection.cpp:63
mrpt::detectors::vector_detectable_object
std::vector< CDetectableObject::Ptr > vector_detectable_object
Definition: CObjectDetection.h:21
mrpt::detectors::CCascadeClassifierDetection::CCascadeClassifierDetection
CCascadeClassifierDetection()
Definition: CCascadeClassifierDetection.cpp:38
mrpt::obs::CObservation
Declares a class that represents any robot's observation.
Definition: CObservation.h:43
string
GLsizei const GLchar ** string
Definition: glext.h:4101
mrpt::detectors::CCascadeClassifierDetection::TOptions::scaleFactor
double scaleFactor
Definition: CCascadeClassifierDetection.h:46
mrpt::detectors::CCascadeClassifierDetection::TOptions::flags
int flags
Definition: CCascadeClassifierDetection.h:48



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST