I have a use case to do a liveness check (e.g. detect fake/static faces on camera) and was wondering if Oak-D can do it making use of the depth information?
I am not an expert but tried and failed
- using the depth frame after detecting the face (eg try to see if depth of pixels near centroid are changing and not flat like a screen but the depth seem to flicker regardless)
- estimate the height of subject (I tried some formula but inaccurate, #height=detection.spatialCoordinates.z/(pixel height)/focal length (4.52mm?)). It will filter small faces in camera but a actual size printed face would defeat this I guess.
I read about getting 3d position of face landmark and am not sure if anyone tried and got one to share (though I think a printed face that is contour to a person's face will defeat it again)?
Thanks
Is there someone who had a similar use case and found success?