Method and device for face recognition, storage medium, and electronic device
First Claim
1. A method for face recognition, comprising:
- obtaining face data to-be-tested;
performing face aging and face rejuvenation on the face data to-be-tested in terms of different preset ages, and generating multiple derived face data, the multiple derived face data representing different ages and being a set of synthetically generated faces obtained from the face data to-be-tested, with faces looking older and younger than a face in the face data to-be-tested;
obtaining a first derived face data set by distributing the multiple derived face data sequentially according to ages corresponding to the multiple derived face data;
for each of the multiple derived face data in the first derived face data set, performing age determination, and generating an age distribution interval corresponding to the first derived face data set;
determining whether the age distribution interval matches a first reference age interval comprising;
determining whether a degree of correlation between the age distribution interval obtained by performing age determination on each of the multiple derived face data in the first derived face data set and the first reference age interval is greater than a preset threshold, wherein the degree of correlation is a ratio of an overlap portion of the two intervals to an entire range of the age distribution interval; and
obtaining, according to the age distribution interval, age data corresponding to the face data to-be-tested, upon determining that the age distribution interval matches the first reference age interval, comprising;
upon determining that the degree of correlation is greater than the preset threshold, obtaining, according to the age distribution interval, the age data corresponding to the face data to-be-tested;
orupon determining that the degree of correlation is less than the preset threshold, adjusting endpoint values of the age distribution interval, until the age distribution interval matches the first reference age interval.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and device for face recognition, a storage medium, and an electronic device are provided. The method includes the following. Face data to-be-tested is obtained. A first derived face data set related to the face data to-be-tested is generated according to the face data to-be-tested. For each of multiple derived face data in the first derived face data set, perform age determination, and generate an age distribution interval corresponding to the first derived face data set. Whether the age distribution interval matches a first reference age interval is determined. Upon determining that the age distribution interval matches the first reference age interval, age data corresponding to the face data to-be-tested is obtained according to the age distribution interval.
9 Citations
20 Claims
-
1. A method for face recognition, comprising:
-
obtaining face data to-be-tested; performing face aging and face rejuvenation on the face data to-be-tested in terms of different preset ages, and generating multiple derived face data, the multiple derived face data representing different ages and being a set of synthetically generated faces obtained from the face data to-be-tested, with faces looking older and younger than a face in the face data to-be-tested; obtaining a first derived face data set by distributing the multiple derived face data sequentially according to ages corresponding to the multiple derived face data; for each of the multiple derived face data in the first derived face data set, performing age determination, and generating an age distribution interval corresponding to the first derived face data set; determining whether the age distribution interval matches a first reference age interval comprising; determining whether a degree of correlation between the age distribution interval obtained by performing age determination on each of the multiple derived face data in the first derived face data set and the first reference age interval is greater than a preset threshold, wherein the degree of correlation is a ratio of an overlap portion of the two intervals to an entire range of the age distribution interval; and obtaining, according to the age distribution interval, age data corresponding to the face data to-be-tested, upon determining that the age distribution interval matches the first reference age interval, comprising; upon determining that the degree of correlation is greater than the preset threshold, obtaining, according to the age distribution interval, the age data corresponding to the face data to-be-tested;
orupon determining that the degree of correlation is less than the preset threshold, adjusting endpoint values of the age distribution interval, until the age distribution interval matches the first reference age interval. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory computer readable storage medium configured to store instructions which, when executed by a processor, cause the processor to carry out actions, comprising:
-
obtaining face data to-be-tested; performing face aging and face rejuvenation on the face data to-be-tested in terms of different preset ages, and generating multiple derived face data, the multiple derived face data representing different ages and being a set of synthetically generated faces obtained from the face data to-be-tested, with faces looking older and younger than a face in the face data-to-be tested; obtaining a first derived face data set by distributing the multiple derived face data sequentially according to ages corresponding to the multiple derived face data; for each of the multiple derived face data in the first derived face data set, performing age determination, and generating an age distribution interval corresponding to the first derived face data set; determining whether the age distribution interval matches a first reference age interval comprising; determining whether a degree of correlation between the age distribution interval obtained by performing age determination on each of the multiple derived face data in the first derived face data set and the first reference age interval is greater than a preset threshold, wherein the degree of correlation is a ratio of an overlap portion of the two intervals to an entire range of the age distribution interval; and obtaining, according to the age distribution interval, age data corresponding to the face data to-be-tested, upon determining that the age distribution interval matches the first reference age interval, comprising; upon determining that the degree of correlation is greater than the preset threshold obtaining, according to the age distribution interval, the age data corresponding to the face data to-be-tested;
orupon determining that the degree of correlation is less than the preset threshold, adjusting endpoint values of the age distribution interval until the age distribution interval matches the first reference age interval. - View Dependent Claims (11, 12, 13, 14)
-
-
15. An electronic device, comprising:
-
at least one processor; and a computer readable storage, coupled to the at least one processor and storing at least one computer executable instruction thereon which, when executed by the at least one processor, is operable with the at least one processor to; obtain face data to-be-tested; perform face aging and face rejuvenation on the face data to-be-tested in terms of different preset ages, and generate multiple derived face data, the multiple derived face data representing different ages and being a set of synthetically generated faces obtained from the face data to-be-tested, with faces looking older and younger than a face in the data to-be-tested; obtain a first derived face data set by distributing the multiple derived face data sequentially according to ages corresponding to the multiple derived face data; for each of the multiple derived face data in the first derived face data set, perform age determination, and generate an age distribution interval corresponding to the first derived face data set; determine whether the age distribution interval matches a first reference age interval, comprising; determine whether a degree of correlation between the age distribution interval obtained by performing age determination on each of the multiple derived face data in the first derived face data set and the first reference age interval is greater than a preset threshold, wherein the degree of correlation is a ratio of an overlap portion of the two intervals to an entire range of the age distribution interval; and obtain, according to the age distribution interval, age data corresponding to the face data to-be-tested, upon determining that the age distribution interval matches the first reference age interval, comprising; upon determining that the degree of correlation is greater than the preset threshold, obtain, according to the age distribution interval, the age data corresponding to the face data to-be-tested;
orupon determining that the degree of correlation is less than the preset threshold, adjust endpoint values of the age distribution interval, until the age distribution interval matches the first reference age interval. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification