The present invention relates to facial recognition and the open mouth problem and, more particularly, but not exclusively to a method and apparatus for three dimensional facial recognition that can distinguish between different expressions of the same face on the one hand and different faces on the other hand.
An important question in understanding the structure of facial appearance, is what are the invariants of a human face under various expressions. The change of a face by expressions makes modelling of the face and extraction of features that are not influenced by those changes a challenging task.
It was previously suggested to treat faces as deformable surfaces in the context of Riemannian geometry, and modelling facial expressions as near-isometric transformations of the facial surface. The method of bending-invariant canonical forms was used to construct a representation of the faces, invariant to such isometric transformations. The isometric model, however, has difficulties in handling facial expressions that change the topology of the facial surface. One such example is comparing a face with an open mouth to one with a closed mouth.
That is, how can someone's face be given a unique description, that does not change by his or her expression. Important examples include the problem of face recognition in computer vision, texture mapping for facial animation in computer graphics, emotion interpretation in psychology, and measurement of geometric parameters of the face in cosmetic surgery. The variability of the face appearance due to the non-rigid structure of the human face makes this a non-trivial task and challenges for a convenient model to analyze the nature of facial expressions. In previous work we proposed an isometric model for the face geometry, according to which expressions can be approximated by metric preserving transformations of the facial surface. The use of such a model allows us to use the bending-invariant canonical forms in order to construct an expression-invariant representation of the face. Our isometric model was shown to be applicable to strong facial expressions, but it implicitly assumes that facial expressions are topology-preserving. Thus we had a problem comparing faces with an open mouth to those with a closed one, which is a case in which the topology is not preserved.
There is thus a widely recognized need for, and it would be highly advantageous to have, a facial recognition system devoid of the above limitations, and able to recognize the face irrespective of whether the mouth is open or closed, overcoming the fact that the two cases are topologically different.
According to one aspect of the present invention there is provided a method of cropping a representation of a face for electronic processing, said method comprising:
selecting a first geodesic contour about an invariant reference point on said face,
setting a region within said first geodesic contour as a first mask,
selecting a second geodesic contour about a boundary of said identified first region,
setting a region within said second geodesic contour as a second mask, and
forming a final mask from a union of said first mask and said second mask.
In an embodiment, said identifying comprises texture processing.
An embodiment may comprise cropping said face by:
forming a final mask from a union of said first mask and said second mask.
According to a second embodiment of the present invention there is provided apparatus for cropping a representation of a face for electronic processing, said face having differential mouth opening states including an open mouth state, a closed mouth state and at least one intermediate state therebetween, the apparatus comprising:
a first masking unit for selecting a first geodesic contour about an invariant reference point on said face, and setting a region within said first geodesic contour as a first mask,
a second masking unit for selecting a second geodesic contour about a boundary of said identified mouth region, and setting a region within said second geodesic contour as a second mask, and
a third masking unit for forming a final mask from a union of said first mask and said second mask, thereby to provide cropping of said face such as to obtain a full facial region and negligible background within said cropping for any of said mouth opening states.
Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The materials, methods, and examples provided herein are illustrative only and not intended to be limiting.
Implementation of the method and system of the present invention involves performing or completing certain selected tasks or steps manually, automatically, or a combination thereof. Moreover, according to actual instrumentation and equipment of preferred embodiments of the method and system of the present invention, several selected steps could be implemented by hardware or by software on any operating system of any firmware or a combination thereof. For example, as hardware, selected steps of the invention could be implemented as a chip or a circuit. As software, selected steps of the invention could be implemented as a plurality of software instructions being executed by a computer using any suitable operating system. In any case, selected steps of the method and system of the invention could be described as being performed by a data processor, such as a computing platform for executing a plurality of instructions.
The invention is herein described, by way of example only, with reference to the accompanying drawings. With specific reference now to the drawings in detail, it is stressed that the particulars shown are by way of example and for purposes of illustrative discussion of the preferred embodiments of the present invention only, and are presented in order to provide what is believed to be the most useful and readily understood description of the principles and conceptual aspects of the invention. In this regard, no attempt is made to show structural details of the invention in more detail than is necessary for a fundamental understanding of the invention, the description taken with the drawings making apparent to those skilled in the art how the several forms of the invention may be embodied in practice.
In the drawings:
The present embodiments comprise a solution to the open mouth problem that operates by enforcing a constraint to the topology on the facial surface, in particular about the mouth region. In one embodiment the constraint is that the mouth is always closed, in effect gluing the lips. In an alternative embodiment the constraint is that the mouth is always open, and this is achieved by disconnecting the lips. The disconnection can be achieved by introducing a cut in the surface when the mouth is closed. In either case the constraint provides for a geodesic that passes vertically through the lip region to follow the same path regardless of whether the mouth is open or closed.
The examples herein focus on the second, disconnecting, solution, but the skilled person will appreciate that the principles described herein are readily applicable to the first, glued, solution as well. The following description presents the concept of topologically-constrained canonical forms, that allow us to construct a representation of the face that is insensitive to facial expressions, and remains so irrespective of changes of state between closed and open mouths.
The principles and operation of a facial recognition system according to the present invention may be better understood with reference to the drawings and accompanying description.
Before explaining at least one embodiment of the invention in detail, it is to be understood that the invention is not limited in its application to the details of construction and the arrangement of the components set forth in the following description or illustrated in the drawings. The invention is capable of other embodiments or of being practiced or carried out in various ways. Also, it is to be understood that the phraseology and terminology employed herein is for the purpose of description and should not be regarded as limiting.
Reference is now made to
Reference is now made to
The issue is now considered in greater detail. Reference is now made to
Apparatus 10 comprises a three dimensional scanner 12 for obtaining three-dimensional topographical data of the body. Several types of scanner are described hereinbelow together with brief discussions of how to process data therefrom in some of the cases.
Data from the three-dimensional scanner 12 is passed to a triangulator 14. The triangulator may perform triangulation on the data received from the scanner in order to generate a three-dimensional triangulated manifold to represent the topological features of the body. The exact operation of the triangulator to derive the manifold may vary depending on the way in which the 3D information is gathered. In certain cases the manifold may be formed directly from the gathered data without the need for any intervening processing stage. The manifold preferably represents all of the three-dimensional topology of the body and therefore is in theory sufficient for allowing matching. However, in practice, direct comparisons using the triangulated manifold have a number of disadvantages, as will be demonstrated in the results given hereinbelow. They requires a large amount of calculation. Matching does not distinguish reliably between different faces. Moreover matching generally fails when the same face has a different expression and matching is unreliable even when the same face is posed at a different angle.
Embodiments of the present invention therefore preferably include four additional processing stages, the first of which is a preprocessor 16. Preprocessor 16 takes a reference point in order to determine an orientation around the manifold. A reference point which is relatively easy to find automatically from a manifold of a face is the tip of the nose. Other possible reference points include centers of eyeballs and the center of the mouth. Once the preprocessor has found the tip of the nose (
Following the preprocessor is a subsampler 18. The subsampler 18 takes the preprocessed manifold and removes points so as to produce a less well defined manifold, but one which still defines the essential geometry of the face it is desired to match. In preferred embodiments, the user is able to select the number of points to trade off between accurate matching—a large number of points—and faster processing—a smaller number of points. As will be discussed in greater detail below, a preferred embodiment of the sub-sampler uses the Voronoi subsampling technique which begins at an initial point or vertex on the manifold and then adds the point or vertex having the greatest distance therefrom. The procedure is repeated iteratively until the selected number of points are included. Preferably the technique uses geodesic distances, which may be obtained using the fast marching method for the triangulated domain (FMM-TD), as described below.
Following the subsampler is a geodesic converter 20. The geodesic converter 20 receives the list of points of the subsampled manifold and calculates a vector for each pair of points. The vectors are expressed as geodesic distances, and the fast marching algorithm for the triangulated domain is again used to obtain the geodesic distances in as efficient a manner as possible.
Following the geodesic converter is a multi-dimensional scaler 22, which takes the matrix of the geodesic distances calculated by the geodesic converter 20, referred to below as the distance matrix, and forms a low dimensional Euclidean representation of the series of geodesic distances, using multi-dimensional scaling. Multi-dimensional scaling is discussed in detail below. The low dimensional Euclidean representation provides a bending invariant representation of the geometric body, as will be explained in the discussion on multi-dimensional scaling below. The use of such a bending invariant representation ensures that the matching process is not fooled by, for example, scans of the head at different angles.
The output 24 of the multi-dimensional scalar is a representation of the 3D face in terms of Euclidean distances between surface points, referred to hereinbelow as the canonical form representation.
Reference is now made to
An alternative approach, used in the present embodiments, takes the first m eigenvalues obtained from the MDS procedure to provide coordinates in a low-dimensional feature space. Although the dominant eigenvalues do not describe the canonical form entirely, it is reasonable that similar faces have similar eigenvalues (and thus form clusters in the feature space). A distance is calculated between the geometric bodies, or, as will be described below, plotted on a graph of the feature space and a thresholder 38, which is connected subsequently to the distance calculator, thresholds the calculated distance to determine the presence or absence of a cluster in the feature space, the cluster indicating a match. In the embodiments described in detail herein, the first three Eigenvalues are taken and are plotted in a three dimensional feature space.
A quantitative validation of our topologically-constrained isometric model is possible by tracking a set of feature points on the facial surface and measuring how the distances between them change due to facial expressions, while ensuring that the topology of the surface is preserved. Unfortunately, there are very few points that can be located accurately on a human face. In order to overcome this difficulty, we placed 133 white round markers (approximately 2 mm in diameter) as invariant fiducial points, onto our subject's face. These markers are explained with respect to
In order to quantify the changes of the distances due to expressions, we use two measures: the absolute error w.r.t the reference distances (the reference distances were averaged on the neutral expressions): εiabs=di−diref, and the relative error εirel=(di−diref)/diref (here di denotes the i-th distance and diref is the corresponding reference distance). The distributions of εabs and εrel are shown in
The conclusion of this experiment is two-fold. First, the changes of the geodesic distances due to facial expressions are insignificant for exaggerated expressions, which justifies the present model. Secondly, Euclidean distances are much more sensitive to changes due to facial expressions compared to the geodesic ones. This observation will be reinforced by the results presented hereinbelow, where we compare our method to a method that treats facial surfaces as rigid objects.
Preprocessing
The geometry of the face is acquired by a range camera and has to be processed before the canonical form is computed. The raw range data is given as a cloud of points, that can be triangulated or represented as a parametric manifold as shown in
(i) geometric processing of the facial surface S3.1;
(ii) lip cropping S3.2; and
(iii) cropping the whole face S3.3.
Geometric processing S3.1 is shown in greater detail in the flow chart of
Lip cropping is shown in greater detail in the simplified flow chart of
The whole face cropping procedure is performed using a modification of the geodesic mask proposed in our U.S. patent application Ser. No. 10/284,281. The unmodified version is shown in
Reference is now made to
A second mask is then defined in stages S7.5 to S7.7, in which an equidistant region around the lips is used. In S7.5 we use all the points along the lip perimeter as source points. In S7.6 an equidistant geodesic contour is set around the lips and in S7.7 the region within the contour is set as a second mask. In stage 7.8 a union of the first and second masks is calculated and the final geodesic mask is set in stage 7.9 as that union. Typically the cropped surface contains N≈3000 points.
4 Topologically-Constrained Canonical Forms
Isometric transformations preserve intrinsic or geodesic distances among all points. Our model of the face thus assumes that the geodesic distance dij between any given two points xi; xj on the facial surface remains unchanged. The first problem is that a discrete set of points {xi}i=1N j=1 can be ordered arbitrarily, and thus the matrix D=(dij) is invariant up to some permutation of the rows and columns. Moreover, when sampling a surface, there is no guarantee that the surface will be sampled at similar points, nor even that the number of points in two surfaces is necessarily the same. This makes the computation of such an invariant impractical.
An alternative is to avoid dealing explicitly with the matrix of geodesic distances, and replace the curved surface with its Riemannian metric by a different dual surface. Intrinsic geodesic distances are replaced by Euclidean ones in the embedding space. The new surface, approximates the original one in some optimal way. Such a procedure is calledflat embedding, and the resulting set of points xi′ in the Euclidean space is called the bending invariant canonicalform of the face. Unlike the matrix D, the canonical form (though inevitably being an approximate representation of the original surface) is invariant, up to rotation, translation and reflection, which is much easier to deal with when trying to match two non-rigid surfaces.
We would like to find the “most isometric” embedding, the one that deforms the manifold distances the least. In practice, we have a finite discrete set of N manifold samples {xi}i=1N (represented as a 3×N matrix X=(xn; . . . ; xN)) and a set of N2 mutual geodesic distances between these samples. We consider a mapping of the form φ: (M,d)→(m,d′), which maps the manifold samples xi into points x′i in an m-dimensional Euclidean space, such that the geodesic distances dij are replaced by Euclidean ones d′ij=∥x′i−x′j∥2.
The embedding error can be measured as a discrepancy between the geodesic and the resulting Euclidean distances using some norm,
s(X′;D)=∥D−D′(X′)∥, (1)
where X′=(x′1; . . . ; x′N) is an m×N matrix representing the points in the embedding space,
and D′ is the matrix of mutual Euclidean distances depending on the points configuration X′. The function (1) is referred to hereinbelow as stress.
Finding the best approximate flat embedding is possible by minimization of s(X′; D) with respect to X′. A family of algorithms used to carry out such an approximate flat embedding is usually referred to as multidimensional scaling (MDS). These algorithms differ in the choice of the embedding error criterion and the numerical method used for its minimization.
One straightforward possibility is to choose the norm in (1) to be Euclidean, and thus have the metric distortion defined as a sum of squared differences
and the MDS is posed as a least-squares (LS) problem and is known as LS-MDS. We used the iterative SMACOF algorithm to compute the canonical forms. The SMACOF algorithm is disclosed in I. Borg and P. Groenen. Modern multidimensional scaling—theory and applications, Springer-Verlag, Berlin Heidelberg New York, 1997; and also in J. De-Leeuw. Recent developments in statistics, chapter Applications of convex analysis to multidimensional scaling, pages 133-145. North-Holland, Amsterdam, 1977.
When the embedding is performed into a space with m·3 dimensions, the canonical form can be plotted as a surface.
It demonstrates that although the facial surface changes are substantial, the changes between the corresponding canonical forms are insignificant.
Additional objects, advantages, and novel features of the present invention will become apparent to one ordinarily skilled in the art upon examination of the following examples, which are not intended to be limiting. Additionally, each of the various embodiments and aspects of the present invention as delineated hereinabove and as claimed in the claims section below finds experimental support in the following examples.
The above-described approach was tested on a data set containing 102 instances of 6 subjects and one mannequin (Eve). The set of faces is shown in
Using the database, an experiment was carried out to test the sensitivity of the topologically constrained canonical forms to extreme facial expressions including open and closed mouth.
As a reference, the facial surfaces were also compared as rigid objects. Surface matching (both the facial surfaces and the canonical forms) was carried out by comparing their moments.
The surface is described as a vector of its 56 high-order moments, and the Euclidean norm is used to measure the distance between these vectors.
Table 1 below is a description of the facial expressions in the data set used in the experiment of
Table 1, final two columns, shows for the canonical forms case and the control respectively, the values of the ratio of the maximum inter-cluster to minimum intracluster dissimilarity.
in which Ck denotes indexes of the k-th subject's faces, C=kCk and ηij denotes dissimilarities between faces i and j) for facial and canonical surface matching. This criterion is convenient being scale-invariant; it measures the tightness of each cluster of faces that belong to the same subject and its distance from other clusters. Ideally, k should tend to zero. The approach of the present embodiments, 9th column, outperforms rigid facial surface matching, the 10th column, by up to 790:3% in the sense of k.
In our previous patent application referred to hereinabove we used canonical forms to solve the problem of 3D face recognition.
In the present application we carry out a generalization of that approach to handle facial expressions with an open mouth. The method of topologically-constrained canonical forms is applicable to facial expressions with both closed and open mouth, and can thus handle extreme facial expressions. The resulting representation is especially suitable for 3D face recognition in a natural environment, for example, when a subject is speaking.
It is expected that during the life of this patent many relevant 3D data gathering and topology measurement devices and systems as well as devices, systems and methods for measuring contours and carrying out comparisons based on representations of three-dimensional data will be developed and the scope of the corresponding terms herein are intended to include all such new technologies a priori.
It is appreciated that certain features of the invention, which are, for clarity, described in the context of separate embodiments, may also be provided in combination in a single embodiment. Conversely, various features of the invention, which are, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable subcombination.
Although the invention has been described in conjunction with specific embodiments thereof, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art. Accordingly, it is intended to embrace all such alternatives, modifications and variations that fall within the spirit and broad scope of the appended claims. All publications, patents and patent applications mentioned in this specification are herein incorporated in their entirety by reference into the specification, to the same extent as if each individual publication, patent or patent application was specifically and individually indicated to be incorporated herein by reference. In addition, citation or identification of any reference in this application shall not be construed as an admission that such reference is available as prior art to the present invention.
This application is a Divisional of U.S. patent application Ser. No. 11/058,171, filed on Feb. 16, 2005, now U.S. Pat. No. 7,421,098 issued Sep. 2, 2008, which is a Continuation-In-Part of U.S. patent application Ser. No. 10/284,281 filed on Oct. 31, 2002, now U.S. Pat. No. 6,947,579, issued on Sep. 20, 2005, which claims priority from U.S. Provisional Patent Application No. 60/416,243 filed on Oct. 7, 2002, the contents of all of which are hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
5164992 | Turk et al. | Nov 1992 | A |
5181259 | Rorvig | Jan 1993 | A |
5689575 | Sako et al. | Nov 1997 | A |
5933527 | Ishikawa | Aug 1999 | A |
6016148 | Kang et al. | Jan 2000 | A |
6028960 | Graf et al. | Feb 2000 | A |
6031539 | Kang et al. | Feb 2000 | A |
6047078 | Kang | Apr 2000 | A |
6081739 | Lemchen | Jun 2000 | A |
6091836 | Takano et al. | Jul 2000 | A |
6163322 | LaChapelle | Dec 2000 | A |
6250928 | Poggio et al. | Jun 2001 | B1 |
6272231 | Maurer et al. | Aug 2001 | B1 |
6285805 | Gueziec | Sep 2001 | B1 |
6295785 | Herrmann | Oct 2001 | B1 |
6381346 | Eraslan | Apr 2002 | B1 |
6384826 | Bern et al. | May 2002 | B1 |
6526161 | Yan | Feb 2003 | B1 |
6539126 | Socolinsky et al. | Mar 2003 | B1 |
6556196 | Blanz et al. | Apr 2003 | B1 |
6571227 | Agrafiotis et al. | May 2003 | B1 |
6628280 | Perry et al. | Sep 2003 | B2 |
6671391 | Zhang et al. | Dec 2003 | B1 |
6677949 | Gioia | Jan 2004 | B1 |
6728404 | Ono et al. | Apr 2004 | B1 |
6731287 | Erdem | May 2004 | B1 |
6807290 | Liu et al. | Oct 2004 | B2 |
6947579 | Bronstein et al. | Sep 2005 | B2 |
6982710 | Salomie | Jan 2006 | B2 |
7027054 | Cheiky et al. | Apr 2006 | B1 |
7039621 | Agrafiotis et al. | May 2006 | B2 |
7379602 | Yang | May 2008 | B2 |
20020012454 | Liu et al. | Jan 2002 | A1 |
20020130860 | Perry et al. | Sep 2002 | A1 |
20030063801 | Rubinstenn et al. | Apr 2003 | A1 |
20040008809 | Webber | Jan 2004 | A1 |
20040076313 | Bronstein et al. | Apr 2004 | A1 |
20040175039 | Miller | Sep 2004 | A1 |
20050041867 | Loy et al. | Feb 2005 | A1 |
20050162419 | Kim et al. | Jul 2005 | A1 |
20050180613 | Bronstein et al. | Aug 2005 | A1 |
20060115157 | Mori et al. | Jun 2006 | A1 |
20060188144 | Sasaki et al. | Aug 2006 | A1 |
20060251298 | Bronstein et al. | Nov 2006 | A1 |
20070052726 | Wright et al. | Mar 2007 | A1 |
20090028442 | Kimmel et al. | Jan 2009 | A1 |
Number | Date | Country |
---|---|---|
1039417 | Sep 2000 | EP |
2001-503546 | Mar 2001 | JP |
WO 9820459 | May 1998 | WO |
WO 2004032061 | Apr 2004 | WO |
WO 2004044689 | May 2004 | WO |
WO 2006087701 | Aug 2006 | WO |
Number | Date | Country | |
---|---|---|---|
20080292147 A1 | Nov 2008 | US |
Number | Date | Country | |
---|---|---|---|
60416243 | Oct 2002 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11058171 | Feb 2005 | US |
Child | 12076830 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10284281 | Oct 2002 | US |
Child | 11058171 | US |