1. A method, comprising: acquiring, using a protection device, an image of an environment of an electronic apparatus; detecting, using the protection device, the presence of one or more human faces in the image acquired; estimating, using the protection device, a respective position of each face detected in relation to the apparatus; and sending a signal to the apparatus to enable a function of the apparatus based on a number of faces detected in the image and the estimated position of each detected face, wherein the estimation of the position of each detected face comprises estimating a distance between the apparatus and the detected face based on a ratio between a threshold human face distance and a value of a corresponding distance in the detected face.