shu223 / iOS-Depth-Sampler

Code examples for Depth APIs in iOS
MIT License
1.19k stars 101 forks source link

Can ARKit distinguish real world face from picture face? #10

Open malhobayyeb opened 4 years ago

malhobayyeb commented 4 years ago

I am using the ARKit to detect face with depthData.

However, I am not able to distinguish whether this face is a real world person or a picture placed in front of the device camera.

wolterlw commented 4 years ago

using depthData it should be trivial to see the difference. A picture is a flat object, while a real face is not.

csarigumba commented 2 years ago

Hey, I'm also trying to implement this feature. How can we check using the depth data if it is a real face or from a picture face?