detect most near face to my web cam?

edited February 2016 in Kinect

i want to detect the face MOST NEAR to my web cam how can i do that ????


  • edited February 2016


  • edited February 2016 Answer ✓

    Unless you have a special camera that can detect distance you cannot truly detect 3D depth unless you have 2 or more cameras. With one camera however, like you just mentioned, you can estimate the closest point by size, whether something is in front of another object or the speed the object is travelling.

    A recent video explains this

  • THanks slambeetle ..actually i have to detect the face of driver in the car neglecting all other persons on back i am trying to do it by size.... I have another question how can I first detect face then eyes in processing .. i have haar cascade of both????

Sign In or Register to comment.