Face recognition method based on convolutional neural network

Through the face recognition method based on the convolutional neural network, the data before and after facial changes are processed, the convolution model parameters and structure are optimized, the problem of facial changes affecting the recognition accuracy is solved, and higher recognition accuracy and stability are achieved.

CN118736638APending Publication Date: 2024-10-01HUNAN SANXIANG BANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410710551.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Facial recognition technology reduces recognition accuracy after facial changes. In particular, improvements in cosmetic medical and makeup technology cause facial features to change significantly in a short period of time, affecting the accuracy of the recognition system.

Method used

A face recognition method based on convolutional neural networks is used to preprocess the data before and after changes in the face, establish a convolutional model knowledge base and update it regularly, and use genetic algorithms to optimize the parameters and structure of the convolutional neural network and extract facial features. And perform correlation matching to form face change data feature data to improve recognition accuracy.

Benefits of technology

It improves the accuracy and robustness of the face recognition system, can effectively handle facial changes, and enhances the stability and customer experience of the recognition system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736638A_ABST
    Figure CN118736638A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of science and technology finance, and discloses a face recognition method based on a convolutional neural network, and the method comprises the steps: collecting and preprocessing data before and after face change, and guaranteeing the data quality; then, a convolution model knowledge base is established and periodically updated, and the accuracy and robustness of recognition are improved; through feature extraction and association matching, the scheme further improves the recognition accuracy. CNN parameters and structures are optimized by using a genetic algorithm, so that the model is more suitable for face changes. And finally, deploying the optimized model to a bank system, and carrying out continuous monitoring to ensure the stability and reliability of the system. According to the whole scheme, through an integrated innovative technology, the performance of face recognition during face change processing is remarkably improved, and a more efficient and accurate security authentication means is provided for industries such as banks and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of science and technology finance technology, and in particular to a face recognition method based on a convolutional neural network. Background Art

[0002] The use of face recognition technology based on convolutional neural network (CNN) in the banking field is mainly reflected in the following aspects: security monitoring and identity authentication. Banks have introduced advanced face recognition technology as part of their financial security system. This technology verifies the identity of customers by collecting their facial feature information and comparing it with the pre-entered registration information.

[0003] At ATMs and bank counters, cameras equipped with facial recognition equipment can automatically perform facial recognition and verify identity information after customers complete other verification methods, such as bank card verification, password input, etc. This method effectively improves the security of the entire banking transaction.

[0004] Improve transaction efficiency and security. As a unique identity verification method, face recognition technology provides a more accurate and reliable means of authentication. Compared with traditional verification methods (such as passwords and fingerprints), facial features are difficult to imitate, greatly reducing the risk of misidentification, which is crucial to the security of banking and financial transactions.

[0005] When customers conduct financial transactions, they only need to use a simple facial recognition camera to complete identity authentication, eliminating tedious operation steps and improving transaction efficiency and customer experience.

[0006] Privacy protection and compliance: When banks use facial recognition technology, they must comply with relevant laws and regulations on privacy protection and data security to ensure that customers' facial information is legally obtained and used and only for specific purposes. By establishing compliant privacy protection mechanisms and data security processes, banks can protect customers' privacy rights and interests while making full use of the convenience and security brought by facial recognition technology. In addition to traditional security verification, facial recognition technology can also be applied to innovative banking services, such as remote account opening and personalized financial services.

[0007] Through face recognition technology, banks can provide customers with a more convenient and personalized service experience to meet the ever-changing market needs. Face recognition technology based on convolutional neural networks (CNN) has been widely and deeply applied in the banking field, which not only improves the security and efficiency of transactions, but also brings new service innovation opportunities for banks. However, we should also pay attention to the balance between technological innovation and customer privacy protection, and ensure the compliance application of technology and the protection of customer rights.

[0008] However, facial recognition technology faces the following problems during its actual use in banks. First, a person's face changes over time, and the features of the face will also change during the change. Second, with the improvement of current cosmetic medicine and makeup technology, a person's face can be changed in a short period of time. When a person's face changes, it will affect facial recognition technology and affect its accuracy. Therefore, a facial recognition method based on convolutional neural networks has been developed. Summary of the invention

[0009] The purpose of the present invention is to provide a face recognition method based on a convolutional neural network to solve the problem that when the face changes, it will affect the face recognition technology and affect the accuracy of the face recognition technology.

[0010] The present invention provides a face recognition method based on a convolutional neural network, comprising:

[0011] Acquire data before and after face changes, the data before and after face changes include face data before the change and face data after the change, and pre-process the data, using the pre-processed data as training data;

[0012] Establishing a convolution model knowledge base, updating the convolution model in the convolution model knowledge base according to a preset time period, substituting the preprocessed data into the convolution model in the convolution model knowledge base for training, and obtaining a training result;

[0013] Extracting data features from the training results to obtain feature data of different faces before and after changes, and performing feature correlation matching on the feature data of different faces before and after changes to obtain feature data of face change data;

[0014] Substituting the facial change data feature data into a preset genetic algorithm model for processing, setting facial data feature restriction conditions, optimizing and adjusting the parameters and structure of the convolutional neural network, and obtaining a trained facial recognition model;

[0015] Deploy the trained face recognition model to the bank’s face recognition system for face recognition.

[0016] Further, obtaining data before and after face changes, the data before and after face changes include face data before the change and face data after the change, and preprocessing the data, using the preprocessed data as training data, including;

[0017] Obtain data before and after face changes, and remove blurry, blocked photos, and photos with pixels lower than the preset value;

[0018] Crop the photo image to remove the background in the photo, keep only the face part, and adjust the size of the photo image to meet the input requirements of the convolutional neural network;

[0019] The image is labeled to mark the identity information corresponding to the face before and after the change.

[0020] Furthermore, a convolution model knowledge base is established, the convolution model in the convolution model knowledge base is updated according to a preset time period, and the preprocessed data is substituted into the convolution model in the convolution model knowledge base for training to obtain training results, including:

[0021] Select multiple convolutional neural network models as candidate models and establish a convolutional model knowledge base;

[0022] Set a preset time period for regularly updating the models in the knowledge base;

[0023] Each convolutional model is trained using the preprocessed training data.

[0024] Monitor accuracy, loss, and other metrics during training.

[0025] Use the validation set to validate the model and select the best performing model for the next steps.

[0026] Further, data feature extraction is performed on the training results to obtain feature data before and after different face changes, and feature correlation matching is performed on the feature data before and after different face changes to obtain feature data of face change data, including:

[0027] Use the trained convolutional model to extract the features of the face before and after the change, including the geometric features and texture features of the face;

[0028] The cosine similarity algorithm is used to match the features before and after the change. Through matching, the corresponding relationship before and after the face change is found to form the face change data feature data.

[0029] Furthermore, the facial change data feature data is substituted into a preset genetic algorithm model for processing, and facial data feature restriction conditions are set, and the parameters and structure of the convolutional neural network are optimized and adjusted to obtain a trained face recognition model, including:

[0030] Initializing the parameters of the genetic algorithm, the parameters population size, crossover rate and mutation rate;

[0031] Taking the facial change data feature data as the input data of the genetic algorithm, setting facial data feature restriction conditions, wherein the restriction conditions include the value range of the feature;

[0032] Through the iterative process of the genetic algorithm, the parameters and structure of the convolution model are continuously optimized, and the convolution model parameters and structure with the best performance are selected as the final face recognition model.

[0033] The beneficial effects of the present invention are as follows: Compared with the prior art, the face recognition method based on convolutional neural network provided by the present invention has the following beneficial effects:

[0034] This solution focuses on data collection and preprocessing to ensure data quality and diversity. By means of cropping, image enhancement, normalization, etc., image quality is improved, unnecessary interference information is removed, and the model is easier to learn to effectively identify information. This helps to improve the training effect and recognition accuracy of the model.

[0035] This solution establishes a convolutional model knowledge base and updates it regularly, making full use of the advantages of multiple excellent models. Compared with a single model, this integrated approach is more likely to maintain high recognition accuracy in various complex scenarios and enhance the robustness of the face recognition system.

[0036] By extracting features through the trained convolutional model, the key information of the face can be more effectively represented. At the same time, a suitable algorithm is designed for feature association matching to establish the connection between the face before and after changes, thereby improving the accuracy of recognition.

[0037] This solution uses genetic algorithms to optimize CNN parameters and structures, which is an innovative method. Through iterative optimization of genetic algorithms, a model configuration that is more suitable for processing face changes can be found, further improving the performance of face recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0039] Figure 1 A flow chart of a face recognition method based on a convolutional neural network provided by an embodiment of the present invention; DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. The technical solutions provided by the embodiments of the present invention are described in detail below in conjunction with the drawings.

[0041] See also Figure 1 The present invention provides a face recognition method based on a convolutional neural network, comprising:

[0042] In step S101, data before and after a face change is obtained, wherein the data before and after a face change includes face data before the face change and face data after the face change, and the data is preprocessed, and the preprocessed data is used as training data;

[0043] Collect the original facial data of users before medical treatment or makeup through the bank customer registration process, surveillance cameras, etc. Collect their facial data after medical treatment or makeup with the user's consent. Crop the collected facial images to remove unnecessary background and highlight the facial part. Adjust the image size and resolution to ensure the consistency of the input data. Perform image enhancement, such as contrast enhancement and denoising, to improve image quality. Normalize the image brightness and contrast to reduce the impact of lighting changes on recognition. The preprocessed data is more standardized, which helps to improve the training efficiency and recognition accuracy of the model. Through cropping and image enhancement, unnecessary interference information is removed, facial features are highlighted, and the model is easier to learn to effectively recognize information.

[0044] In step S102, a convolution model knowledge base is established, the convolution model in the convolution model knowledge base is updated according to a preset time period, and the preprocessed data is substituted into the convolution model in the convolution model knowledge base for training to obtain a training result;

[0045] Select multiple convolutional neural network models that have performed well in the field of face recognition, such as VGGNet, ResNet, etc., to form a convolutional model knowledge base. Set a reasonable time period (such as every quarter) to regularly update the models in the knowledge base to adapt to new face recognition technology and algorithm development. Use preprocessed face data to train the convolutional model. Continuously adjust the model parameters through the backpropagation algorithm and optimizer (such as Adam, SGD, etc.) to minimize the loss function of the training data. Use the validation set to verify the model to ensure that the model is not overfitting.

[0046] By building a convolutional model knowledge base, we can make full use of the advantages of multiple models and improve the accuracy and robustness of face recognition. Regularly updating the knowledge base can keep the model advanced and adapt to the ever-changing needs of face recognition. The trained model can better learn the characteristics of face changes, laying the foundation for subsequent feature extraction and matching.

[0047] In step S103, data feature extraction is performed on the training results to obtain feature data of different faces before and after changes, and feature correlation matching is performed on the feature data of different faces before and after changes to obtain feature data of face change data;

[0048] The trained convolution model is used to extract the feature vectors of the face image. These feature vectors may include information about key parts of the face, such as the contour, eyes, nose, and mouth. The extracted features are matched using appropriate algorithms (such as cosine similarity calculation, support vector machine, etc.). The matching algorithm is used to find the correspondence between the face before and after the change, forming a feature dataset of face change data.

[0049] The extracted feature vector can effectively represent the key information of the face and provide strong support for subsequent face recognition. Through association matching, the connection between the face before and after changes can be established, which helps to improve the accuracy of recognition.

[0050] In step S104, the facial change data feature data is substituted into a preset genetic algorithm model for processing, and facial data feature restriction conditions are set to optimize and adjust the parameters and structure of the convolutional neural network to obtain a trained face recognition model;

[0051] Initialize the parameters of the genetic algorithm, including population size, crossover probability, mutation probability, etc. Define the fitness function to evaluate the performance of different CNN parameters and structures.

[0052] The feature data of face change data is used as the input of genetic algorithm. The parameters and structure of CNN are optimized through genetic algorithm to adapt to the challenges brought by face change.

[0053] According to actual needs, some feature restrictions are set, such as the value range of the feature, the correlation between features, etc. These restrictions will serve as constraints in the genetic algorithm to guide the search process.

[0054] By optimizing CNN parameters and structures through genetic algorithms, a model configuration that is more suitable for processing face changes can be found. Setting feature constraints can ensure that the model does not deviate from actual needs during the optimization process, thereby improving the practicality and accuracy of the model.

[0055] In step S105, the trained face recognition model is deployed to the bank's face recognition system for face recognition.

[0056] Integrate the trained face recognition model into the bank's face recognition system. Test the model in a real environment to ensure that its performance and stability meet the expected requirements. Deploy the face recognition system to various relevant nodes of the bank, such as ATMs and counters. Continuously monitor and maintain the system to ensure its long-term stable operation and provide accurate recognition services. The deployed face recognition model can provide the bank with efficient and accurate face recognition services, improving customer experience and security. Through continuous monitoring and maintenance, the stability and reliability of the system can be ensured, and potential problems can be discovered and resolved in a timely manner.

[0057] Specifically, obtaining data before and after a face change, wherein the data before and after a face change includes face data before the change and face data after the change, and preprocessing the data, and using the preprocessed data as training data, including:

[0058] Obtain data before and after face changes, and remove blurry, blocked photos, and photos with pixels lower than the preset value;

[0059] Crop the photo image to remove the background in the photo, keep only the face part, and adjust the size of the photo image to meet the input requirements of the convolutional neural network;

[0060] The image is labeled to mark the identity information corresponding to the face before and after the change.

[0061] Specifically, a convolution model knowledge base is established, the convolution model in the convolution model knowledge base is updated according to a preset time period, the preprocessed data is substituted into the convolution model in the convolution model knowledge base for training, and the training results are obtained, including:

[0062] Select multiple convolutional neural network models as candidate models and establish a convolutional model knowledge base;

[0063] Set a preset time period for regularly updating the models in the knowledge base;

[0064] Each convolutional model is trained using the preprocessed training data.

[0065] Monitor accuracy, loss, and other metrics during training.

[0066] Use the validation set to validate the model and select the best performing model for the next steps.

[0067] Specifically, data feature extraction is performed on the training results to obtain feature data before and after different face changes, and feature correlation matching is performed on the feature data before and after different face changes to obtain feature data of face change data, including:

[0068] Use the trained convolutional model to extract the features of the face before and after the change, including the geometric features and texture features of the face;

[0069] The cosine similarity algorithm is used to match the features before and after the change. Through matching, the corresponding relationship before and after the face change is found to form the face change data feature data.

[0070] Specifically, the facial change data feature data is substituted into a preset genetic algorithm model for processing, and facial data feature restriction conditions are set, and the parameters and structure of the convolutional neural network are optimized and adjusted to obtain a trained face recognition model, including:

[0071] Initializing the parameters of the genetic algorithm, the parameters population size, crossover rate and mutation rate;

[0072] Taking the facial change data feature data as the input data of the genetic algorithm, setting facial data feature restriction conditions, wherein the restriction conditions include the value range of the feature;

[0073] Through the iterative process of the genetic algorithm, the parameters and structure of the convolution model are continuously optimized, and the convolution model parameters and structure with the best performance are selected as the final face recognition model.

[0074] It can be seen from the above embodiments that the face recognition method based on convolutional neural network provided by the present invention first collects data before and after face changes, and performs preprocessing operations such as cleaning, cropping, and resizing to meet the needs of subsequent model training. Select multiple convolutional neural network models to form a knowledge base, and use the preprocessed data for training, and select the model with the best performance through the verification set. The trained convolution model is used to extract the features before and after face changes, and these features are associated and matched by designing an algorithm to form a face change data feature data set. The parameters and structure of the convolutional neural network are optimized using a genetic algorithm, and the feature data of the face change data is substituted into the feature data, and feature constraints are set to find the best CNN configuration. The optimized face recognition model is integrated into the face recognition system of the bank. The problem that when the face changes, it will affect the face recognition technology and affect the accuracy of the face recognition technology is solved.

[0075] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention or some parts of the embodiments.

[0076] The above-described embodiments of the present invention do not limit the protection scope of the present invention.

Claims

1. A face recognition method based on a convolutional neural network, characterized in that: include; S101 obtains data before and after a face change, wherein the data before and after a face change includes the face data before the change and the face data after the change, and pre-processes the data, using the pre-processed data as training data; S102: establishing a convolution model knowledge base, updating the convolution model in the convolution model knowledge base according to a preset time period, substituting the preprocessed data into the convolution model in the convolution model knowledge base for training, and obtaining a training result; S103 extracts data features from the training results to obtain feature data of different faces before and after changes, and performs feature correlation matching on the feature data of different faces before and after changes to obtain feature data of face change data; S104: Substituting the facial change data feature data into a preset genetic algorithm model for processing, setting facial data feature restriction conditions, optimizing and adjusting the parameters and structure of the convolutional neural network, and obtaining a trained facial recognition model; S105 deploys the trained face recognition model to the bank's face recognition system for face recognition.

2. The method according to claim 1, characterized in that S101 obtains data before and after a face change, wherein the data before and after a face change includes face data before the change and face data after the change, and pre-processes the data, and uses the pre-processed data as training data, including: Obtain data before and after face changes, and remove blurry, blocked photos, and photos with pixels lower than the preset value; Crop the photo image to remove the background in the photo, keep only the face part, and adjust the size of the photo image to meet the input requirements of the convolutional neural network; The image is labeled to mark the identity information corresponding to the face before and after the change.

3. The method according to claim 1, characterized in that S102 establishes a convolution model knowledge base, updates the convolution model in the convolution model knowledge base according to a preset time period, substitutes the preprocessed data into the convolution model in the convolution model knowledge base for training, and obtains training results, including: Select multiple convolutional neural network models as candidate models and establish a convolutional model knowledge base; Set a preset time period for regularly updating the models in the knowledge base; Each convolutional model is trained using the preprocessed training data. Monitor accuracy, loss, and other metrics during training. Use the validation set to validate the model and select the best performing model for the next steps.

4. The method according to claim 1, characterized in that S103 extracts data features from the training results to obtain feature data of different faces before and after changes, and performs feature correlation matching on the feature data of different faces before and after changes to obtain feature data of face change data, including: Use the trained convolutional model to extract the features of the face before and after the change, including the geometric features and texture features of the face; The cosine similarity algorithm is used to match the features before and after the change. Through matching, the corresponding relationship before and after the face change is found to form the face change data feature data.

5. The method according to claim 1, characterized in that S104 substitutes the facial change data feature data into a preset genetic algorithm model for processing, sets facial data feature restriction conditions, optimizes and adjusts the parameters and structure of the convolutional neural network, and obtains a trained facial recognition model, including: Initializing the parameters of the genetic algorithm, the parameters population size, crossover rate and mutation rate; Taking the facial change data feature data as the input data of the genetic algorithm, setting facial data feature restriction conditions, wherein the restriction conditions include the value range of the feature; Through the iterative process of the genetic algorithm, the parameters and structure of the convolution model are continuously optimized, and the convolution model parameters and structure with the best performance are selected as the final face recognition model.