Definition at line 22 of file CCascadeClassifierDetection.h.
#include <mrpt/detectors/CCascadeClassifierDetection.h>
Classes | |
struct | TOptions |
Public Member Functions | |
CCascadeClassifierDetection () | |
virtual | ~CCascadeClassifierDetection () |
virtual void | init (const mrpt::utils::CConfigFileBase &cfg) |
Initialize cascade classifier detection. More... | |
void | init (const std::string &configFile) |
Initialize the object with parameters loaded from the given config file. More... | |
void | detectObjects (const mrpt::obs::CObservationPtr obs, vector_detectable_object &detected) |
void | detectObjects (const mrpt::obs::CObservation *obs, vector_detectable_object &detected) |
void | detectObjects (const mrpt::utils::CImage *img, vector_detectable_object &detected) |
Protected Member Functions | |
virtual void | detectObjects_Impl (const mrpt::obs::CObservation *obs, vector_detectable_object &detected) |
Detect objects in a *CObservation. More... | |
Protected Attributes | |
void * | m_cascade |
Cascade classifier object. More... | |
struct mrpt::detectors::CCascadeClassifierDetection::TOptions | m_options |
Cascade classifier options. More... | |
CCascadeClassifierDetection::CCascadeClassifierDetection | ( | ) |
Definition at line 37 of file CCascadeClassifierDetection.cpp.
References THROW_EXCEPTION.
|
virtual |
Definition at line 49 of file CCascadeClassifierDetection.cpp.
References CASCADE.
|
inlineinherited |
Definition at line 38 of file CObjectDetection.h.
Referenced by mrpt::detectors::CFaceDetection::detectObjects_Impl().
|
inlineinherited |
Definition at line 43 of file CObjectDetection.h.
|
inherited |
Definition at line 24 of file CObjectDetection.cpp.
References mrpt::obs::CObservationImage::image, mrpt::system::now(), mrpt::utils::CImage::setFromImageReadOnly(), and mrpt::obs::CObservation::timestamp.
|
protectedvirtual |
Detect objects in a *CObservation.
Implements mrpt::detectors::CObjectDetection.
Definition at line 85 of file CCascadeClassifierDetection.cpp.
References CASCADE, mrpt::utils::FAST_REF_OR_CONVERT_TO_GRAY, mrpt::utils::CImage::getAs(), mrpt::obs::CObservationImage::image, mrpt::obs::CObservationStereoImages::imageLeft, mrpt::obs::CObservation3DRangeScan::intensityImage, IS_CLASS, and mrpt::system::sleep().
|
inlineinherited |
Initialize the object with parameters loaded from the given config file.
Definition at line 29 of file CObjectDetection.h.
|
virtual |
Initialize cascade classifier detection.
Implements mrpt::detectors::CObjectDetection.
Definition at line 60 of file CCascadeClassifierDetection.cpp.
References CASCADE, mrpt::utils::CConfigFileBase::read_double(), mrpt::utils::CConfigFileBase::read_int(), and mrpt::utils::CConfigFileBase::read_string().
Referenced by mrpt::detectors::CFaceDetection::init().
|
protected |
Cascade classifier object.
Definition at line 41 of file CCascadeClassifierDetection.h.
|
protected |
Cascade classifier options.
Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |