Patent attributes
Disclosed is a control method for an infrared light source assembly (10). The method is used for an electronic device (100), wherein the electronic device (100) comprises a camera (20). The infrared light source assembly (10) comprises at least two infrared light sources (12) having different illumination ranges. The control method comprises: (S32) controlling the camera (20) so that same collects a face image; (S34) processing the face image to acquire face position information; and (S36) starting, according to the face position information, an infrared light source (12) having an illumination range corresponding to that into which a face falls, and turning off other infrared light sources (12) or keeping some turned off. Further disclosed are an electronic device (100) and a computer-readable storage medium (800).