New code found in Samsung's Android Pie update suggests that the company's upcoming Galaxy S10 may include support for 3D face recognition. While today's Galaxy models already have face recognition, Samsung's offerings are far less secure than Apple uses with Face ID, for example. The reason is simply that Samsung's implementation relies on a 2D map of the user's face, and as a result, the devices can easily lurk with images and video.
With regard to the recently discovered code XDA Developers found data strings referring to Time of Flight cameras, technology commonly used with 3D mapping, and which can help distinguish between a 2D image and an actual 3D face.
"As was previously rumored, there is evidence that at least one upcoming Samsung Galaxy smartphone will use a ToF sensor, the report says." Hidden within the code of Samsung's system application that is responsible for handling face biometric authentication is new Fields and methods that explicitly mention a ToF camera. "
The news should not come as much of a surprise given that rumors about Samsung's plan to significantly increase the reliability and security of the face recognition feature have made the rounds for several months now. The rumors spread, it would be interesting to see how close Samsung's implementation will end up with Face ID on Apple's current iPhone XR and XS.
What remains unclear, however, is whether the enhanced face recognition feature will be implemented on all Galaxy S1