View on GitHub

Facedetect

A library wrapper for OpenCV. detect faces in (including YUV) images and output a bitmap for the found area.

Download this project as a .zip file Download this project as a tar.gz file

facedetect

A library wrapper for OpenCV's facedetection. Detect faces in YUV images and output a bitmap for the found area. Run the detect project as a demo.

Features:

  1. preloaded both old/new cascade file
  2. utility for YUV420/422 image/video input.
  3. allow raw pointer input so that user do not have to construct a cv::Mat himself.
  4. OpenCL classifier support

Other platform than Windows is not tested.

Hint: For ease of distribution, you may need to build OpenCV as static: In OpenCV CMake, uncheck BUILD_SHARD_LIBS and BUILD_WITH_STATIC_CRT.