Patent ID: 8634602

Claim:
An electronic device with a function of searching images based on a facial feature comprising: a capturing unit configured to capture facial images; a storage unit configured to store a plurality of images; an acquiring module configured to acquire a facial feature of the facial image captured by the capturing unit; a searching module configured to search for images that include the acquired facial feature from the plurality of images stored in the storage unit; a folder establishing module configured to establish a new folder and store the searched images to the established new folder; a prompting module configured to prompt a user whether to encrypt the new folder; and an encrypting module configured to take the acquired facial feature as an encryption key to encrypt the new folder when the user selects to encrypt the new folder; a validating module configured to prompt the user to input a facial image when the user wants to open the encrypted folder; and a decrypting module configured to decrypt the encrypted folder when the acquired facial feature is consistent with the encryption key, wherein the acquiring module is further configured to acquire the facial feature of the facial image in response an image input operation from the user; and the validating module is further configured to validate whether the acquired facial feature is consistent with the encryption key for encrypting the folder.