MRPT  1.9.9
CCascadeClassifierDetection.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | https://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2019, Individual contributors, see AUTHORS file |
6  | See: https://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See: https://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 
10 #pragma once
11 
13 
14 namespace mrpt::detectors
15 {
16 /**
17  * \ingroup mrpt_detectors_grp
18  */
20 {
21  public:
23 
25 
26  /** Initialize cascade classifier detection */
27  void init(const mrpt::config::CConfigFileBase& cfg) override;
28 
29  protected:
30  /** Detect objects in a *CObservation
31  * \return A vector with detected objects
32  */
33 
34  void detectObjects_Impl(
35  const mrpt::obs::CObservation& obs,
36  vector_detectable_object& detected) override;
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 } // namespace mrpt::detectors
struct mrpt::detectors::CCascadeClassifierDetection::TOptions m_options
std::vector< CDetectableObject::Ptr > vector_detectable_object
void detectObjects_Impl(const mrpt::obs::CObservation &obs, vector_detectable_object &detected) override
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:4116
void init(const mrpt::config::CConfigFileBase &cfg) override
Initialize cascade classifier detection.
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: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019