主权项 |
1. A method for taking a photographic image of a face by an electronic device, the electronic device comprising at least one processor, a speaker, a storage device, and a camera, the method comprising:
detecting, by the at least one processor, an activation of the camera; controlling, using the at least one processor, the speaker to emit sound from an audio file stored in the storage device to draw attention of a target; increasing, using the at least one processor, a volume of the emitted sound or replacing the audio file with another audio file when a face of the target is not detected by the camera within a predetermined time from the detected activation of the camera, wherein the volume of the emitted sound is increased according to a predetermined relationship between distances to the target from the camera; and triggering the camera to take an image of the target when the face of the target is facing the camera. |