IP Library Granted Patent US 12,400,476
Granted Patent B2
US 12,400,476 · App. 18/092,449 · Granted Aug 26, 2025

Method and system for increasing face images

Inventor: Po-Jui Huang (Guangdong, CN)
Assignees: Interface Technology (ChengDu) Co., Ltd.; Interface Optoelectronics (ShenZhen) Co., Ltd.; General Interface Solution Limited
G06V40/168G06T7/70G06V40/166G06T2207/30201
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,400,476
App. No.
18/092,449
Granted
Aug 26, 2025
Kind
B2
Abstract

The present invention provides a method for increasing face images. The method includes: obtaining a face image, and determining whether the face image belongs to a frontal direction or a side direction; transforming the face image into a feature vector; performing a facial attribute editing algorithm according to the feature vector to generate a first generation vector which is different from the face image in at least one attribute; if the face image belongs to the side direction, performing a facial pose conversion algorithm according to the feature vector to generate a second generation vector which is different from the face image in pose directions; inputting the first generation vector or the second generation vector to a generative adversarial network to output at least one generated face image; and adding the face image and the generated face image into a database.

Claims (65)

1. A method performed by a computer system, the method comprising:

capturing a face image and determining whether the face image belongs to a front direction or a side direction;

transforming the face image into a feature vector;

performing a facial attribute editing algorithm according to the feature vector to generate a first generation vector, wherein at least one attribute of the first generation vector is different from that of the face image;

if the face image belongs to the side direction, performing a facial pose conversion algorithm according to the feature vector to generate a second generation vector, wherein a pose direction of the second generation vector is different from that of the face image;

inputting the first generation vector or the second generation vector into a generative adversarial network to output at least one generated face image; and

adding the face image and the at least one generated face image into a database,

wherein determining whether the face image belongs to the front direction or the side direction comprising:

flipping the face image along a central axis to obtain a flipped image;

calculating a structural similarity index between the face image and the flipped image; and

if the structural similarity index is less than a threshold, determining that the face image belongs to the side direction, otherwise determining that the face image belongs to the front direction.

2. The method of claim 1 , wherein the step of transforming the face image into the feature vector comprises:

inputting the face image into an encoder to obtain an initial feature vector;

inputting the initial feature vector and a noise vector into a generator to obtain a reconstructed image;

calculating a loss function between the face image and the reconstructed image; and

adjusting the initial feature vector and the noise vector according to the loss function for a plurality of iterations, and setting the initial feature vector corresponding to a minimum of the loss function among the iterations as the feature vector.

3. The method of claim 1 , further comprising:

determining if the at least one generated face image belongs to human face according to a first classifier, and if not, deleting the at least one generated face image; and

determining if the face image and the at least one generated face image belongs to a same person according to a recognizer, and if not, deleting the at least one generated face image.

4. The method of claim 1 , further comprising:

determining if the at least one generated face image has a predetermined attribute according to a second classifier, and if not, deleting the at least one generated face image.

5. A system comprising:

an image capture device configured to obtain a face image; and

a computer system communicatively connected to the image capture device and configured to perform a plurality of steps:

obtaining the face image and determining whether the face image belongs to a front direction or a side direction;

transforming the face image into a feature vector;

performing a facial attribute editing algorithm according to the feature vector to generate a first generation vector, wherein at least one attribute of the first generation vector is different from that of the face image;

if the face image belongs to the side direction, performing a facial pose conversion algorithm according to the feature vector to generate a second generation vector, wherein a pose direction of the second generation vector is different from that of the face image;

inputting the first generation vector or the second generation vector into a generative adversarial network to output at least one generated face image; and

adding the face image and the at least one generated face image into a database,

wherein determining whether the face image belongs to the front direction or the side direction comprising:

flipping the face image along a central axis to obtain a flipped image;

calculating a structural similarity index between the face image and the flipped image; and

if the structural similarity index is less than a threshold, determining that the face image belongs to the side direction, otherwise determining that the face image belongs to the front direction.

6. The system of claim 5 , wherein the step of transforming the face image into the feature vector comprises:

inputting the face image into an encoder to obtain an initial feature vector;

inputting the initial feature vector and a noise vector into a generator to obtain a reconstructed image;

calculating a loss function between the face image and the reconstructed image; and

adjusting the initial feature vector and the noise vector according to the loss function for a plurality of iterations, and setting the initial feature vector corresponding to a minimum of the loss function among the iterations as the feature vector.

7. The system of claim 5 , wherein the plurality of steps further comprise:

determining if the at least one generated face image belongs to human face according to a first classifier, and if not, deleting the at least one generated face image; and

determining if the face image and the at least one generated face image belongs to a same person according to a recognizer, and if not, deleting the at least one generated face image.

8. The system of claim 5 , wherein the plurality of steps further comprise:

determining if the at least one generated face image has a predetermined attribute according to a second classifier, and if not, deleting the at least one generated face image.

9. A non-transitory computer readable storage medium storing a plurality of instructions which are configured to perform a plurality of steps:

capturing a face image and determining whether the face image belongs to a front direction or a side direction;

transforming the face image into a feature vector;

performing a facial attribute editing algorithm according to the feature vector to generate a first generation vector, wherein at least one attribute of the first generation vector is different from that of the face image;

if the face image belongs to the side direction, performing a facial pose conversion algorithm according to the feature vector to generate a second generation vector, wherein a pose direction of the second generation vector is different from that of the face image;

inputting the first generation vector or the second generation vector into a generative adversarial network to output at least one generated face image; and

adding the face image and the at least one generated face image into a database,

wherein determining whether the face image belongs to the front direction or the side direction comprising:

flipping the face image along a central axis to obtain a flipped image;

calculating a structural similarity index between the face image and the flipped image; and

if the structural similarity index is less than a threshold, determining that the face image belongs to the side direction, otherwise determining that the face image belongs to the front direction.

10. The non-transitory computer readable storage medium of claim 9 , wherein the step of transforming the face image into the feature vector comprises:

inputting the face image into an encoder to obtain an initial feature vector;

inputting the initial feature vector and a noise vector into a generator to obtain a reconstructed image;

calculating a loss function between the face image and the reconstructed image; and

adjusting the initial feature vector and the noise vector according to the loss function for a plurality of iterations, and setting the initial feature vector corresponding to a minimum of the loss function among the iterations as the feature vector.

11. The non-transitory computer readable storage medium of claim 9 , wherein the plurality of steps further comprise:

determining if the at least one generated face image belongs to human face according to a first classifier, and if not, deleting the at least one generated face image; and

determining if the face image and the at least one generated face image belongs to a same person according to a recognizer, and if not, deleting the at least one generated face image.

12. The non-transitory computer readable storage medium of claim 9 , wherein the plurality of steps further comprise:

determining if the at least one generated face image has a predetermined attribute according to a second classifier, and if not, deleting the at least one generated face image.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 6, 2024
From: INTERFACE TECHNOLOGY (CHENGDU) CO., LTD.; INTERFACE OPTOELECTRONICS (SHENZHEN) CO., LTD.; INTERFACE OPTOELECTRONICS (WUXI) CO., LTD.; GENERAL INTERFACE SOLUTION LIMITED
To: INTERFACE TECHNOLOGY (CHENGDU) CO., LTD.; INTERFACE OPTOELECTRONICS (SHENZHEN) CO., LTD.; GENERAL INTERFACE SOLUTION LIMITED
Reel/Frame 066398/0707 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 3, 2023
From: HUANG, PO-JUI
To: INTERFACE TECHNOLOGY (CHENGDU) CO., LTD.; INTERFACE OPTOELECTRONICS (SHENZHEN) CO., LTD.; INTERFACE OPTOELECTRONICS (WUXI) CO., LTD.; GENERAL INTERFACE SOLUTION LIMITED
Reel/Frame 062254/0417 →
Priority Claims (1)
CN 202211445172.0 · Nov 18, 2022 · national
Continuity (1)
Related Publication 20240169758A1 · May 23, 2024
References Cited (6)
CN 108197543A · 2018 [cited by examiner]
CN 114267067A · 2022 [cited by applicant]
CN 115147904A · 2022 [cited by examiner]
Shen, Yujun, et al. “Interpreting the latent space of gans for semantic face editing.” Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2020. (Year: 2020). [cited by examiner]
Abiram, R. Nandhini, P. M. D. R. Vincent, and P. M. D. R. Vincent. “Identity preserving multi-pose facial expression recognition using fine tuned VGG on the latent space vector of generative adversarial network.” Math. … [cited by examiner]
Rui Hung et al., “Beyond Face Rotation: Global and Local Perception GAN for Photorealistic and Identity Preserving Frontal View Synthesis”, arXiv:1704.04086v2 [cs.CV], pp. 1-11, Aug. 4, 2017. [cited by applicant]