Patent ID: 9514509
Filing Date: 2016-12-06
CPC Classification: G01B,G06F,G06K,G06T

Claim Text:
1. An electronic device comprising: a display screen having a preset screen size; a camera; at least one processor; and a storage device storing a mapping table, which comprises a plurality of distance ranges, and each of the plurality of distance ranges corresponding to a predetermined value; wherein, the storage device further stores one or more programs executable by the at least one processor; and wherein, one or more of the programs stored in the storage device cause the processor to: activate the camera to acquire a facial image of a user of the electronic device when the electronic device is activated to; designate a facial zone of the acquired facial image; determine a size of the designated facial zone; acquire a distance from the user to the electronic device; determine a distance range of the acquired distance by searching the mapping table; calculate a ratio of the determined size of the designated facial zone and the preset screen size; determine that the user is not an adult when the calculated ratio is less than the predetermined value corresponding to the determined distance range; and deactivate the electronic device after a first determined duration when the user is determined not to be an adult.