1. Technical Field
The present disclosure relates to electronic devices and, particularly, to an electronic device and a method of turning on or unlocking the device.
2. Description of Related Art
A user often inputs a password to turn on or unlock an electronic device. However, the password is easily hacked or stolen by an illegal user, leading to data of legal users going missing.
Therefore, what is needed is an electronic device and a method of turning on or unlocking the device to overcome the described limitations.
As shown in
The capturing control module 420 controls the capturing unit 10 to capture a predetermined number of facial images in response to an input for turning on or unlocking the electronic device 1. In one embodiment, the capturing control module 420 controls the capturing unit 10 to successively capture a predetermined number of facial images in response to input from a user to turn on or unlock the electronic device 1.
The image acquiring module 430 acquires a clear facial image from the predetermined number of facial images. In one embodiment, the image acquiring module 430 acquires a facial image having facial contours the same as the clear facial image.
The image processing module 440 performs an image processing for the clear facial image to obtain a facial feature. The facial feature reflects the characters of a the face of a user, a birthmark, a nose, a shape of a face, for example. The feature determination module 450 determines whether there is one matched facial feature in the storage unit 20 matching with the facial feature of the clear facial image. When there is one matched facial image in the storage unit 20, the user is legal, and the feature determination module 450 turns on or unlocks the electronic device 1. When there is no matched facial image in the storage unit 20, the user is illegal, and the electronic device 1 is not turned on or unlocked. Therefore, only a legal user can use and operate the electronic device 1.
Furthermore, the storage unit 20 stores the parameters of each facial feature. For example, the parameters may include a size of a birthmark, a size of a nose, a shape of a face, for example. The feature determination module 450 analyzes the facial feature of the clear facial image to obtain the parameters of the facial feature of the clear facial image and compare the parameters of the facial feature with the parameters of the stored facial image. When all differences between the parameters of the clear facial image and the parameters of the stored facial image are within a predefined range, the feature determination module 450 determines that there is one matched facial image in the storage unit 20 and turns on or unlocks the electronic device 1.
In addition, the capturing control module 420 further controls the capturing unit 10 to capture the predetermined number of facial images again when there is no facial image in the storage unit 20 matching with the clear facial image.
Additionally, the electronic device 1 further includes a flash 30. The processing unit 40 further includes a sensing module 400 and a light determination module 410. The sensing module 400 senses a level of ambient light surrounding the electronic device 1. The light determination module 410 controls the sensing module 400 to sense the level of ambient light before the capturing unit 10 captures the facial images and determines whether the level of the ambient light is sufficient. If the level of the ambient light is not sufficient, the flash 30 is turned on. If the level of the ambient light is sufficient, the capturing unit 10 captures the facial images.
In step S310, the electronic device 1 responds to an input from a user to turn on or unlock the electronic device 1.
In step S320, the sensing module 400 senses a level of ambient light surrounding the electronic device 1 and the light determination module 410 determines whether the level of the ambient light is sufficient.
In step S330, if the level of the ambient light is not sufficient, the flash 30 is turned on. If the level of the ambient light is sufficient, the step goes on S340.
In step S340, the capturing control module 420 controls the capturing unit 10 to successively capture a predetermined number of facial images.
In step S350, the image acquiring module 430 acquires a clear facial image from the predetermined number of facial images.
In step S360, the image processing module 440 performs an image processing for the clear facial image to obtain a facial feature of the clear facial image.
In step S370, the feature determination module 450 determines whether there is one facial feature in the storage unit 20 matching with the facial feature of the clear facial image.
In step S380, If there is one matched facial image in the storage unit 20, the feature determination module 450 turns on or unlocks the electronic device 1. If there is no matched facial image in the storage unit 20, the step returns to S340, the capturing control module 420 further controls the capturing unit 10 to capture the predetermined number of facial images again.
Although the present disclosure has been specifically described on the basis of the embodiments thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiments without departing from the scope and spirit of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
100132785 | Sep 2011 | TW | national |