# opentl::cvprocess::FaceDetect Class Reference

List of all members.

## Public Member Functions
| FaceDetect (std::string fname)
int | findFaces (const opentl::core::cvdata::Image *img, std::vector< opentl::math::Vector4 > &boundingRect)
| findsFaces with the algorithm of Viola Jones
LIB_DEPRECATED int | findFaces (opentl::core::cvdata::Image *img, std::vector< CvRect > &boundingRect, int rescale=1)
| ~FaceDetect ()

## Constructor & Destructor Documentation

opentl::cvprocess::FaceDetect::FaceDetect | ( | std::string | fname | ) |

opentl::cvprocess::FaceDetect::~FaceDetect | ( |  | ) |

## Member Function Documentation

int opentl::cvprocess::FaceDetect::findFaces | ( | const opentl::core::cvdata::Image * | img,
|  | std::vector< opentl::math::Vector4 > & | boundingRect |
| ) |  |  |

findsFaces with the algorithm of Viola Jones

Parameters:

  | *img | Pointer to the input image
  | boundingRect | Result Vector of Vector4's with the elements (x,y,width, height)

LIB_DEPRECATED int opentl::cvprocess::FaceDetect::findFaces | ( | opentl::core::cvdata::Image * | img,
|  | std::vector< CvRect > & | boundingRect,
|  | int | rescale = `1` |
| ) |  |  |