Measure distance by camera

Hi all,

I could like to develop regarding measure distance by camera to prevent the child too close the screen and prompt the message. Is any build in function or external function like this?

e.g. Define 30cm, under the distance then prompt message screen


No, this is impossible. There is no sensor that can detect how close an object (or child) is to the Android screen nor can the Camera be used to poll a distance to an object continuously.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.