Main MRPT website > C++ reference for MRPT 1.5.6
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:
25 
27 
28  virtual ~CCascadeClassifierDetection();
29 
30  /** Initialize cascade classifier detection */
31  virtual void init(const mrpt::utils::CConfigFileBase &cfg );
32 
33  protected:
34 
35  /** Detect objects in a *CObservation
36  * \return A vector with detected objects
37  */
38 
39  virtual void detectObjects_Impl(const mrpt::obs::CObservation *obs, vector_detectable_object &detected);
40 
41  void * m_cascade; //!< Cascade classifier object
42 
43  struct TOptions
44  {
46  double scaleFactor;
48  int flags;
49  int minSize;
50  }m_options; //!< Cascade classifier options
51 
52  }; // End of class
53  }
54 }
55 
56 #endif
std::vector< CDetectableObjectPtr > vector_detectable_object
This class allows loading and storing values and vectors of different types from a configuration text...
GLsizei const GLchar ** string
Definition: glext.h:3919
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Declares a class that represents any robot&#39;s observation.



Page generated by Doxygen 1.8.14 for MRPT 1.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019