Detect real time face only [closed]

asked 2016-02-24 03:40:15 -0600

Mustansar Saeed gravatar image

Hi,

I am trying to detect real time face detection. I have run face-detection-sample but the problem is sample is also detecting the faces from images as well. How can I setup Open CV to detect real time faces and ignoring images??

Thanks in advance.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-10-21 09:01:13.254385

Comments

1

with a single rgb cam - you just can't.

berak gravatar imageberak ( 2016-02-24 04:00:28 -0600 )edit

How to achieve then???

Mustansar Saeed gravatar imageMustansar Saeed ( 2016-02-24 05:10:39 -0600 )edit

I am newbie to opencv so please recommend accordingly that how to achieve that??

Mustansar Saeed gravatar imageMustansar Saeed ( 2016-02-24 05:17:02 -0600 )edit

please understand, that it's impossible to do from a single 2d image.

berak gravatar imageberak ( 2016-02-24 05:55:54 -0600 )edit

Hmmmm. okay. I just wanted to know that is there any way to make two images or whatever to achieve this.

Mustansar Saeed gravatar imageMustansar Saeed ( 2016-02-24 06:33:29 -0600 )edit

I think your question has to be "How to differentiate between real-face and image-face?" And maybe the answer is in 3d vision or depth vision, but not in simple 2d image? You can search for the body if there is a face, but what if the image has the body too?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2016-02-24 07:16:12 -0600 )edit

How to do depth vision then? I just want to differential either its a real face or pictured face

Mustansar Saeed gravatar imageMustansar Saeed ( 2016-02-24 10:47:14 -0600 )edit

You can do it with 2 cameras or with a special camera. I have seen some approaches of depth image from only one moving camera, but I have no link to something like that, and I ma not sure what are the errors...

thdrksdfthmn gravatar imagethdrksdfthmn ( 2016-02-25 03:26:02 -0600 )edit