36#ifndef _vpDetectorFace_h_
37#define _vpDetectorFace_h_
39#include <visp3/core/vpConfig.h>
41#if defined(HAVE_OPENCV_OBJDETECT)
45#include <opencv2/highgui/highgui.hpp>
46#include <opencv2/imgproc/imgproc.hpp>
47#include <opencv2/objdetect/objdetect.hpp>
49#include <visp3/detection/vpDetectorBase.h>
102 bool detect(
const cv::Mat &frame_gray);
103 void setCascadeClassifierFile(
const std::string &filename);
virtual bool detect(const vpImage< unsigned char > &I)=0
cv::Mat m_frame_gray
OpenCV image used as input for the face detection.
std::vector< cv::Rect > m_faces
Bounding box of each detected face.
virtual ~vpDetectorFace()
cv::CascadeClassifier m_face_cascade
Haar cascade classifier file name.
Definition of the vpImage class member functions.