Main MRPT website > C++ reference for MRPT 1.4.0
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-2016, 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
15namespace mrpt
16{
17 namespace detectors
18 {
19 /**
20 * \ingroup mrpt_detectors_grp
21 */
23 {
24 public:
25
27
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
40
41 void * m_cascade; //!< Cascade classifier object
42
43 struct TOptions
44 {
45 std::string cascadeFileName;
46 double scaleFactor;
48 int flags;
50 }m_options; //!< Cascade classifier options
51
52 }; // End of class
53 }
54}
55
56#endif
virtual void detectObjects_Impl(const mrpt::obs::CObservation *obs, vector_detectable_object &detected)
Detect objects in a *CObservation.
virtual void init(const mrpt::utils::CConfigFileBase &cfg)
Initialize cascade classifier detection.
Declares a class that represents any robot's observation.
This class allows loading and storing values and vectors of different types from a configuration text...
std::vector< CDetectableObjectPtr > vector_detectable_object
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.



Page generated by Doxygen 1.9.7 for MRPT 1.4.0 SVN: at Tue Jun 27 17:12:06 UTC 2023