Google Vision Api: Differentiate Real Face and A P

2019-09-16 21:07发布

I'm trying develop a facial recognition system. But the issue is it can be by-passed by a photo. I'm using google vision api to detect faces. Is there a way to avoid detecting faces in a photo? Just want to know if there is a real person standing in front of the camera.

1条回答
疯言疯语
2楼-- · 2019-09-16 21:47

The Google Vision API does not support distinguishing between a real face and a face in a photo.

There are a number of ways that you might try to do this in general. Perhaps the most reliable way would be to use stereo cameras or 3D depth sensors to infer the 3D structure of the face from different viewpoints -- a real face and a photo of a face would obviously have a different 3D structure.

查看更多
登录 后发表回答