face detect library

face detect library for processing
made with webcamxtra and openCV framework
jaegon lee, 2007

download

Face Detect Library 05b(intel mac)

installation

- install openCV framework(http://opencvlibrary.sourceforge.net/Mac_OS_X_OpenCV_Port) to ~/System/Library/Frameworks



- unzip 'facedetect05.zip'
- move 'FaceDetect' folder to 'Processing-0xx/library' folder and 'data' folder to your sketch folder

example code

face_example.pde(processing video library)
face_example_jmyron.pde(JMyron)

method

void start("haarcascade_frontalface_default.xml", int capture width, int capture height, int minimum face size = 20~) : start face detect library(05b)

int[][] face(PImage or int[]) : detects face(s), maximum 10 faces(not been tested yet)
- int[][0] : x
- int[][1] : y
- int[][2] : radius

test pictures