Ask Your Question

face detection sample

asked 2013-04-03 06:20:34 -0500

pocahentez gravatar image

hi,i have a few question concerning the face detection sample.What does the face detection provides ? does it provide a pose with respect to the camera ? a 3D point in the camera reference frame ? (and if yes, how are the camera axis defined ?)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-04-03 06:31:48 -0500

Face detection demo is based on the Viola & Jones approach. This approach takes a sliding window approach over the input and tests if the window can be classified as a face. If so, the window is stored as a bounding box of a detection.

As a cleaning step, the algorithm goes over all bounding boxes and sees where there is a lot of overlap. There he creates a single bounding box with average dimensions.

So the end result is a set of bounding boxes, containing coordinate of upper left corner, the width and the height, according to the openCV coordinate system.

edit flag offensive delete link more


So basically this demo will not provide you with any 3D information such as pose estimation. If you want that, you will need to calibrate your camera and use some sort of stereo vision to define the position of the person.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-03 06:33:09 -0500 )edit

actually i'm using vuforia sdk and i want to change the tracking part of the vuforia sdk by using the opencv. i have a calibrated vuforia camera. i don't know how can i use the detected face?

pocahentez gravatar imagepocahentez ( 2013-04-03 08:13:48 -0500 )edit

Vuforia is not openCV and thus this is not the place for adapting vuforia software. I can only help you out with OpenCV related problems.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-03 08:23:29 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-04-03 06:20:34 -0500

Seen: 1,228 times

Last updated: Apr 03 '13