question

cezar-pimentel avatar image
0 Votes"
cezar-pimentel asked romungi-MSFT commented

Azure Cognitive Services Vision / Face - How to detect if photo taken is from another photo

Hi there! I'm finishing a face recognition app that uses Azure Cognitive Services to identify users.

The problem is: I need to check if the photo taken by the user is a live picture from his face, or if he is taking a picture from another picture.

I mean, I need to check if a person is currently in the place he/she is meant to be, so I need a live photo from his/her face. Another colleague or co-worker could simply run the app and take a picture from another picture containing his friend face.

Is it possible to check if the picture taken is from a live face or a static picture taken previously and displayed on a smartphone or computer screen?

Thanks in advance!

azure-cognitive-servicesazure-computer-visionazure-face
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@cezar-pimentel Did the below suggestion help in your app design to check for liveness?

0 Votes 0 ·

1 Answer

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered

@cezar-pimentel You can detect head gestures like nodding and head shaking by tracking HeadPose changes in real time with your app. You can use this feature as a custom liveness detector. This is basically an attribute that is available with the detect API, by tracking this value by passing multiple frames to the detect API you can determine if an actual face or an image was used. I hope this helps!!


If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.