title: Real Face Recognition
body: <p>I am developing an Android app where I have to capture the real image of a person as soon as camera detected a face.<br>
  The challenge here is even a flat pic of any person is also detected as a face.<br>
  So just looking around a way to give a message to user that the pic is not a real person.</p>
  
  <p>Tried looking some of the solutions like opencv and tensorflow but looks like there is no such way available where it can differentiate a real person vs image of a person using a single front camera or look for a way to differentiate between 3d face and flat face.</p>
  
  <p>If anyone knows any solution where a real face can be differentiated from a image of a person, please let me know.</p>