class mrpt::detectors::CObjectDetectionΒΆ

#include <mrpt/detectors/CObjectDetection.h>

class CObjectDetection
{
public:
    //
methods

    virtual void init(const mrpt::config::CConfigFileBase& cfg) = 0;

    void detectObjects(
        const mrpt::obs::CObservation::Ptr obs,
        vector_detectable_object& detected
        );

    void detectObjects(
        const mrpt::obs::CObservation& obs,
        vector_detectable_object& detected
        );

    void detectObjects(
        const mrpt::img::CImage* img,
        vector_detectable_object& detected
        );
};

// direct descendants

class CCascadeClassifierDetection;
class CFaceDetection;

MethodsΒΆ

virtual void init(const mrpt::config::CConfigFileBase& cfg) = 0

Initialize the object with parameters loaded from the given config source.