Public Member Functions | |
void | detect_and_draw (Mat &img, CascadeClassifier &cascade, CascadeClassifier &nestedCascade, double scale) |
FaceDetect (ros::NodeHandle &n) | |
void | image_callback (const sensor_msgs::ImageConstPtr &msg_ptr) |
~FaceDetect () | |
Public Attributes | |
CascadeClassifier | cascade_ |
String | cascade_name_ |
bool | display_ |
IplImage * | hist_image_ |
int | hsizes_ [2] |
Mat | image_ |
String | input_image_topic_ |
CascadeClassifier | nested_cascade_ |
String | nested_cascade_name_ |
String | port_name_ |
double | scale_ |
CvHistogram * | start_hist_ |
ros::Time | ts_ |
bool | yarp_image_ |
Protected Attributes | |
sensor_msgs::CvBridge | bridge_ |
ros::Publisher | face_pub_ |
image_transport::Subscriber | image_sub_ |
image_transport::ImageTransport | it_ |
ros::NodeHandle | n_ |
Definition at line 53 of file facedetect.cpp.
FaceDetect::FaceDetect | ( | ros::NodeHandle & | n | ) | [inline] |
Definition at line 73 of file facedetect.cpp.
FaceDetect::~FaceDetect | ( | ) | [inline] |
Definition at line 110 of file facedetect.cpp.
void FaceDetect::detect_and_draw | ( | Mat & | img, |
CascadeClassifier & | cascade, | ||
CascadeClassifier & | nestedCascade, | ||
double | scale | ||
) | [inline] |
Definition at line 154 of file facedetect.cpp.
void FaceDetect::image_callback | ( | const sensor_msgs::ImageConstPtr & | msg_ptr | ) | [inline] |
Definition at line 121 of file facedetect.cpp.
sensor_msgs::CvBridge FaceDetect::bridge_ [protected] |
Definition at line 268 of file facedetect.cpp.
CascadeClassifier FaceDetect::cascade_ |
Definition at line 60 of file facedetect.cpp.
String FaceDetect::cascade_name_ |
Definition at line 56 of file facedetect.cpp.
Definition at line 62 of file facedetect.cpp.
ros::Publisher FaceDetect::face_pub_ [protected] |
Definition at line 267 of file facedetect.cpp.
IplImage* FaceDetect::hist_image_ |
Definition at line 70 of file facedetect.cpp.
int FaceDetect::hsizes_[2] |
Definition at line 68 of file facedetect.cpp.
Definition at line 58 of file facedetect.cpp.
image_transport::Subscriber FaceDetect::image_sub_ [protected] |
Definition at line 266 of file facedetect.cpp.
Definition at line 59 of file facedetect.cpp.
image_transport::ImageTransport FaceDetect::it_ [protected] |
Definition at line 265 of file facedetect.cpp.
ros::NodeHandle FaceDetect::n_ [protected] |
Definition at line 264 of file facedetect.cpp.
CascadeClassifier FaceDetect::nested_cascade_ |
Definition at line 60 of file facedetect.cpp.
Definition at line 57 of file facedetect.cpp.
String FaceDetect::port_name_ |
Definition at line 59 of file facedetect.cpp.
double FaceDetect::scale_ |
Definition at line 61 of file facedetect.cpp.
CvHistogram* FaceDetect::start_hist_ |
Definition at line 69 of file facedetect.cpp.
Definition at line 71 of file facedetect.cpp.
Definition at line 62 of file facedetect.cpp.