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::detectors
16 {
17 /**
18  * \ingroup mrpt_detectors_grp
19  */
21 {
22  public:
24 
26 
27  /** Initialize cascade classifier detection */
28  virtual void init(const mrpt::config::CConfigFileBase& cfg);
29 
30  protected:
31  /** Detect objects in a *CObservation
32  * \return A vector with detected objects
33  */
34 
35  virtual void detectObjects_Impl(
37 
38  /** Cascade classifier object */
39  void* m_cascade;
40 
41  struct TOptions
42  {
44  double scaleFactor;
46  int flags;
47  int minSize;
48  /** Cascade classifier options */
49  } m_options;
50 
51 }; // End of class
52 }
53 #endif
54 
55 
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.
virtual void init(const mrpt::config::CConfigFileBase &cfg)
Initialize cascade classifier detection.
std::vector< CDetectableObject::Ptr > 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:4101
Declares a class that represents any robot&#39;s observation.
Definition: CObservation.h:43



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020