IP Library Granted Patent US 12,347,164
Granted Patent B2
US 12,347,164 · App. 17/950,698 · Granted Jul 1, 2025

Image processing method and system for updating template library based on life value of facial template images

Inventors: Xiaolin Huang (Shenzhen, CN); Wei Huang (Munich, DE); Wenkang Xu (Shenzhen, CN); Junhao Zhang (Shanghai, CN)
Assignee: Shenzhen Yinwang Intelligent Technologies Co., Ltd.
G06V10/751G06V40/161
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,347,164
App. No.
17/950,698
Granted
Jul 1, 2025
Kind
B2
Abstract

This application discloses image processing methods and systems. One method includes: obtaining a first image, obtaining a template image having a life value that determines whether the template image is valid, comparing the first image with the template image, and storing the first image in a template library as a new template image in response to determining that the first image matches the template image.

Claims (40)

1. An image processing method, comprising:

obtaining a first image;

obtaining a template image having a life value that determines whether the template image is valid, wherein the life value of the template image in a template library decreases as existence time of the template image in the template library increases, and wherein the template image comprises a first template image and a second template image, the first template image comprises a face-dominant image, and the second template image comprises a special face image;

comparing the first image with the template image; and

storing the first image in the template library as a new template image in response to determining that the first image matches the template image.

2. The method according to claim 1 , further comprising:

in response to determining that the template library comprises one or more template images, deleting a template image having a life value less than a predetermined threshold from the template library.

3. The method according to claim 1 , further comprising:

increasing the life value of the template image in response to determining that the first image matches the template image.

4. The method according to claim 1 , wherein the face-dominant image comprises an unblocked face image in a limited angle range, and the special face image comprises at least one of the following: a face image with a blocked face, a face image with an accessory, and a face image with a large deviation angle.

5. The method according to claim 4 , wherein the template image and the first image are compared by using a recognition model based on feature parameters of the template image and the first image, and wherein the recognition model is at least one of Arcface or Facenet.

6. The method according to claim 5 , wherein the recognition model determines, by using a cosine distance or a Euclidean distance between the feature parameters, whether the template image matches the first image.

7. An image processing system, comprising:

a storage apparatus, configured to store a template image having a life value that determines whether the template image is valid, wherein the life value of the template image in a template library decreases as existence time of the template image in the template library increases, and wherein the template image comprises a first template image and a second template image, the first template image comprises a face-dominant image, and the second template image comprises a special face image; and

a processing apparatus, the processing apparatus comprises:

at least one processor; and

a memory coupled to the at least one processor and storing programming instructions for execution by the at least one processor to perform operations comprising:

obtaining a first image and the template image from the storage apparatus;

comparing the first image with the template image; and

storing the first image in the template library as a new template image in response to determining that the first image matches the template image.

8. The system according to claim 7 , wherein the operations comprising:

obtaining at least one template image from a cloud server, wherein the storage apparatus is configured to store the at least one template image obtained from the cloud server.

9. The system according to claim 7 , wherein the life value of the template image increases when the first image matches the template image.

10. The system according to claim 7 , wherein the life value of the template image in the template library decreases as existence time of the template image in the template library increases.

11. The system according to claim 10 , wherein the template image comprises a first template image and a second template image, the first template image comprises a face-dominant image, and the second template image comprises a special face image.

12. The system according to claim 11 , wherein the face-dominant image comprises an unblocked face image in a limited angle range, and the special face image comprises at least one of the following: a face image with a blocked face, a face image with an accessory, and a face image with a large deviation angle.

13. The system according to claim 12 , wherein the template image and the first image are compared by using a recognition model based on feature parameters of the template image and the first image, and wherein the recognition model is at least one of Arcface or Facenet.

14. The system according to claim 13 , wherein the recognition model determines, by using a cosine distance or a Euclidean distance between the feature parameters, whether the template image matches the first image.

15. A computer program product comprising computer-executable instructions stored on a non-transitory computer-readable storage medium that, when executed by a processor, cause an apparatus to perform operations comprising:

obtaining a first image;

obtaining a template image having a life value that determines whether the template image is valid, wherein the life value of the template image in a template library decreases as existence time of the template image in the template library increases, and wherein the template image comprises a first template image and a second template image, the first template image comprises a face-dominant image, and the second template image comprises a special face image;

comparing the first image with the template image; and

storing the first image in the template library as a new template image in response to determining that the first image matches the template image.

16. The computer program product according to claim 15 , further comprising:

in response to determining that the template library comprises one or more template images, deleting a template image having a life value less than a predetermined threshold from the template library.

17. The computer program product according to claim 15 , further comprising:

increasing the life value of the template image in response to determining that the first image matches the template image.

18. The computer program product according to claim 15 , wherein the face-dominant image comprises an unblocked face image in a limited angle range, and the special face image comprises at least one of the following: a face image with a blocked face, a face image with an accessory, and a face image with a large deviation angle.

19. The computer program product according to claim 18 , wherein the template image and the first image are compared by using a recognition model based on feature parameters of the template image and the first image, and wherein the recognition model is at least one of Arcface or Facenet.

20. The computer program product according to claim 19 , wherein the recognition model determines, by using a cosine distance or a Euclidean distance between the feature parameters, whether the template image matches the first image.

Assignments (3)
CHANGE OF NAME Recorded Apr 28, 2026
From: SHENZHEN YINWANG INTELLIGENT TECHNOLOGIES CO., LTD.
To: YINWANG INTELLIGENT TECHNOLOGIES CO., LTD.
Reel/Frame 075492/0796 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 12, 2024
From: HUAWEI TECHNOLOGIES CO., LTD.
To: SHENZHEN YINWANG INTELLIGENT TECHNOLOGIES CO., LTD.
Reel/Frame 069335/0967 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 7, 2024
From: HUANG, WEI; HUANG, XIAOLIN; XU, WENKANG; ZHANG, JUNHAO
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 069183/0859 →
Priority Claims (1)
CN 202010213960.1 · Mar 24, 2020 · national
Continuity (2)
Continuation PCTCN2021074420 · Jan 29, 2021
Related Publication 20230009695A1 · Jan 12, 2023
References Cited (26)
US 8331632B1 · Mohanty · 2012 [cited by examiner]
US 8396265B1 · Ross · 2013 [cited by examiner]
US 8515139B1 · Nechyba et al. · 2013 [cited by applicant]
US 8559684B1 · Nechyba · 2013 [cited by examiner]
US 20100275258A1 · Kamakura · 2010 [cited by examiner]
US 20110243381A1 · Tsagkatakis · 2011 [cited by examiner]
US 20120326841A1 · Aoki · 2012 [cited by examiner]
US 20130247175A1 · Nechyba · 2013 [cited by examiner]
US 20140010415A1 · Kunieda · 2014 [cited by examiner]
US 20170140212A1 · Lo · 2017 [cited by examiner]
US 20190042835A1 · Mostafa · 2019 [cited by examiner]
US 20200042685A1 · Tussy · 2020 [cited by examiner]
US 20200053077A1 · Merrell · 2020 [cited by examiner]
US 20200082062A1 · Mequanint · 2020 [cited by examiner]
US 20200257893A1 · Trani · 2020 [cited by examiner]
CN 101770613A · 2010 [cited by applicant]
CN 103400106A · 2013 [cited by applicant]
CN 104537336A · 2015 [cited by applicant]
CN 107016412A · 2017 [cited by applicant]
CN 108399325A · 2018 [cited by applicant]
CN 109325327A · 2019 [cited by applicant]
CN 110555364A · 2019 [cited by applicant]
WO 2020050966A1 · 2020 [cited by applicant]
Extended European Search Report in European Appln No. 21775965.3, dated Jun. 20, 2023, 6 pages. [cited by applicant]
Bonawitz et al., “Towards Federated Learning at Scale: System Design,” Submitted on Mar. 22, 2019 arXiv:1902.01046v2 [cs.LG], 15 pages. [cited by applicant]
International Search Report and Written Opinion in International Appln. No. PCT/CN2021/074420, mailed on May 7, 2021, 17 pages (with English translation). [cited by applicant]