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-2017, 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::utils::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
struct mrpt::detectors::CCascadeClassifierDetection::TOptions m_options
virtual void detectObjects_Impl(const mrpt::obs::CObservation *obs, vector_detectable_object &detected)
Detect objects in a *CObservation.
This class allows loading and storing values and vectors of different types from a configuration text...
GLsizei const GLchar ** string
Definition: glext.h:4101
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::vector< CDetectableObject::Ptr > vector_detectable_object
virtual void init(const mrpt::utils::CConfigFileBase &cfg)
Initialize cascade classifier detection.
Declares a class that represents any robot&#39;s observation.
Definition: CObservation.h:41



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019