3 #ifndef __HAAR_DETECTOR_HPP__
4 #define __HAAR_DETECTOR_HPP__
6 #include <yarp/dev/DeviceDriver.h>
8 #include <opencv2/objdetect.hpp>
10 # include <opencv2/face/facemark.hpp>
13 #include "IDetector.hpp"
27 bool open(yarp::os::Searchable& config)
override;
28 bool detect(
const yarp::sig::Image& inYarpImg, yarp::os::Bottle& detectedObjects)
override;
31 cv::CascadeClassifier object_cascade;
33 cv::Ptr<cv::face::Facemark> facemark;
Definition: HaarDetector.hpp:25
Interface for object detection.
Definition: IDetector.hpp:17
The main, catch-all namespace for Robotics Lab UC3M.
Definition: groups.dox:5