# Patent

## Title
Face recognition training method and apparatus

## Abstract

A device is trained for face recognition. A first acquired digital image of a scene includes a face. Face image data is extracted and stored in a face image library along with an unique identifier. A second acquired digital image may or may not include the face of the same person as the face in the first acquired digital image. Face recognition is applied to extracted face data of the second digital image, and the face of the first digital image is displayed as a match to the face of the second digital image when the first and second images are determined to match or the second digital image or a face therein is identified with biometric data stored along with the first digital image when the faces in the first and second images are determined to match.

## Background
PRIORITY
This application is a continuation-in-part (CIP) of U.S. patent application Ser. No. 12/042,104, filed Mar. 4, 2008, which claims the benefit of priority to U.S. patent application No. 60/893,114, filed Mar. 5, 2007, which are each incorporated by reference.


BACKGROUND
The invention relates to face recognition, particularly on a portable digital camera, camera-phone, embedded device, or handheld, attachable or otherwise portable processor-based device, or other digital image acquisition device.
Digital still cameras, mobile phones and other embedded devices typically have limited or inconvenient text input capabilities. This can make face recognition training inconvenient, for example, if the application requires that a person's name be typed in to identify the person corresponding to an acquired image of a face. It is desired to simplify this training process.
SUMMARY OF THE INVENTION
An application is provided for training a device for face recognition. A first acquired digital image of a scene includes a face. Face image data are stored in a face image library along with an unique identifier and/or biometric data. A second acquired digital image includes the face of the same person as the face in the first acquired digital image. Face recognition is applied to the second digital image, and an attempt is made to determine whether the face in the second digital image matches the face in the first digital image. If there is a match, then the face in the first image may be displayed along with the second image.
A series of preview images may be acquired, and candidate face regions may be extracted from successive frames. The method may further include maintaining location data and a cumulative confidence level that the candidate face region comprises a face. Based on information from the series of preview images, it may be determined that a face is present within a digital image. Manual input of further information, such as the person's name or other identifying indicia relating to the face, may be optionally received for storing with the face image data. The face may be automatically cropped and/or one or more non-facial items may be removed from the digital image, to generate a full-size face image for storage.
The method may further include displaying the face of the first digital image as a match to the face of the second digital image when the faces in the first and second digital images are determined to match. The second digital image may then be stored, including associating the first and second digital images and/or faces contained therein.
The method may include displaying a selectable set of one or more faces from the face image library as possible matches to the face of the second digital image when the faces in the selectable set are determined to have at least a predetermined probability of matching the face of the second digital image. A manual selection of a face from the selectable set may be provided. The second digital image is then stored including associating the selected face of the selectable set with the second digital image and/or the face contained therein.
The method may include assigning the face in the second digital image as a new face when the face in the second digital image is determined not to match any face in the face image library.
A portable digital camera or camera-equipped device having little or no text input capability will benefit with a configuration as described herein. For example, the back of the camera or camera-equipped device may include a user interface other than a keypad for entering text or may have text input capability that is cumbersome. The user can identify a person in an image using another biometric indicator, i.e., a non-text indicator such as the person's typed name. The indicator may have become associated with the image of the person's face in another way such as by the person himself or herself prior to sending to the user, or by storing the image with the biometric data on a Facebook page which is downloadable by the user, or input by a third party.
The indicator may be audio, e.g., the person's name spoken into a microphone, or visual, e.g., a cropped image of the person's face or a face feature or another feature of the person (e.g., hair, eyes, a unique personal artifact such as jewelry, the person's car or house, a family member, a national flag), or combinations of images, which may be retrieved from a library or database stored on the camera or on another device connected to the camera, or some other indicator.
The information stored in the library or database preferably includes both biometric data and face data in certain embodiments. In this way, a face recognition program, which may be fully automatic, semi-automatic with optional or required manual input, or in other embodiments a fully or nearly fully manual process, matches the face in a recently acquired image with a face in the database. Then, because the face in the database is stored along with biometric data identifying the person, the face in the recently acquired image is identified without the need for a user to type in the person's name.
Advantageously, face recognition is applied to extracted face data of a second digital image, and the face of a first digital image stored in a database is displayed as a match to the face of the second digital image, and/or the second digital image or a face therein is identified with biometric data stored along with the first digital image, in either case when the faces in the first and second images are determined to match. This feature makes biometric identification of person's captured in images with a camera or camera-equipped device convenient for the user.
One or more computer readable media are also provided that are encoded with a computer program for programming one or more processors to perform any of the methods described herein.
A digital image acquisition device is also provided that includes a lens, an image sensor, a processor, and a memory having embedded therein processor-readable code for programming the processor to perform any of the methods of face recognition training described herein.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates a method of face categorization and annotation of a face image library including cropping of the face in accordance with certain embodiments.
FIG. 2 illustrates a face annotation method involving use of reference images in accordance with certain embodiments.
FIG. 3 illustrates a face annotation method involving manual input of identifying indicia in accordance with certain embodiments.
FIG. 4 illustrates a face annotation method including image processing enhancement of the face in accordance with certain embodiments.
FIG. 5 illustrates a method of face detection and identification including automatic transmission of an acquired image in accordance with certain embodiments.
FIG. 6 illustrates a method of face categorization and annotation of a face image library including a selected level of cropping of the face in accordance with certain embodiments.
FIG. 7 illustrates a method of face annotation including replacing a portion of the face from an image store in accordance with certain embodiments.
FIG. 8 illustrates a method of face detection and face recognition in accordance with certain embodiments.
FIG. 9 illustrates a method of face recognition training in accordance with certain embodiments.



DETAILED DESCRIPTION OF THE EMBODIMENTS
An advantageous method is provided for face categorization and annotation of a face image library. A digital image acquisition device such as a mobile camera phone or other handheld camera device, acquires a digital image of a scene that includes a face. The face is automatically cropped or one or more non-facial items is/are removed from the digital image, or both, and a full-size face image is generated. The full-size face image is stored in a face image library along with other indicia identifying a person corresponding to the face.
A Contact List may be used to link known or unknown, recognized or unrecognized, faces with personal contacts. Communications may be provided for performing additional services with images. Faces may be assigned to contacts and/or a user interface, wherein image quality is improved by cropping and/or otherwise cleaning up the image, e.g., to include only faces or to make the face a certain size. A photographically captured face may be assigned to a built-in contact management system of a handheld device.
A picture may be taken, e.g., by a mobile camera-enabled device of any kind. Multiple images may also preferably be captured around the time the picture was taken which are preview, postview or reference images (together “reference images”), typically having lower resolution than the main picture. A face detection routine then finds any faces in the picture with or without the use of the reference images. The picture can be enhanced using one or more of the reference images, e.g., to add illumination, to replace a frown with a smile, to replace a blink with an open eye, or to add an otherwise occluded feature to a face. An enhanced image of a face in the picture is provided by cropping or otherwise processing the picture with or without using the reference images, and/or using the reference images to provide a better image of the face detected in the picture.
The face may be recognized or unrecognized. If it is unrecognized, then it can be added to a contacts list, along with image metadata and whatever other information a user may wish to add. If it is recognized, then the picture may be added as another look of a same person (e.g., with or without a beard, hat, glasses, certain jewelry, smiling or frowning, eyes open or blinking, one profile or the other or straight on, etc.), or just a smile, e.g., from the new picture may be added over the frown of the man picture which is otherwise kept.
A technique is provided for tracking faces in a series of images on handheld mobile devices.
In one aspect, face categorization is enhanced using a built in contact book in the phone or other mobile device.
In another aspect, a workflow and GUI are provided, wherein a user takes a picture that is associated with a name in a contact book and uses face-tracking. The phone can crop the image as well as clean it up, e.g., to keep only the face. An advantage is that with this software, saving a face to a contact becomes useful as opposed to assigning a random picture which means in some cases the face may be so small that it may not be distinguishable or resolvable. Any of the techniques described herein may be combined with those described at U.S. Pat. Nos. 6,407,777, 7,310,450, 7,315,630, 7,336,821, 7,460,695, and 7,315,631, and US published application no. 2006/0204110, 2006/0285754, 2006/0120599, 2006/0140455, 2006/0098890, 2007/0201725, 2008/0031498 and 2007/0110305, and U.S. application Ser. Nos. 10/764,339, 12/063,089, 12/026,484, 11/861,854, 11/753,098, 11/752,925, 11/833,224, 10/763,801, 60/829,883, 11/753,397, 11/766,674, and 11/773,868, which are assigned to the same assignee and are hereby incorporated by reference.
FIG. 1 illustrates a method of face categorization and annotation of a face image library including cropping of the face in accordance with certain embodiments. A digital image is acquired at 102 including a face. The face is then automatically cropped at 104 and/or a non-facial item is removed from the digital image at 106. A full-size face image is generated at 108. The full-size face image is stored at 110 with indicia identifying a person corresponding to the face.
A digital camera may employ a face tracker which analyzes a preview image stream and extracts candidate face regions from successive frames of the preview image stream. These candidate regions are made available within the camera for additional image processing. A detailed description is given in U.S. Pat. No. 7,315,631, which is incorporated by reference. The face tracker maintains a history of each candidate face region including location data and a cumulative confidence level that the candidate region is indeed a face.
FIG. 2 illustrates a face annotation method involving use of reference images in accordance with certain embodiments. A series of reference images are acquired at 202. The reference images may be preview or post-view images, or images acquired with a different sensor than the main image at the same time or at a different time than the acquisition of the main image, at full or low resolution (see, e.g., U.S. application 60/945,558, incorporated by reference). One or more candidate face regions are extracted from successive frames at 204. Location data and a cumulative confidence level that each candidate face region comprises a face are maintained at 206. The main image is acquired at 208 including a face. Based on the reference images, it is determined at 210 that the face is present within the main image. The face is automatically cropped at 212 and/or one or more non-facial items are removed form the digital image at 214. A full-size face image is then generated at 216 based on 212 and/or 214. A full-size face image is stored with indicia identifying a person corresponding to the face at 218.
Certain embodiments involve devices such as hand held communication devices such as mobile phones, that have a “phone book” built into the device. Face detection is tied into a process wherein a user can assign a photographically-acquired face to an existing or a new contact. Moreover, the image-processing unit can provide a saved region corresponding to the captured face, e.g., using cropping and/or removing other unnecessary details and/or by building a whole face from partial face images and/or brightening a poorly illuminated or rotated or tilted or partially-occluded face, or a face with red-eye, white eye or golden eye defects, or other blemishes possibly induced by dust artifacts in the imaging system of the camera, for what may be otherwise a good picture of a particular contact, among other processing that is possible (see cited references below).
Example
The process can be directed from the phone book or from camera software. For example:

    
    
        1. In the Contact manager: Create new item
        2. In the contact manager: option to insert new data
        3. In the contact manager: Option to assign picture which will then:
        4. let the user select: Camera or albums.
        5. For Camera, the user will take a picture of a subject and the camera will save the cropped image.
        6. For the Album, the handset will display the captured images with faces, and the user can select the right picture.
        7. Returning to the contact manager: The face will be assigned to the contact.

Starting from the Camera system:

        a. When the user grabs a picture (and optionally a face is detected) and has an option to save image or to “assign face to a contact”
        b. The user will then select an existing contact or create a new contact to assign the face to.

The system can also be connected to a face recognition subsystem.

    
    


In other embodiments, the image acquisition appliance includes a smartphone which incorporates full mobile phone capability as well as camera capabilities. In this embodiment the recognition subsystems perform an analysis of detected face regions, and extract a pattern of DCT feature vectors, and determine if such face regions match with any of a set of “known” patterns. These “known” patterns will typically have been derived from a larger image collection stored on a user's PC or in a web service and match people in the user's friends, colleagues and family, but it may be stored on the mobile device. We remark that each person may be associated with more than one pattern and people can have different appearances at different times. If a face region matches a “known” pattern, then that face region, and the image it was extracted from, can be associated with the “known” pattern and the person that pattern is linked to. Some aspects of associating multiple face recognition patterns, or “faceprints” with individual persons, or “contacts”, are described at U.S. patent application Ser. No. 10/764,339, which is hereby incorporated by reference. Some recognition functions may be performed on a mobile device and the remainder on a desktop PC.
Initial training or learning may be performed outside the phone, e.g., in an expert system format, because better results in training and associating patterns with people can initially be achieved with larger image collections. Nevertheless it is possible to implement training, from scratch, within the device, although the process may be tedious for a casual user.
Certain embodiments provide for the creation of linkages between the known patterns of a face recognition system, and a phone contact list of a user. This can be achieved either through uploading a contact list onto a user's PC and performing association through a direct matching of face regions associated with each “known” pattern with a member of a contact list. Alternatively, it can be achieved on the phone by cycling through “known” patterns and displaying associated face regions.
In other embodiments, ease of usability of contact management is provided on a hand-held device using a built in camera.
Advantageously, a frame is cropped in certain embodiments herein to more substantially fill the frame with the face.
Furthermore, using the camera in connection with a built in contact management of a device enables use of the mobile phone as an annotation device for improving the quality of the recognition process and creating links between newly determined recognition patterns and the contact list, e.g., through a single user action. It relies on the fact that many images will either contain “unknown” people or that “known” people will occasionally be captured with a different appearance from their normal set of patterns. When such unrecognized facial regions are detected by the recognition subsystem, it displays an extracted face region on the screen and prompts the user to associate this “new” region with a member of the contact list. In alternative embodiments, the region may have a probabilistic association with members of the contact list and these may be ordered according to the determined probabilities.
FIG. 3 illustrates a face annotation method involving manual input of identifying indicia in accordance with certain embodiments. A digital image is acquired at 302 including a face. The face is then automatically cropped at 304 and/or a non-facial item is removed from the digital image at 306. A full-size face image is generated at 308. The full-size face image is displayed at 310. The user may be prompted to identify a face at 312, after which manual input may be received at 314. A list of probably members may be displayed at 316 from which a selection may be received from the list at 318. Finally, the full-size face image is stored with indicia identifying the person corresponding to the face.
The face-tracking system, discussed above with reference to FIG. 2, may also automatically rotate the image when determined to be advantageous based on the detection of a face at a particular angle. The software may allow “rotating” the face if it is not full frontal.
FIG. 4 illustrates a face annotation method including image processing enhancement of the face in accordance with certain embodiments. A digital image is acquired at 402 including a face. The face is then automatically cropped at 404 and/or a non-facial item is removed from the digital image at 406. A full-size face image is generated at 408. Several image processing options are available. A whole face may be built from two or more partial facial images at 410. A poorly illuminated face may be brightened at 412. A rotated face may be rotated right or left at 414 or up or down at 416, or in a random direction. An eye defect may be corrected at 418, such as red eye 420, white eye 422 or golden eye 424 (see U.S. Pat. Nos. 7,042,505, and 7,336,821, and US published applications 2005/0041121, 2006/0120599, and 2007/0116380, and U.S. application Ser. Nos. 11/462,035, 11/767,412, 12/042,335, 11/690,834, 11/769,206, and 11/841,855, which are hereby incorporated by reference). A photographic blemish artifact may be corrected at 426. Such blemish may be caused by an imperfection in the optical path caused by dust (see US published application 2005/0068452 and U.S. application Ser. No. 11/836,744, which are incorporated by reference). A full size face image may be stored at 428 along with identifying indicia of a person corresponding to the face.
This associating of the new face region with a member of the contact list achieves at least the following advantageous results in a single action:
It firstly associates the recognition pattern which is derived from the face region with a person in the user's contact list; this information can now be added to the set of recognition patterns and can be applied later as part of a retraining process for optimizing the set of recognition patterns associated with a user's image collection.
Another result is that is provides an association between this new image and a communications device or system with the person determined to be within the image. This could be an e-mail address or a mobile phone number. This association enables a range of added value picture services, an example of which is to enable the automated transmitting of the image to the people within the image. Faces may be found in an image, and the image may be automatically emailed to a user and/or persons associated with the faces found (see, e.g., US published patent application no. 20040243671, which is incorporated by reference), although this does not use inherent communications capabilities of the device in which the images are acquired. An enhancement of this, which relates to the “pairing mechanism” described in US published application no. 2006/0284982, which is incorporated by reference, is to provide a pairing mechanism which is triggered by selecting a member of the contact list; in this embodiment a user can associate such a member of the list with an external, networked device or service. Once such an association is established, each image which is recognized as being associated with that person can be marked for transmission to the associated device/service, placed in a transmission queue and, when the service/device next becomes available on the network, these images can be transmitted to that device/service.
FIG. 5 illustrates a method of face detection and identification including automatic transmission of an acquired image in accordance with certain embodiments. A digital image is acquired at 502 including a face. The face is then automatically cropped at 504 and/or a non-facial item is removed from the digital image at 506. A full-size face image is generated at 508. A full size face image may be stored at 510 along with identifying indicia of a person corresponding to the face. In addition, the digital image may be transmitted at 512 to an identified person or to the camera user, depending or not on whether the person is recognized in the image. A person may be associated at 514 with an external device or service. The digital image may be automatically transmitted to the external device or service at 516 depending or not on whether the person is recognized in the image.
Alternative Methods
The acquired image may be added to such database as part of the process.
In the case multiple faces are detected, a user interface may be implemented that will allow walking-through face-by-face for the user to decide if that is a face they would like to include or pass.
In a case where a camera is set in a mode of “assigning a face to a contact”, there may not be a desire to “capture” an image, but rather, the camera in preview (video) mode may continuously capture multiple images until an “acceptable image” is acquired. Such acceptable image may be a super-resolution of multiple frames, when a face is detected in frontal mode, when the image reaches focus on the face, when the light is sufficient, etc.
The process as defined herein can be extended to support Desktop based contact management software such as “ACT!” and Microsoft Outlook.
Example
User selects a contact;
User chooses the option “add image”;
User browses a selection of images (e.g. Folders); and
User selects a single image, or alternatively selects a video clip Software detects face regions; and
Software crops the image to include only face (and optionally face or face-and-shoulders)
The software may select the level of cropping (face only, head & shoulders, etc)
FIG. 6 illustrates a method of face categorization and annotation of a face image library including a selected level of cropping of the face in accordance with certain embodiments. A digital image is acquired at 602 including a face. A manual selection of a level of cropping is received at 604 before or after the image is acquired. The face is then automatically cropped at 606. A full-size face image is generated at 608. The full size face image is stored at 610 along with identifying indicia of a person corresponding to the face.
Image processing can be added to add facial expressions such as smile. Accordingly, FIG. 7 illustrates a method of face annotation including replacing a portion of the face from an image store in accordance with certain embodiments. A digital image is acquired at 702 including a face. The face is then automatically cropped at 704. A non-facial item may be removed also at 704 or instead of cropping, and/or another face or other faces may be removed at 704. A full-size face image is generated at 706. A smile may be added from a stored image of the same person at 708, e.g., to replace a frown or occluded mouth in the image, or alternatively from a different person who may look more or less like the person. An open eye or other partial facial portion may be added at 710 from a stored image. The full size face image is stored at 710 along with identifying indicia of a person corresponding to the face.
For the recognition of known faces, the database may reside out of the handset (on the server), in case it is necessary to access a larger database than is desirable or perhaps than is possible on an handheld camera phone or other camera device.
FIG. 8 illustrates a method of face detection and face recognition in accordance with certain embodiments. A digital image is acquired at 802 including a face. The face is then automatically cropped at 804. Again, a non-facial item may be removed also at 804 or instead of cropping, and/or another face or other faces may be removed at 804. A full-size face image is generated at 806. Face recognition may be applied at 808 to the face based on a library of known face images. The full size face image is stored at 810 along with identifying indicia of a person corresponding to the face.
Face Recognition Training
FIG. 9 illustrates a method of face recognition training in accordance with certain embodiments. FIG. 9 illustrates a method of face recognition training in accordance with certain embodiments. A first digital image, including a face is acquired at 902. Face image data are extracted, 904, from the image stored at 906 preferably with an unique identifier corresponding to a person whose face is in the first image. Image stored in 906 may be part of a collection of multiple faces stored in the same collection and/or database. A new image is acquired at 912, which may or may not include the face of the same person appearing in the first image. Face detection is applied to the image acquired in 912 and the face data is extracted at 914 from the image.
Face recognition is applied to the extracted face in the second image at 920. The extracted face of the new image is matched 930 with the collection of faces in the database. If a positive match with the first image is concluded at 952, the face of the first image is displayed at 954 concurrently with (next to or overlapping) the face of the second image to indicate or suggest a match of the faces in the first and new image(s). Optionally, 956, the new image is stored in the database and associated with the first image.
In a further embodiment, if the match does not reach an acceptable threshold level, 960, one or two or a few or several faces may be displayed on the screen concurrently with the second image at 962. The user can indicate at 964, e.g., manually or with voice command, which of the images in the database match the acquired second image. Such indication may be using touch screen, buttons or any other means of creating a selection. Optionally at 956, the second image is stored in the database and associated with the first image.
If no matching faces are recognized by the user at 972, or if during the automatic face-recognition stage at 950, no match is determined to any image in the database, the user may assign the new acquired image as a new person and add it to the database.
The method illustrated at FIG. 9 is particularly advantageous when used with a portable still camera, mobile phone or other portable digital image acquisition device or other image acquisition device that is likewise limited in its ability to receive text input from a user in a convenient way. For example, an attachable device may utilize the method, such as a device that is attachable to glasses, a watch, an article of clothing, to a bag, to a person's head, arm, leg, or torso, or to another device. During the training procedure, a digital camera or other device captures one or more pictures or frames in order to create a biometric signature that identifies that person. In one embodiment, that biometric signature would include the person's face. In other embodiments, the person's fingerprint, palm print, DNA, retinal pattern, or other unique feature of the person may be captured in a digital image.
A name or other association may be associated with this biometric signature to identify the person by name or other association, e.g., by user input. The biometric information corresponding to the person, e.g., face image data from at least one frame/picture used, are used for training and saved. Entry of the person's name is optional.
In certain embodiments, during training, an imaging device will also generate a GUID (Global Unique IDentifier) for each person stored in the database. This GUID may be relied upon to uniquely identify each person in the database.
In certain embodiments, during a matching procedure, a camera face recognition application, instead of displaying a name of a person to whom an acquired image has been matched, the application will display a small thumbnail of a face of the recognized person which was saved during training in a database.
When the imaging device, e.g., a digital still camera or camera-phone, is connected with a PC/Server, the user is also asked to provide a name to associate with each trained person. The application is also configured to allow for real time user feedback in the case that face recognition is not successful. The embodiment illustrated at FIG. 9 provides an intuitive UI for face recognition that is convenient to the user.
Alternative embodiments and features are provided for face categorization and annotation of a face image library. A digital image acquisition device such as a mobile camera phone or other handheld camera device, acquires a digital image of a scene that includes a face. A first digital image including a face may be acquired, and face image data may be extracted. The face image data may be stored in a face database or face image library, optionally with an unique identifier corresponding to a person whose face is understood to be in the first image. A second image is acquired, which may or may not include the face of the same person appearing in the first image, and the second image may be extracted. Face recognition may be applied to the face in the second image. A match may be found, or it may be determined that a match does not exist with any faces in the database, or it may be unclear with respect to certain of the stored faces.
When it is determined that a match is found, then the face of the first image may be displayed next to or overlapping the second image to indicate or suggest a match of the faces in the first and second images. In this case, the second image may be stored, including associating the second image with the first image.
When no faces in the database are determined to be a match, but a subset of one or more faces in the database includes faces with probabilities above a certain threshold of matching the second face, then the one or more faces may be displayed in a selectable fashion. When an indication of a match with at least one of the displayed faces is received, then the second image and/or the face contained therein may be stored, including associating the second image with the first image. However, when no indication of a match is received, or if it is determined that no match is found, then the second image and/or the face contained therein may be assigned as a new face, and stored without association to other faces in the database.
Alternative Embodiments
The face may be automatically cropped or one or more non-facial items may be removed from the digital image, or both, and a full-size face image may be generated. The full-size face image may be stored in a face image library along with other indicia identifying a person corresponding to the face.
The face image library may include an address book or a contact list, or both, of a mobile camera phone or other handheld camera device. A series of preview images may be acquired, and candidate face regions may be extracted from successive frames. Location data and a cumulative confidence level that the candidate face region comprises a face may be maintained, and based on information from the series of preview images, the method may include determining that the face is present within the digital image.
Manual input of further information relating to the face may be received for storing with the full-size face image. Other indicia may be input manually by a user of the digital image acquisition device. The face may be displayed, and the user may be prompted to associate the face with the identifying indicia. A list of probable members of a contact list may be displayed, and a selection may be made from the list by the user.
The generating of the full-size face image may include building a whole face from two or more partial face images, brightening a poorly illuminated face, rotating a rotated or tilted face, correcting a red-eye, white eye or golden eye defect, and/or correcting a photographic blemish artifact within the face of the digital image, or combinations of these. The method may include automatically transmitting the digital image to one or more persons identified within the image or to a user of the digital image acquisition device, or both.
The person identified with the face may be associated with an external device or service or both, and the digital image may be automatically transmitted to the external device or service or both. A manual selection of a level of cropping of the face from the digital image may be made by a user. A smile, an open eye and/or another partial face portion, may be added, from one or more stored facial images of the same identified person. Face recognition may be applied to the face based on a library of known face images.
While an exemplary drawings and specific embodiments of the present invention have been described and illustrated, it is to be understood that that the scope of the present invention is not to be limited to the particular embodiments discussed. Thus, the embodiments shall be regarded as illustrative rather than restrictive, and it should be understood that variations may be made in those embodiments by workers skilled in the arts without departing from the scope of the present invention.
In addition, in methods that may be performed according to preferred embodiments herein and that may have been described above, the operations have been described in selected typographical sequences. However, the sequences have been selected and so ordered for typographical convenience and are not intended to imply any particular order for performing the operations, except for those where a particular order may be expressly set forth or where those of ordinary skill in the art may deem a particular order to be necessary.
In addition, all references cited herein as well as the background, invention summary, abstract and brief description of the drawings, as well as U.S. Pat. No. 6,407,777, and US published patent applications nos. 20040243671 (which discloses to use faces in emails), US 20040174434 (which discloses determining meta-information by sending to a server; then back to a mobile device), 2005/0041121, 2005/0031224, 2005/0140801, 2006/0204110, 2006/0093212, 2006/0120599, and 2006/0140455, and U.S. patent application Nos. 60/773,714, 60/804,546, 60/865,375, 60/865,622, 60/829,127, 60/829,127, 60/821,165 Ser. Nos. 11/554,539, 11/464,083, 11/462,035, 11/282,954, 11/027,001, 10/764,339, 10/842,244, 11/024,046, 11/233,513, and 11/460,218, are all incorporated by reference into the detailed description of the preferred embodiments as disclosing alternative embodiments.

## Claims

1. A method of acquiring and displaying a face recognition result in real time based on matching face image data extracted from a first digital image that includes a face and stored in a face image library along with an unique identifier and/or biometric data uniquely identifying the face, comprising:
acquiring and analyzing a series of preview images and identifying candidate face regions from successive frames within one second prior to capture of a second digital image;
based on the analyzing of the series of preview images, acquiring said second digital image and extracting a candidate face region from said second digital image;
determining whether that candidate face region extracted from the second digital image includes a face of a same person as the face in the first digital image by applying face recognition to the face region extracted from the second digital image, including analyzing whether the face in the second digital image matches the face in the first digital image; and
displaying in real time the second digital image along with the face extracted from the first digital image or with said unique identifier and/or biometric data stored in the face image library along with the first digital image, or combinations thereof.

2. The method of claim 1, further comprising displaying the face of the first digital image as a match to the face of the second digital image when the faces in the first and second digital images are determined to match.

3. The method of claim 2, further comprising storing the second digital image, including associating the first and second digital images or faces contained therein, or both.

4. The method of claim 1, further comprising maintaining location data and a cumulative confidence level that the candidate face region comprises a face, and based on information from the series of preview images, determining that said face is present within said second digital image.

5. The method of claim 1, further comprising receiving manual input of further information relating to the face for storing with the first or second digital image, or face regions contained therein, or combinations thereof the full-size face image.

6. The method of claim 1, further comprising receiving identifying indicia manually by a user of the digital image acquisition device.

7. The method of claim 6, wherein the identifying indicia comprises a person's name.

8. The method of claim 1, further comprising automatically cropping the face or removing one or more non-facial items from the second digital image, or both, and thereby generating a full-size face image; and wherein the storing comprises storing the full-size face image.

9. The method of claim 1, further comprising displaying a selectable set of one or more faces from the face image library as possible matches to the face of the second digital image when the faces in the selectable set are determined to have at least a predetermined probability of matching the face of the second digital image.

10. The method of claim 9, further comprising receiving a manual selection of a face from the selectable set, and storing the second digital image including associating the selected face with the second digital image or the face contained therein or both.

11. The method of claim 1, further comprising assigning the face in the second digital image as a new face when the face in the second digital image is determined not to match any face in the face image library.

12. The method of claim 1, further comprising identifying the second digital image with biometric data stored along with the first digital image.

13. One or more non-transitory computer readable media encoded with a computer program for programming one or more processors to perform a method of acquiring and displaying on an image acquisition device a face recognition result in real time based on matching face image data extracted from a first digital image with a face region extracted from a second digital image based on analysis of a series of preview images, the method comprising:
extracting and storing in a face image library face image data corresponding to the face in the first digital image along with an unique identifier and/or biometric data uniquely identifying the face;
acquiring and analyzing said series of preview images and identifying candidate face regions from successive frames acquired within one second prior to capture of the second digital image;
based on the analyzing of the series of preview images, acquiring said second digital image and extracting a candidate face region from said second digital image;
determining whether that candidate face region extracted from the second digital image includes a face of a same person as the face in the first digital image by applying face recognition to the face region extracted from the second digital image, including analyzing whether the face in the second digital image matches the face in the first digital image; and
displaying in real time the second digital image along with the face extracted from the first digital image or with said unique identifier and/or biometric data stored in the face image library along with the first digital image, or combinations thereof.

14. The one or more computer readable media of claim 13, further comprising displaying the face of the first digital image as a match to the face of the second digital image when the faces in the first and second digital images are determined to match.

15. The one or more computer readable media of claim 14, further comprising storing the second digital image, including associating the first and second digital images or faces contained therein, or both.

16. The one or more computer readable media of claim 13, wherein the method further comprises maintaining location data and a cumulative confidence level that the candidate face region comprises a face, and based on information from the series of preview images, determining that said face present within said second digital image.

17. The one or more computer readable media of claim 13, wherein the method further comprises receiving manual input of further information relating to the face for storing with the face image data.

18. The one or more computer readable media of claim 13, wherein the method further comprises receiving identifying indicia manually by a user of the digital image acquisition device.

19. The one or more computer readable media of claim 18, wherein the identifying indicia comprises a person's name.

20. The one or more computer readable media of claim 13, wherein the method further comprises automatically cropping the face or removing one or more non-facial items from the second digital image, or both, and thereby generating a full-size face image; and wherein the storing comprises storing the full-size face image.

21. The one or more computer readable media of claim 13, wherein the method further comprises displaying a selectable set of one or more faces from the face image library as possible matches to the face of the second digital image when the faces in the selectable set are determined to have at least a predetermined probability of matching the face of the second digital image.

22. The one or more computer readable media of claim 21, wherein the method further comprises receiving a manual selection of a face from the selectable set, and storing the second digital image including associating the selected face with the second digital image or the face contained therein or both.

23. The one or more computer readable media of claim 13, wherein the method further comprises assigning the face in the second digital image as a new face when the face in the second digital image is determined not to match any face in the face image library.

24. The one or more computer readable media of claim 13, wherein the method further comprises identifying the second digital image with biometric data stored along with the first digital image.

25. A digital image acquisition device comprising a lens, an image sensor, a processor, and a memory having embedded therein processor-readable code for programming the processor to perform a method of face of face recognition training, the method comprising:
acquiring with a digital image acquisition device a first digital image of a scene that includes a face;
extracting and storing in a face image library face image data corresponding to the face in the first digital image along with an unique identifier and/or biometric data uniquely identifying the face;
acquiring and analyzing said series of preview images and identifying candidate face regions from successive frames acquired within one second prior to capture of the second digital image;
based on the analyzing of the series of preview images, acquiring said second digital image and extracting a candidate face region from said second digital image;
determining whether that candidate face region extracted from the second digital image includes a face of a same person as the face in the first digital image by applying face recognition to the face region extracted from the second digital image, including analyzing whether the face in the second digital image matches the face in the first digital image; and
displaying in real time the second digital image along with the face extracted from the first digital image or with said unique identifier and/or biometric data stored in the face image library along with the first digital image, or combinations thereof.

26. The device of claim 25, wherein the method further comprises displaying the face of the first digital image as a match to the face of the second digital image when the faces in the first and second digital images are determined to match.

27. The device of claim 26, wherein the method further comprises storing the second digital image, including associating the first and second digital images or faces contained therein, or both.

28. The device of claim 25, wherein the method further comprises maintaining location data and a cumulative confidence level that the candidate face region comprises a face, and based on information from the series of preview images, determining that said face present within said second digital image.

29. The device of claim 28, wherein the method further comprises receiving manual input of further information relating to the face for storing with the face image data.

30. The device of claim 25, wherein the method further comprises receiving identifying indicia manually by a user of the digital image acquisition device.

31. The device of claim 25, wherein the identifying indicia comprises a person's name.

32. The device of claim 25, wherein the method further comprises automatically cropping the face or removing one or more non-facial items from the second digital image, or both, and thereby generating a full-size face image; and wherein the storing comprises storing the full-size face image.

33. The device of claim 25, wherein the method further comprises displaying a selectable set of one or more faces from the face image library as possible matches to the face of the second digital image when the faces in the selectable set are determined to have at least a predetermined probability of matching the face of the second digital image.

34. The device of claim 33, wherein the method further comprises receiving a manual selection of a face from the selectable set, and storing the second digital image including associating the selected face with the second digital image or the face contained therein or both.

35. The device of claim 25, wherein the method further comprises assigning the face in the second digital image as a new face when the face in the second digital image is determined not to match any face in the face image library.

36. The device of claim 25, wherein the method further comprises identifying the second digital image with biometric data stored along with the first digital image.