Identification result determination method and apparatus, and device and storage medium

By acquiring multiple types of images in the target recognition device and determining weighting factors based on their imaging quality, combined with the image matching degree, matching user accounts are determined from candidate user accounts, which solves the problem of uneven image quality in complex environments. Improved recognition accuracy.

WO2024212681A1PCT designated stage expired Publication Date: 2024-10-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/075007
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-12
Filing Date
2024-01-31
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

In complex shooting environments, the quality of images obtained by existing target recognition equipment through different collection methods is uneven, which affects the accuracy of recognition and matching.

Method used

By acquiring multiple types of images, weighting factors are determined based on the imaging quality of each image, and based on these weighting factors and the image matching degree, the user account that matches the target to be identified is determined from the candidate user accounts.

Benefits of technology

It improves the accuracy of recognition results, especially in scenes with complex lighting, ensuring that images with good imaging quality have a greater impact on the recognition results, while images with poor imaging quality have less impact, thereby improving the accuracy of target recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024075007_17102024_PF_FP_ABST
    Figure CN2024075007_17102024_PF_FP_ABST
Patent Text Reader

Abstract

An identification result determination method and apparatus, and a device and a storage medium, which relate to the technical field of artificial intelligence. The method comprises: acquiring images of N types that are obtained by capturing a target to be identified; for an i-th type among the N types, determining a weighting factor for the i-th type according to the imaging quality of an image of the i-th type; for each candidate user account among a plurality of candidate user accounts, obtaining an identification result for the candidate user account according to weighting factors for the N types and the degree of image matching for the N types, wherein the degree of image matching for the i-th type is used for representing the degree of feature matching between said target and the candidate user account with respect to the image of the i-th type; and according to respective identification results for the plurality of candidate user accounts, determining a user account that matches said target. By means of the imaging quality of an image of a certain type, the degree of contribution of the image of the type in an identification result process is controlled, to improve the accuracy of target identification.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device, equipment and storage medium for determining identification results

[0001] This application claims priority to Chinese patent application number 202310415584.8, filed on April 12, 2023, entitled “Method, device, apparatus and storage medium for determining identification results”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of artificial intelligence technology, and in particular to a method, apparatus, device, and storage medium for determining a recognition result. Background Art

[0003] With the development of artificial intelligence, object recognition and verification technology is constantly being updated. Its application scenarios have expanded to include palm swipe access control, palm swipe payment, palm swipe clock-in, face swipe payment, and face swipe clock-in. Object recognition and verification technology has brought more convenience to users' lives.

[0004] In the related art, the related equipment simultaneously collects color images and infrared images of the target to be identified, and identifies the user account corresponding to the palm based on the color image and the infrared image.

[0005] However, due to the complex shooting environment during offline use of related equipment, the image quality of images obtained through different acquisition methods is uneven, which affects the accuracy of matching and recognition based on different types of images.

[0006] Summary of the Invention

[0007] The present invention provides a method, apparatus, device, and storage medium for determining a recognition result, which can improve the accuracy of target recognition. The technical solution is as follows:

[0008] According to one aspect of an embodiment of the present application, a method for determining a recognition result is provided, the method being executed by a computer device, the method comprising:

[0009] Acquire N types of images obtained by collecting the target to be identified, where different types of images are obtained using different collection methods, and N is an integer greater than 1;

[0010] For the i-th type among the N types, determining a weighting factor of the i-th type according to the imaging quality of the image of the i-th type, where i is a positive integer less than or equal to N;

[0011] For each of the plurality of candidate user accounts, obtaining an identification result of the candidate user account based on the N types of weighting factors and the N types of image matching degrees, wherein the image matching degree of the i-th type is used to represent a degree of feature matching between the target to be identified and the candidate user account with respect to the i-th type of image;

[0012] According to the identification results of each of the multiple candidate user accounts, a user account that matches the target to be identified is determined from the multiple candidate user accounts. According to one aspect of an embodiment of the present application, a device for determining an identification result is provided, the device comprising:

[0013] A multi-class image acquisition module is used to acquire N types of images of the target to be identified. Different types of images are acquired using different acquisition methods. N is an integer greater than 1.

[0014] a weighting factor acquisition module, configured to determine, for an i-th type of the N types, a weighting factor of the i-th type according to the imaging quality of the i-th type of image, where i is a positive integer less than or equal to N;

[0015] a recognition result acquisition module configured to obtain, for each of the plurality of candidate user accounts, a recognition result of the candidate user account based on the N types of weighting factors and the N types of image matching degrees, wherein the image matching degree of the i-th type is used to represent a degree of feature matching between the target to be recognized and the candidate user account with respect to the i-th type of image;

[0016] The user account matching module is configured to determine a user account that matches the target to be identified from the plurality of candidate user accounts according to the identification results of each of the plurality of candidate user accounts.

[0017] According to one aspect of an embodiment of the present application, a computer device is provided, comprising a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the above-mentioned method for determining the recognition result.

[0018] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned method for determining the recognition result.

[0019] According to one aspect of an embodiment of the present application, a computer program product is provided, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the above-described method for determining a recognition result.

[0020] The technical solutions provided by the embodiments of the present application may have the following beneficial effects:

[0021] After obtaining a plurality of different types of images corresponding to the target to be identified, the weighting factors of each type of image are determined according to the imaging qualities corresponding to the plurality of different types of images, and then based on the weighting factors of each type of image, the user account that matches the target to be identified is determined from multiple candidate user accounts in combination with each type of image, so that the embodiment of the present application can be based on the imaging quality of the image. By reasonably and accurately allocating the weighting factors of each type of image, it helps to improve the accuracy of the recognition result, thereby improving the recognition accuracy of the target. Especially in scenes with complex lighting, by reasonably and accurately allocating the weighting factors of each type of image, images with good imaging quality can have a greater impact on the recognition result, while images with poor imaging quality can have a smaller impact on the recognition result, thereby improving the recognition accuracy of the target. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments.

[0023] FIG1 is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;

[0024] FIG2 is a schematic diagram of a quality assessment model provided by one embodiment of the present application;

[0025] FIG3 is a flowchart of a method for determining a recognition result provided by one embodiment of the present application;

[0026] FIG4 is a flowchart of a method for determining a recognition result provided by another embodiment of the present application;

[0027] FIG5 is a schematic diagram of a method for obtaining a bounding box according to an embodiment of the present application;

[0028] FIG6 is a schematic diagram of a target detection method provided by one embodiment of the present application;

[0029] FIG7 is a schematic diagram of an object detection network provided by one embodiment of the present application;

[0030] FIG8 is a schematic diagram of key points provided by an embodiment of the present application;

[0031] FIG9 is a schematic diagram of a key point detection network provided by one embodiment of the present application;

[0032] FIG10 is a schematic diagram of a method for obtaining a region of interest map according to an embodiment of the present application;

[0033] FIG11 is a schematic diagram of a region of interest map provided by one embodiment of the present application;

[0034] FIG12 is a schematic diagram of a quality assessment network provided by one embodiment of the present application;

[0035] FIG13 is a flowchart of a method for obtaining a weighting factor provided by one embodiment of the present application;

[0036] FIG14 is a schematic diagram of a palm-swipe verification method provided by one embodiment of the present application;

[0037] FIG15 is a schematic diagram of a method for obtaining a recognition score according to an embodiment of the present application;

[0038] FIG16 is a block diagram of an apparatus for determining a recognition result according to an embodiment of the present application;

[0039] FIG17 is a block diagram of an apparatus for determining a recognition result provided by another embodiment of the present application;

[0040] FIG18 is a block diagram of a computer device provided by one embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0042] Artificial Intelligence (AI) refers to the theories, methods, techniques, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, to perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. In other words, AI is a comprehensive technology within computer science that seeks to understand the essence of intelligence and produce new intelligent machines that can respond in a manner similar to human intelligence. AI also involves studying the design principles and implementation methods of various intelligent machines, enabling them to possess the capabilities of perception, reasoning, and decision-making.

[0043] Artificial intelligence (AI) technology is a comprehensive discipline encompassing a wide range of fields, encompassing both hardware and software technologies. Foundational AI technologies generally include sensors, specialized AI chips, cloud computing, distributed storage, big data processing, operating / interaction systems, and mechatronics. AI software technologies primarily encompass computer vision, speech processing, natural language processing, and machine learning / deep learning.

[0044] Computer vision (CV) is the science of making machines "see." Specifically, it refers to using cameras and computers to replace the human eye in identifying, tracking, and measuring objects, and further processing them to create images more suitable for human observation or transmission to instruments. As a scientific discipline, computer vision studies related theories and technologies, attempting to build artificial intelligence systems capable of extracting information from images or multidimensional data. Computer vision technologies typically include image processing, image recognition, image semantic understanding, image retrieval, video processing, optical character recognition (OCR), video semantic understanding, video content / action recognition, three-dimensional object reconstruction, 3D technology, virtual reality, augmented reality, and mapping. It also includes common feature recognition technologies such as facial recognition and fingerprint recognition.

[0045] Machine Learning (ML) is a multidisciplinary field that encompasses probability theory, statistics, approximation theory, convex analysis, and algorithmic complexity theory. It specifically studies how computers can simulate or implement human learning behaviors to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is at the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications span all areas of AI. Machine learning and deep learning typically include techniques such as artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and learning through demonstration.

[0046] The technical solutions provided by the embodiments of this application involve artificial intelligence computer vision and machine learning technologies. Computer vision technologies are used to process images to obtain image quality scores and target features of the target to be identified in the image. Based on the image quality scores and target features of the target to be identified, the target to be identified is identified to obtain a recognition result. Furthermore, the embodiments of this application also use machine learning technologies to train a quality assessment model based on the image quality scores, thereby obtaining a quality assessment model that can accurately obtain image quality scores.

[0047] The technical solutions provided by the embodiments of this application are applicable to any scenario requiring target recognition, such as palm-swipe verification, face-swiping verification, target recognition, security detection, and payment. The technical solutions provided by the embodiments of this application can improve the accuracy of target recognition. The embodiments of this application do not limit the target to be recognized; it can refer to any object, such as a person or a part of a person.

[0048] Please refer to FIG1 , which shows a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application. The implementation environment may include: a terminal device 10 and a server 20 .

[0049] The terminal device 10 can be a mobile phone, tablet computer, multimedia player, PC (Personal Computer), intelligent robot, vehicle-mounted terminal, access control device, payment device, security equipment, or any other electronic device with image acquisition capabilities. The terminal device 10 can be installed with a client for a target application, such as a palm authentication application, a payment application, a social entertainment application, a simulation learning application, or any other application with target recognition capabilities.

[0050] The server 20 is configured to provide background services for the client of a target application (e.g., a palm authentication application) in the terminal device 10. For example, the server 20 may be the background server of the aforementioned application (e.g., a palm authentication application). The server 20 may be a single server, a server cluster consisting of multiple servers, or a cloud computing service center.

[0051] The terminal device 10 and the server 20 can communicate with each other via a network 30. The network 30 can be a wired network or a wireless network.

[0052] Exemplarily, after acquiring N types of images (also referred to as multiple types of images) for the target to be identified, the terminal device 10 sends the N types of images to the server 20. For each of the N types (referred to as the i-th type), the server 20 determines a weighting factor for the i-th type based on the imaging quality of the i-th type of image. The server 20 performs feature recognition on the i-th type of image using the feature extraction model 50, determines the target features of the i-th type, and performs a matching operation on the target features of the i-th type and the candidate features of the i-th type to obtain the image matching degree of the i-th type. Subsequently, the server 20 performs a weighted summation of the N types of image matching degrees based on the N types of weighting factors to obtain the recognition result of the candidate user account. Based on each recognition result, the server 20 determines the user account that matches the target to be identified (i.e., the final recognition result). The server 20 sends the final recognition result to the terminal device 10, and the terminal device 10 performs corresponding operations based on the final recognition result.

[0053] Optionally, the above-mentioned quality assessment model 40 and feature extraction model 50 can also be deployed in the terminal device 10, so that the terminal device 10 performs the process of obtaining the final recognition result, which is not limited in this embodiment of the present application.

[0054] Among them, the above-mentioned quality assessment model 40 may refer to a neural network model for evaluating the imaging quality of an image, which may output a quality score for evaluating the imaging quality of the image. The feature extraction model 50 refers to a neural network model for extracting features from an image, which may output target features for characterizing the target to be identified in the image. Target features are also referred to as feature vectors, which are mathematical abstract expressions of the target and can be used to identify the target. Optionally, the feature extraction model 50 may be constructed based on, for example, CNN (Convolutional Neural Networks), BP (Back Propagation) neural networks, GoogleNet (a deep learning structure), ResNet (Residual Network), and the like.

[0055] In one example, referring to FIG2 , the quality assessment model 40 may include an object detection network 410, a keypoint detection network 420, and a quality assessment network 430. The object detection network 410 is used to obtain a bounding box of the object to be identified in the image, the keypoint detection network 420 is used to obtain key points corresponding to the object to be identified, and the quality assessment network 430 is used to obtain the imaging quality of the image with respect to the object to be identified. For example, after the object detection network 410 obtains the bounding box of the object to be identified in the image, the image is cropped using the bounding box to obtain a cropped image, and the cropped image is processed using the keypoint detection network 420.

[0056] Optionally, the target detection network 410 can be constructed based on SSD (Single Shot Detector, a target detection network), or based on YOLO (You Only Look Once, a target detection network), or based on CNN (Convolutional Neural Network, convolutional neural network), R-CNN (Region-CNN, region-based convolutional neural network), Faster R-CNN and other networks, which are not limited in this embodiment of the present application. The target detection network 410 can be trained based on training samples with targets to be identified, and the training samples include pictures of the targets to be identified and labeled data of the targets to be identified. The training data of the model to be identified can be determined according to the use of the target detection network in actual work engineering, which is not limited in this application.

[0057] The key point detection network 420 can be constructed based on networks such as DeepPose (a convolutional neural network for key point detection), DNN (Deep Neural Network), HRNet (High-Resolution Net), etc., and this embodiment of the present application is not limited to this. The key point detection network 420 can be trained based on training samples with labeled data of key points.

[0058] The quality assessment network 430 can be constructed based on a network such as FaceQnet (a quality assessment model for facial images), CNN, GoogleNet, etc. The quality assessment network 430 can be trained based on training samples with labeled data of imaging quality, or can be trained using the recognition scores output by FaceQnet as labeled data, which is not limited in this embodiment of the present application.

[0059] Below, the technical solution provided by this application will be introduced and explained through method embodiments.

[0060] Please refer to Figure 3, which shows a flowchart of a method for determining recognition results provided by one embodiment of the present application. The execution entity of each step of this method can be the terminal device 10 or server 20 in the implementation environment of the solution shown in Figure 1. For ease of description, the following description uses a computer device as the execution entity to introduce and explain this solution. The method can include the following steps (310-340).

[0061] Step 310 : Acquire N types of images obtained by capturing the target to be identified. Different types of images are obtained by using different capturing methods. N is an integer greater than 1.

[0062] In some embodiments, the target to be identified refers to the identification object in the target identification process. By determining the identification result of the target to be identified, the category of the target to be identified can be determined, or the identity authentication of the target to be identified can be completed. The embodiments of the present application do not limit the type of target to be identified. For example, in the palm verification scenario, the target to be identified refers to the palm. For another example, in the face payment scenario, the target to be identified refers to the face. The specific value of N is determined according to the actual identification requirements and is not set in this application.

[0063] In some embodiments, for each of N types of images, an image to be identified is displayed. The N types of images include at least two of the following: infrared images, color images, depth images, grayscale images, etc. Optionally, at least two types of images are present among the N types of images, and the at least two types of images are acquired by capturing the target object using different acquisition methods. The acquisition method can be understood as the method of capturing the target to be identified.

[0064] Optionally, for the i-th type of images among the N types of images, the i-th type of images includes k images, where k is a positive integer. The k images are acquired in the same manner. For different types of the N types, the number of images included in each type of image may be the same or different.

[0065] In some embodiments, different acquisition methods are implemented using different acquisition sensors. Optionally, N types of images are obtained by an image acquisition device acquiring images of the target to be identified. For example, the image acquisition device may be equipped with N types of acquisition sensors. The i-th type of acquisition sensor among the N types of acquisition sensors acquires an image of the target to be identified using its corresponding acquisition method, thereby obtaining an i-th type of image, where i is a positive integer less than or equal to N.

[0066] Exemplarily, the maximum time interval between the acquisition times of the various acquisition sensors is less than or equal to an interval threshold. For example, if the interval threshold is 0.5 seconds, and the earliest acquisition time of the N types of acquisition sensors acquires the image to be identified at 12:00:00.00, then the acquisition times of the target to be identified by the other acquisition sensors in the N types of acquisition sensors will not be later than 12:00:00.05.

[0067] Optionally, the i-th type of acquisition sensor among the N types of acquisition sensors acquires the target to be identified multiple times, and selects the first k images with the best focus from the images acquired in the multiple acquisitions as the i-th type of images, and transmits them to the computer device, where k is a positive integer. For example, k is equal to 3.

[0068] For example, taking the palm swiping verification scenario as an example, the target to be identified is the palm to be identified, and the image acquisition device can be called a palm swiping device. In this scenario, at least an infrared sensor and a color sensor are deployed on the palm swiping device, and the above-mentioned N types of images include color images and infrared images. The infrared sensor in the palm swiping device uses the infrared light radiated by the palm to be identified to obtain an infrared image; the color sensor in the palm swiping device uses the natural light reflected by the palm to be identified to obtain a color image, wherein the infrared image can be used for liveness detection, for example, the infrared image includes blood vessel distribution. Color images are also called RGB (Red-Green-Blue) images, and color images are used to characterize the texture distribution of the palm to be identified.

[0069] In some embodiments, a wired or wireless connection exists between the computer device and the image acquisition device. For example, if the computer device is a server, the image acquisition device transmits the N types of images to the server via wireless communication via a wireless connection to implement step 310. For another example, the image acquisition device and the computer device are integrated into a single device. After the image acquisition device acquires the target to be identified, the computer device can directly acquire the N types of images.

[0070] Step 320 : For the i-th type among the N types, determine a weighting factor of the i-th type according to the imaging quality of the i-th type of image, where i is a positive integer less than or equal to N.

[0071] The i-th type can be any type among the N types. For each of the N types, the weighting factor of the type can be determined using the method provided in step 320. Optionally, the imaging quality of the i-th type of image is used to measure the clarity of the k images included in the i-th type of image. The higher the clarity of the k images, the higher the imaging quality of the i-th type of image; optionally, the lower the clarity of the k images, the lower the imaging quality of the i-th type of image. In other words, the imaging quality of the i-th type of image is used to reflect the richness of details related to the target to be identified included in the i-th type of image. The higher the imaging quality of the i-th type of image, the richer the details related to the target to be identified recorded in the i-th type of image.

[0072] Optionally, the imaging quality of the i-th type of image is related to factors such as the degree of focus during the i-th acquisition method's acquisition of the target to be identified, the movement of the target to be identified, the image acquisition performance of the i-th acquisition sensor (e.g., resolution, aperture size), and the stability of the i-th acquisition sensor (whether it experiences oscillation). Because image quality significantly impacts the accuracy of target recognition, images with high imaging quality help improve target recognition accuracy, while images with higher imaging quality provide less useful information during target recognition. Therefore, before performing target recognition, it is necessary to determine the contribution of different types of images to the target recognition process based on their respective imaging qualities.

[0073] Optionally, the imaging quality of the i-th type of image is predicted based on a quality assessment model for at least one image included in the i-th type of image. For example, the at least one image included in the i-th type of image is input into the quality assessment model, and the imaging quality of the at least one image is assessed using the quality assessment model. For details about this step, please refer to the following examples.

[0074] Optionally, the imaging quality of the i-th type of image can be measured based on the degree of smoothness between adjacent pixels in at least one image included in the i-th type of image. A larger smoothness value indicates higher image quality; a smaller smoothness value indicates lower image quality. Exemplarily, for any one of the at least one images, the pixel value difference between two adjacent pixels in the positive x-axis direction of the image coordinate system is determined, and the pixel value differences of each pixel value greater than or equal to a pixel threshold are added together to obtain a smoothness value, which is used to represent the image quality of the image.

[0075] In the embodiments of the present application, a weighting factor is used to indicate the degree of involvement of an image in the recognition process of an object to be recognized. That is, a weighting factor of a certain type determines the degree to which an image of a certain type contributes to the recognition result. Among the N types, there are at least two types, each with a different weighting factor value. Optionally, the sum of the weighting factors of the N types is equal to 1.

[0076] Optionally, for the i-th type among the N types, the value of the weighting factor of the i-th type is positively correlated with the imaging quality of the i-th type of image. That is, the higher the imaging quality of the i-th type of image, the larger the value of the weighting factor of the i-th type; and the lower the imaging quality of the i-th type of image, the smaller the value of the weighting factor of the i-th type.

[0077] In step 330 , for each of the multiple candidate user accounts, an identification result of the candidate user account is obtained based on the N types of weighting factors and the N types of image matching degrees, where the image matching degree of the i-th type is used to represent the degree of feature matching between the target to be identified and the candidate user account with respect to the i-th type of image.

[0078] There is a candidate user account among multiple candidate user accounts, and the target to be identified is from the user to which the candidate user account belongs. It will be understood that the purpose of identifying the target to be identified is to find the candidate user account from among the multiple candidate user accounts based on the target to be identified. Optionally, the candidate user account refers to a user account registered in the target application, with each user account corresponding to a user. In step 330, the computer device determines the recognition results for the target to be identified and the multiple candidate user accounts, respectively, so as to determine the user account corresponding to the user to which the target to be identified belongs based on the recognition results. Please refer to the embodiments below for details.

[0079] Optionally, the image matching degree of the i-th type is used to measure the similarity between the target to be identified and the image of the i-th type possessed by the candidate user account.

[0080] Optionally, for each user account in the candidate user accounts, determining the i-th type of image matching degree between the candidate user account and the target type to be identified requires using information for describing the i-th type of image of the target to be identified, as well as information for describing the i-th type of image of the candidate user account.

[0081] Exemplarily, the i-th type of image of the target to be identified is obtained in the above step 310, and the information used to describe the i-th type of image of the target to be identified is obtained by processing the i-th type of image of the target to be identified.

[0082] For example, the i-th type of image for a candidate user account is obtained by collecting a user target provided by the user to which the candidate user account belongs. The i-th type of image for the candidate user account can be pre-uploaded by the candidate user account to a computer device, so that the computer device processes the i-th type of image for the candidate user account and obtains information describing the i-th type of image for the candidate user account. The information describing the i-th type of image for the candidate user account can be predetermined and stored in a database.

[0083] The user target provided by the user and the target to be identified are of the same type. For example, the target to be identified and the user target provided by the user are both palms. That is, the user target is the palm of the user. For another example, the target to be identified and the user target provided by the user are both pupils.

[0084] In some embodiments, for a candidate user account, after determining N types of image matching degrees between the candidate user account and the target to be identified, the computer device determines the recognition result of the candidate user account based on the N types of image matching degrees and the weighting factors of each of the N types. The recognition result of the candidate user account can be represented by a decimal in the interval [0, 1]. Optionally, in the process of determining the recognition result of a candidate user account, for the i-th type of the N types, the i-th type of image matching degree is processed using the i-th type of weighting factor to obtain a processed i-th type of image matching degree. The processed i-th type of image matching degree is used in the process of determining the recognition result of the candidate user account. For details about this step, please refer to the embodiments below.

[0085] Since the imaging factor of the i-th type is related to the imaging quality of the i-th type of image, and the two are positively correlated, the weighting factor of the type with better imaging quality is larger, so that this type of image contributes more in the determination of the recognition result, so as to make full use of the detail information provided by the image of the category with better imaging quality in the target recognition process, and at the same time reduce the interference degree of meaningless information in the image of the lower imaging quality type on the recognition result, reduce the introduction of erroneous information in the target recognition process, and help improve the accuracy of the recognition result.

[0086] After determining the identification results of each of the multiple candidate user accounts, step 330 is completed. It should be noted that the process of determining the identification results of each of the multiple candidate user accounts can be executed serially or in parallel. For example, the computer device determines the identification results of each of the multiple candidate user accounts one by one. For another example, if the computing performance of the computer device allows, the computer device establishes multiple processes in step 330, and different processes are used to calculate the identification results of different candidate user accounts. This helps to improve the speed of target identification, shorten the time spent on determining the identification results of each of the multiple candidate user accounts, and reduce the user's waiting time.

[0087] Step 340 : Determine a user account that matches the target to be identified from the plurality of candidate user accounts based on the identification results of the plurality of candidate user accounts.

[0088] In some embodiments, the computer device determines, from among the identification results of the plurality of candidate user accounts, the candidate user account corresponding to the identification result with the largest value as the user account that matches the target to be identified. In other words, the computer device determines that the target to be identified was provided by the user whose user account matches the target to be identified.

[0089] Optionally, the computer device determines a user account that matches the target to be identified from multiple candidate user accounts based on the respective identification results of the multiple candidate user accounts, including: the computer device determines the user account that matches the target to be identified based on the respective identification results of the multiple candidate user accounts and a determination threshold; if the identification result with the largest value among the respective identification results of the multiple candidate user accounts is greater than or equal to the determination threshold, then determining the candidate user account corresponding to the identification result with the largest value as the user account that matches the target to be identified.

[0090] For example, if the identification results of the plurality of candidate user accounts are all less than the determination threshold, it is determined that there is no user account matching the target to be identified among the plurality of candidate user accounts. The determination threshold is predetermined. For example, the determination threshold is equal to 0.95.

[0091] To summarize, after acquiring and capturing multiple types of images of the target to be identified, the weighting factors of each type of image are determined according to the imaging qualities corresponding to the multiple different types of images, and then based on the weighting factors of each type of image, the user account that matches the target to be identified is determined in combination with each type of image. This enables the embodiment of the present application to reasonably and accurately allocate the weighting factors of each type of image according to the imaging quality of the image, thereby improving the accuracy of the recognition result, and further improving the recognition accuracy of the target. Especially in scenes with complex lighting, by reasonably and accurately allocating the weighting factors of each type of image, images with good imaging quality can have a greater impact on the recognition result, and images with poor imaging quality can have a smaller impact on the recognition result, thereby improving the recognition accuracy of the target.

[0092] The following describes methods for determining different types of weighting factors among N types through several embodiments.

[0093] In some embodiments, step 320, determining the i-th type of weighting factor according to the imaging quality of the i-th type of image, includes the following steps, which are performed by a computer device.

[0094] Step 321 : Determine the quality score of the i-th type of image. The quality score of the i-th type of image is used to characterize the imaging quality of the i-th type of image.

[0095] In some embodiments, the above-mentioned quality score is obtained by evaluating the picture content of the i-th type of image, that is, the above-mentioned quality score can be used to characterize the clarity and imaging quality of the corresponding area of ​​the target to be identified in the i-th type of image. Optionally, the quality score is used to evaluate the imaging quality of the target to be identified in the image. Optionally, a higher quality score indicates a higher imaging quality of the target to be identified in the image, that is, the imaging of the target to be identified in the i-th type of image is clearer, and the i-th type of image includes more details about the target to be identified; a lower quality score indicates a lower imaging quality of the i-th type of image, that is, the imaging of the target to be identified in the image is relatively blurred, and the image may not be able to show the details of the target to be identified. It helps to improve the recognition accuracy of the target to be identified.

[0096] The quality score of the i-th type of image can be determined by a quality assessment model, or by evaluating the pixel values ​​of pixels in the image using methods such as smoothing values. For details about the quality assessment model and smoothing values, please refer to the above embodiments and will not be repeated here.

[0097] Optionally, when the i-th type of images includes k images, and k is greater than 1, determining the quality score of the i-th type of images includes: determining a quality score for each of the k images, and determining the quality score of the i-th type of images based on the quality scores of the k images. For each of the k images, the quality score of the image can be determined using a quality assessment model or a smoothing value, as described above.

[0098] Exemplarily, the computer device performs a weighted summation of the quality scores of the k images to obtain a quality score for the i-th type of image. Exemplarily, the computer device determines, based on the quality scores of the k images, m images with the highest quality scores from the k images, and performs a weighted summation of the quality scores of the m images to obtain a quality score for the i-th type of image, where m is a positive integer less than or equal to k.

[0099] Step 323: Determine a weight representation parameter of the i-th type based on the numerical relationship between the quality score of the i-th type of image and the quality score threshold. The weight representation parameter of the i-th type is used to control the contribution of the i-th type of image to the recognition result.

[0100] In some embodiments, the quality score threshold is a reference value used when determining the weight representation parameter of the i-th type based on the quality score of the i-th type of image. Optionally, the quality score threshold of the i-th type and the weighting factor of the i-th type are positively correlated. That is, the larger the value of the quality score threshold of the i-th type, the larger the value of the weighting factor of the i-th type; and the smaller the value of the quality score threshold of the i-th type, the smaller the value of the weighting factor of the i-th type.

[0101] Optionally, at least two different types exist among the N types, and the quality score thresholds of the two types are unequal. Exemplarily, for the i-th type of the N types, the quality score threshold of the i-th type is determined based on the image acquisition capability of the i-th acquisition sensor. Determining the quality score threshold of the i-th type in this manner helps improve the adaptability of the weighting factor to acquisition sensors of different acquisition capabilities, helps improve the accuracy of determining the value of the weighting factor, and thereby improves the accuracy of the target recognition process.

[0102] Optionally, different types of images may also share the same quality score threshold, which can reduce the number of quality score thresholds and thus reduce the complexity of determining the weighting factor.

[0103] In one example, the quality score threshold is pre-set, and the computer device stores the quality score thresholds for each of N types. In another example, the quality score threshold is acquired in real time. In the case where the computer device is a server, the server may receive N types of images obtained by respectively capturing multiple targets to be identified within the same time period. Multiple targets to be identified may be captured by different image acquisition devices. If the quality score thresholds for each of the N types set for different image acquisition devices are pre-stored, it will cause a large storage pressure on the server.

[0104] In this case, when the image acquisition device transmits the N types of images it has captured to the server, it can also send the acquisition performance parameters of the N types of acquisition sensors included in the image acquisition device to the server, so that the server can determine the quality score thresholds for each of the N types based on the acquisition performance parameters of the acquisition sensors. This helps reduce the server's storage pressure for quality score thresholds and allows the real-time determination of the quality score parameters for each type based on the acquisition performance parameters of the acquisition sensors, helping to improve the adaptability of the target recognition process in different scenarios.

[0105] Taking into account that the imaging quality of the feature recognition algorithm used in the embodiment of the present application has a certain robustness, that is, after the imaging quality of the i-th type of image and the imaging quality of the j-th type of image both reach a certain level (that is, the imaging quality is good), the difference in the imaging quality of the i-th type of image and the imaging quality of the j-th type of image has little effect on the recognition result. Therefore, when the imaging quality of a certain type of image reaches a certain level (such as the quality score of the image of this type is greater than or equal to the quality score threshold), the imaging quality of this type of image has a reduced ability to influence the weighting factor of this type, and even the weighting factor of this type no longer changes.

[0106] Optionally, the quality score threshold can be set and adjusted based on empirical values. This process is described using the example of a first type and a second type of N types sharing the same quality score threshold, where the first type of image is a color image and the second type of image is an infrared image. In determining the quality score threshold, a collection device is used to sample the same target to obtain multiple sets of sample images, each set of sample images including a high-quality color image and a high-quality infrared image. An initial score threshold is set, and steps 320-340 are performed. With the goal of maximizing the recognition results corresponding to each set of sample images, the quality score threshold corresponding to each set is adjusted to adjust the weighting factor. When the recognition results corresponding to each set of sample images stabilize, the quality score threshold currently corresponding to each set of sample images is determined as the final quality score threshold for that set of sample images. By averaging the final quality score thresholds corresponding to each set of sample images, the quality score threshold shared by the first and second types can be obtained.

[0107] Optionally, the computer device selects one of the quality scores of the i-th type of images and the quality score threshold as the i-th type of weight representation parameter based on the numerical relationship between the quality scores of the i-th type of images and the quality score threshold of the i-th type. In one example, the quality score mentioned in step 321 can be obtained through steps 315-318 in the following embodiments.

[0108] In some embodiments, step 323 may be implemented in any of the following ways.

[0109] Method 1: The smaller value between the quality score of the i-th type of image and the quality score threshold is determined as the weight representation parameter of the i-th type.

[0110] For example, the process of obtaining the weight representation parameter of the i-th type is determined by the formula min(Q,A), where Q is the quality score of the i-th type of image, and A is the quality score threshold of the i-th type.

[0111] Method 2: The larger value between the quality score of the i-th type of image and the quality score threshold is determined as the weight representation parameter of the i-th type.

[0112] For example, the process of obtaining the weight representation parameter of the i-th type is determined using the formula max(Q,A), where Q is the quality score of the i-th type of image and A is the quality score threshold. In this way, for a certain type of image with low imaging quality, by using the quality score threshold as the weight representation parameter of that type, it is avoided that the weight representation parameter of that type is too low, resulting in the image matching degree of that type having a small contribution to the recognition result, and the calculation process of determining the image matching degree of that type becomes a meaningless calculation process.

[0113] Method 3: Determine the average of the quality score of the i-th type of image and the quality score threshold as the weight representation parameter of the i-th type. In determining the weight representation parameter of the i-th type of image, the weight factors of the quality score of the i-th type of image and the quality score threshold can be equal or different, and this application does not limit this.

[0114] For example, the quality score threshold of the i-th type of the i-th type. By determining the average of the quality score of the i-th type of image and the quality score threshold as the i-th type's weight representation parameter, it helps to appropriately shorten the process of determining the quality score threshold. The contribution of various types of images to the recognition results of candidate user accounts due to imaging quality helps multiple types of images participate in the target recognition process, providing different types of reference information for the target recognition process, thereby helping to ensure the accuracy of the target recognition process from multiple aspects.

[0115] Step 325 : Calculate the weighting factor according to the weight representation parameter of the i-th type to obtain the weighting factor of the i-th type.

[0116] Optionally, the computer device uses a linear weighting formula to calculate a weighting factor for the weight representation parameter of the i-th type to obtain the weighting factor of the i-th type. The weighting factor calculation refers to the process of determining the weighting factor of the i-th type based on the weight representation of the i-th type. Exemplarily, the weighting factor calculation process requires the use of weight representation parameters for each of the N types.

[0117] In some embodiments, step 325 is implemented through the following steps, and the execution subject of the following steps is a computer device.

[0118] Step 325 - a , summing up the weight representation parameters of each of the N types to obtain a summation result.

[0119] For example, the sum result is calculated using the formula, Among them, c i Represents the weight representation parameter of the i-th type.

[0120] Optionally, during the process of determining N types of weighting factors by the computer device, step 325-a is performed fewer than N times. That is, step 325-a is necessary for determining a third type of weighting factor among the N types of weighting factors. The third type refers to the type whose weighting factor is determined earliest among the N types. In actual implementation, the third type may be a randomly selected type from the N types.

[0121] For example, for the other types among the N types except the third type, step 325-a is not necessarily performed during the process of determining the weighting factors of the other types. For example, after determining the summation result during the process of determining the weighting factors of the third type, the computer device stores the summation result; when determining the weighting factors of the other types, the computer device directly reads the summation result from the storage space instead of performing step 325-a.

[0122] Step 325 - b , performing a ratio operation on the weight representation parameter of the i-th type and the summation result to obtain a weighting factor of the i-th type.

[0123] Optionally, the i-th type of weighting factor is positively correlated with the i-th type of weight representation parameter, and the i-th type of weighting factor is negatively correlated with the summation result.

[0124] In an example, taking the N types including a first type and a second type, the first type of image being a color image, and the second type of image being an infrared image, and taking the multiple different types of images including color images and infrared images, and the quality score thresholds of the first type and the second type being equal as an example, the weighting factor α of the first type is calculated using the following formula:

[0125] Among them, Q r Denotes the quality score of the first type of image, Q i represents the quality score of the second type of image, and A is the quality score threshold. From the above content, it can be seen that the sum of the weighting factors of N types of images is 1, so the weighting factor β of the second type is expressed as β=1-α, which can also be expressed as:

[0126] Please refer to the above for the meaning of each parameter in this formula, which is not limited here.

[0127] In this way, according to the quality scores of multiple types of images, the weight characterization parameters of the multiple types are determined, and the weighting factors of the multiple types are determined based on the weight characterization parameters, so that the imaging quality of different types of images is taken into consideration in the process of determining the weighting factors, so that the type with higher imaging quality contributes more to the process of determining the recognition results. Since images with higher imaging quality can provide more information about the target to be identified in the target recognition process, the embodiments of the present application help to improve the accuracy of the target recognition process.

[0128] In addition, based on the size relationship between the quality score and the quality score threshold, the weight characterization parameters corresponding to different types of images are determined; then, based on the weight characterization parameters corresponding to different types of images, the weighting factors corresponding to different types of images are determined, so that the weighting factors are more consistent with the actual impact relationship between the quality score and the recognition result, thereby improving the rationality of determining the weighting factors and further improving the recognition accuracy of the target. At the same time, the technical solution provided in the embodiment of the present application can dynamically adjust the weighting factors according to the image quality, so that the technical solution provided in the embodiment of the present application can be applied to different lighting environments, thereby improving the practicality and anti-interference ability of the technical solution provided in the embodiment of the present application.

[0129] The following describes several embodiments of a method for determining a quality score for an image of type i. Figure 4 is a flowchart of a method for determining a recognition result, provided by another exemplary embodiment of the present application. This embodiment is executed by a computer device. Referring to Figure 4 , the method for determining a recognition result can be implemented in the following steps.

[0130] In step 310 , N types of images are acquired by capturing the target to be identified. Different types of images are acquired using different capture methods, and N is an integer greater than 1. Please refer to the above for details of step 310 .

[0131] After step 310 is completed, the computer device needs to determine weighting factors for each type of image based on the imaging quality of each type of image. Optionally, in this embodiment, the quality score of the i-th type of image is determined using a quality assessment model. The quality assessment model includes an object detection network, a key point detection network, and a quality assessment network. The computer device uses the quality assessment model to determine the imaging quality of each of the N types of images. Optionally, the same quality assessment model is used to determine the imaging quality of different types of images.

[0132] Optionally, different quality assessment models are used to determine the imaging quality of different types of images. Exemplarily, different quality assessment models include those with different model structures or those with the same model structure but different model parameters. In the embodiments of the present application, the principles for determining the imaging quality of different types of images using different quality assessment models are similar. The following describes the process using the determination of the imaging quality of the i-th type of image as an example.

[0133] In step 315, target detection is performed on the image of the i-th type through the target detection network to determine the bounding box diagram of the target to be identified in the image of the i-th type. The bounding box diagram refers to the imaging area of ​​the target to be identified in the image of the i-th type.

[0134] Optionally, the bounding box in the i-th type of image is used to distinguish, in the i-th type of image, the display area of ​​the target to be identified from the display area of ​​other screen content. Exemplarily, the bounding box in the i-th type of image includes all screen content related to the target to be identified in the i-th type of image. Exemplarily, the bounding box is a rectangular area in the i-th type of image.

[0135] Optionally, the computer device performs target detection on the i-th type of image through a target detection network to obtain a bounding box of the target to be identified in the i-th type of image, and obtains a bounding box diagram by cutting out the area corresponding to the bounding box from the i-th type of image.

[0136] With reference to FIG5 , the execution process of step 316 is introduced by taking the palm-swiping scene as an example. For the i-th type of image 501 among the N types of images, the i-th type of image 501 is first input into the target detection network 502. The target detection network 502 divides the i-th type of image 501 into S*S grids, and performs boundary prediction on each grid in the S*S grids to obtain the respective prediction results of the S*S grids. Among them, the process of performing boundary prediction on any grid includes: performing B Bounding Boxes (bounding box) prediction on the grid to obtain the respective prediction information of the B bounding boxes, wherein the prediction result of the grid includes the respective prediction information of the B bounding boxes, and B is a positive integer greater than 1. The sizes of the respective border areas of the B bounding boxes are not equal. Usually the bounding box is a rectangular border.

[0137] The prediction information of each of the B bounding boxes contains five prediction values: x, y, w, h, and confidence. x and y represent the plane coordinates of the center point of the bounding box. The value range of x and y can be adjusted to 0-1 through normalization. w and h represent the size of the bounding box (such as the width and height of the bounding box). The value range of w and h is normalized to 0-1.

[0138] Optionally, normalizing x is achieved by dividing the original value of x by the width w of the bounding box to obtain the predicted value x; normalizing y is achieved by dividing the original value of y by the height h of the bounding box to obtain the predicted value y.

[0139] The confidence level is used to represent the possibility that the bounding box displays a complete palm or a partial palm in the image region corresponding to the i-th type of image.

[0140] For example, each grid predicts the probability of C hypothetical categories, and the object detection network 502 outputs a prediction result as a tensor of S*S*(B*5+C). For example, referring to Figure 6, the image 501 is divided into 7*7 grids, that is, S=7, each grid corresponds to 2 bounding boxes, that is, B=2, and there are 20 hypothetical categories in total, that is, C=20. Then the prediction result of the object detection network 502 is a tensor of 7*7*30.

[0141] Optionally, the confidence calculation formula may be as follows: Among them, Pr is used to indicate whether there is a palm in the corresponding grid (if it exists, Pr = 1, if not, Pr = 0), The confidence level is the intersection-over-union (IoU) between the palm bounding box output by the object detection network 502 and the ground-truth palm bounding box. If there is no palm in the grid, the confidence level is 0. If there is a palm in the grid, the confidence level is the IoU between the palm bounding box output by the object detection network 502 and the ground-truth palm bounding box.

[0142] Optionally, the object detection network 502 primarily uses GoogleNet for feature extraction. For example, referring to FIG7 , the object detection network 502 includes a convolutional layer and a fully connected layer. The convolutional layer is used to extract features of the image 501 , such as feature vectors of 448*448*3, 112*112*192, 56*56*256, 28*28*512, 14*14*1024, 7*7*1024, and 7*7*1024 dimensions. The fully connected layer is used to predict categories, coordinates, sizes, confidence levels, etc. based on the features output by the convolutional layer, such as feature vectors of 4096 and 7*7*30 dimensions.

[0143] Optionally, since in the palm swiping scenario, the only assumed category of the object detection network 502 is the palm, the bounding box with the highest confidence can be determined as the palm bounding box, such as the bounding box 503 in Figure 5. The bounding box 503 can be used to represent the position of the palm in the image 501, (x, y) is the pixel position of the upper left corner of the bounding box 503, and (w, h) is the width and height of the bounding box 503.

[0144] Step 316 : Perform key point detection on the bounding box image using a key point detection network to determine at least one key point of the target to be identified in the bounding box image.

[0145] The target detection network can effectively capture the image content of the target to be identified in the image, helping to effectively prevent irrelevant content from affecting the recognition of the target to be identified, thereby improving target recognition accuracy. However, during the image acquisition process, due to the changing position and angle between the target to be identified and the image acquisition device, the image is distorted, and the size of the bounding box at different distances may be inaccurate. Therefore, the embodiments of the present application also use a key point detection network to obtain key points corresponding to the target to be identified, so as to further process the bounding box to prevent the sampling position, sampling angle, etc. from affecting the target recognition accuracy.

[0146] A key point may be a relatively fixed point on the target to be identified that can be used to indicate the location of the target to be identified. For example, referring to FIG8 , taking a palm as an example, the valley point between the fingers can be determined as at least one key point corresponding to the palm, namely key point 801, key point 802, key point 803, and key point 804.

[0147] Exemplarily, referring to Figure 9, the bounding box diagram 901 (such as the dimension is 220*220) is input into the key point detection network 902, and the key point detection network 902 performs key point detection on the palm in the bounding box diagram 901 to obtain at least one key point corresponding to the palm. For example, the key point detection network 902 performs a series of convolution processing on the bounding box diagram 901, such as convolution processing with dimensions of 22*55*48, 27*27*128, 13*13*192, and 13*13*192 in sequence, and then predicts the position of each key point through two fully connected layers (such as the dimensions are both 4096), and outputs the predicted coordinates of at least one key point in the bounding box diagram 901.

[0148] To address the uncertainty of the bounding box size, the key point detection network 902 itself only accepts inputs of a set size. Bounding boxes that do not conform to the set size need to be scaled. This can result in errors in the predicted coordinates of the key points due to scaling (e.g., the bounding box is too large and needs to be scaled to the set size). Embodiments of the present application can also capture a captured image of a set size from the bounding box based on the predicted coordinates of the key points. Key point detection network 902 then performs key point detection on this captured image to obtain the final predicted positions corresponding to the key points. This can improve the accuracy of key point extraction and, therefore, the accuracy of target recognition.

[0149] Step 317 : intercepting the bounding box image according to at least one key point to obtain a region of interest image of the target to be identified, wherein the region of interest image includes identification features for identifying the target to be identified.

[0150] The ROI map can be an image obtained by capturing the image content of the corresponding region of interest (ROI) from the bounding box map, based on the ROI (Region of Interest) corresponding to the target to be identified. For example, taking the palm as an example, the ROI of the palm can be the area with palm prints on the palm, and the palm ROI map is a screenshot corresponding to the palm print area in the palm bounding box map.

[0151] Optionally, the computer device determines a minimum bounding box surrounding at least one key point, and cuts off the image outside the minimum bounding box in the boundary box image, and the remaining portion is the region of interest image.

[0152] Step 318: Perform quality assessment on the region of interest map through a quality assessment network to determine a quality score of the i-th type of image. The quality score of the i-th type of image is used to characterize the imaging quality of the i-th type of image.

[0153] Optionally, when the i-th type of image includes k images, and k is greater than 1, steps 315, 316, 317, and 318 are performed for each of the k images. After determining the imaging quality of the k images, the imaging quality of the i-th type of image is determined based on the imaging quality of the k images. For details about this step, please refer to the above embodiment and will not be repeated here.

[0154] Step 320 : For the i-th type among the N types, determine a weighting factor of the i-th type according to the imaging quality of the i-th type of image, where i is a positive integer less than or equal to N.

[0155] In step 330 , for each of the multiple candidate user accounts, an identification result of the candidate user account is obtained based on the N types of weighting factors and the N types of image matching degrees, where the image matching degree of the i-th type is used to represent the degree of feature matching between the target to be identified and the candidate user account with respect to the i-th type of image.

[0156] Step 340 : Determine a user account that matches the target to be identified from the plurality of candidate user accounts based on the identification results of the plurality of candidate user accounts.

[0157] For the specific contents of steps 320 , 330 , and 340 , please refer to the above embodiment, which will not be described in detail here.

[0158] By using the quality assessment model to perform quality assessment on the region of interest map of the target to be identified, the imaging quality of the target to be identified can be accurately reflected. The quality assessment model is then trained based on the region of interest map, so that the quality assessment model can avoid the influence of invalid data, thereby improving the accuracy of obtaining quality scores and further improving the recognition accuracy of the target.

[0159] The following describes the process of obtaining the region of interest map through several embodiments. In some embodiments, step 317 can be implemented through the following sub-steps, which are executed by a computer device.

[0160] Sub-step 317 - a , determining a clipping size and clipping position of the region of interest image based on at least one key point of the target to be identified in the bounding box image.

[0161] Optionally, a reference coordinate system is constructed based on at least one key point, and then the interception size and interception position of the region of interest map are determined according to a set distance criterion based on at least one key point. The set distance criterion is related to the target to be identified, and it can be set and adjusted according to empirical values. For example, referring to Figure 10, the x-axis 1001 of the reference coordinate system is constructed with the line between key point 2 and key point 4, and the y-axis 1002 of the reference coordinate system is constructed with the perpendicular line of the x-axis 1001, and the interception size is twice the distance between key point 2 and key point 4 (the region of interest map is square, and the interception size is the size of the side of the region of interest map), and the original center of the reference coordinate system is the interception position.

[0162] Sub-step 317-b, adjusts the position of the clipping position of the ROI image to obtain the adjusted clipping position of the ROI image, and the overlap between the clipping size and the ROI image under the adjusted clipping position and the target to be identified in the bounding box image meets the first condition.

[0163] After determining the cutout size of the ROI map, the cutout position of the ROI map can be adjusted so that the ROI map covers as many identification features of the target to be identified as possible. For example, referring to FIG10 , after adjusting the ROI corresponding to the palm by rotation, translation, etc., a ROI 1003 at the adjusted cutout position can be obtained. The overlap between the ROI 1003 at the adjusted cutout position and the target to be identified is greater than an overlap threshold, which can be set and adjusted based on empirical values.

[0164] Sub-step 317 - c , clipping the initial region of interest image from the bounding box image according to the clipping size and adjusting the clipping position.

[0165] 10 , the image content corresponding to the region of interest 1003 is cut out from the bounding box image to obtain an initial region of interest image, such as the initial region of interest image 1004 in FIG11 .

[0166] Sub-step 317 - d , scaling the initial region of interest map to obtain a region of interest map.

[0167] Optionally, the size of the initial ROI map is scaled to a size required by the input of the quality assessment network to obtain the ROI map.

[0168] Exemplarily, referring to Figure 12, the region of interest image 1201 (such as the corresponding dimension is 224*224*3) is input into the quality assessment network 1202, and the quality assessment network 1202 performs quality assessment on the region of interest image 1201 to obtain the quality score of the image corresponding to the region of interest image 1201. For example, the convolutional layer, residual layer (such as ResNet-50), and full connection layer (2048-dimensional full connection layer + 32-dimensional full connection layer) in the quality assessment network 1202 process the region of interest image 1201 in turn to obtain the quality score of the image corresponding to the region of interest image 1201 (such as the corresponding dimension is 1).

[0169] Optionally, for different types of images, a quality assessment network trained on different types of images can be used for quality assessment to improve the accuracy of quality score acquisition. Alternatively, classifiers for different types of images can be deployed in the quality assessment network to obtain quality scores for different types of images. These multiple classifiers share a feature extraction network to reduce the complexity of the quality assessment network.

[0170] In some embodiments, the method for determining the recognition result may further include the following steps before obtaining the recognition result of the candidate user account based on N types of weighting factors and N types of image matching degrees. The following steps are performed by a computer device. Referring to FIG. 13 , the method may further include the following steps before step 330:

[0171] Step 327 , performing feature recognition on the i-th type of image to determine the i-th type of target feature, where the i-th type of target feature is used to characterize the distribution of the i-th type of image of the target to be recognized in the feature space.

[0172] Optionally, the computer device recognizes the image through the feature extraction network to obtain a target feature representation of the target to be recognized in the image. The target feature representation is used to characterize the target to be recognized.

[0173] The target feature can be represented in a vector form or a matrix form. The target feature can be used as the "information for describing the image of the i-th type of the target to be identified" mentioned in the above embodiment.

[0174] In step 328 , a matching operation is performed on the target feature of the i-th type and the candidate feature of the i-th type to obtain the image matching degree of the i-th type. The candidate feature of the i-th type is used to characterize the distribution of the image of the i-th type of the candidate user account in the feature space.

[0175] Optionally, the i-th type of candidate features is predetermined. For any candidate user account, the user of the candidate user account can, in advance, use a user terminal to provide the computer device with N images of the user target captured using N different capture methods. The computer device then performs feature recognition on each of the N images uploaded by the candidate user account to determine and store the N types of user representations for the candidate user account. Optionally, the candidate features and the target features are acquired using the same method, i.e., the candidate features and the target features reside in the same feature space.

[0176] For example, a computer device is associated with a database, and N types of user representations are stored in the database. The database can be deployed in a terminal device or in a server, which is not limited in this embodiment of the present application.

[0177] Optionally, the step of performing a matching operation on the target feature of the i-th type and the candidate feature of the i-th type is achieved by calculating the similarity between the target feature of the i-th type and the candidate feature of the i-th type. In other words, the image matching degree refers to the similarity between the target feature of the i-th type and the candidate feature of the i-th type. The computer device determines the image matching degree of the i-th type of the candidate user account by characterizing the similarity between the target feature of the i-th type and the candidate feature of the i-th type through the similarity. The similarity calculation method includes but is not limited to at least one of the following: cosine similarity, Euclidean distance, and Manhattan distance.

[0178] In some embodiments, step 330, obtaining the recognition result of the candidate user account based on N types of weighting factors and N types of image matching degrees, can be implemented as a computer recognition method that performs weighted summation of the N types of image matching degrees based on the N types of weighting factors to obtain the recognition result of the candidate user account.

[0179] Optionally, for a candidate user account, after determining the weighting factors of N types of the candidate user account and the image matching degrees of the N types of the candidate user account, for the i-th type among the N types, the computer device uses the weighting factor of the i-th type as the weight of the image matching degree of the i-th type, processes the image matching degree of the i-th type, and obtains the weighted image matching degree of the i-th type; the computer device sums the weighted image matching degrees corresponding to the N types respectively to obtain the recognition result of the candidate user account.

[0180] For example, taking N types including a first type and a second type, where the first type of image is a color image and the second type of image is an infrared image, the recognition result of a candidate user account can be expressed as follows: cos(θ)=α*cos(θ r )+(1-a)*cos(θ i )

[0181] Among them, cos(θ) represents the recognition result of the candidate user account, α∈[0,1], α represents the first type of weighting factor, cos(θ r ) represents the first type of image matching; (1-α) represents the second type of weighting factor, cos(θ i ) represents the second type of image matching.

[0182] The imaging quality of different types of images is used to determine different types of weighting factors, and the image matching degree between the target to be identified and the candidate user account in the corresponding type is weighted by the weighting factor. This increases the participation of images with better imaging quality in the process of determining the recognition results, provides more useful information for the recognition result determination process, and helps to improve the accuracy of the determined recognition.

[0183] Optionally, after obtaining the quality scores of each of the N types of images, the computer device screens the N types of images based on their respective quality scores, selecting M types of images from the N types of images, where M is a positive integer less than N and greater than 1. For example, the top M types of images with higher quality scores from the N types of images are selected to participate in the calculation of recognition results for each of the multiple candidate user accounts. This approach helps reduce the workload of determining recognition results and improves the efficiency of obtaining recognition results.

[0184] In one example, when there is an image of the jth type among N types of images whose quality score is greater than or equal to the upper limit of the score, the computer device obtains the recognition results of multiple candidate user accounts based on the image of the jth type of the target to be identified; when there is no image of the jth type among the N types of images, the scheme provided in the embodiment of the present application can be used to obtain the recognition results, and the upper limit of the score is a preset positive number.

[0185] For example, assuming that the i-th type of image includes only one image, and both a color image and an infrared image are captured, if the color image's quality score is greater than the upper limit and the infrared image's quality score is less than the upper limit, the computer device filters out the infrared image and directly determines the recognition results for each of the multiple candidate user accounts based on the color image. If both the color image's quality score and the infrared image's quality score are less than the upper limit, the computer device uses the solution provided in the above embodiment to execute steps 320-330 to obtain a recognition result.

[0186] In another example, when there is a pth type of image among N types of images whose quality score is greater than the lower limit of the score, the computer device adopts the solution provided by the above embodiment to obtain the recognition result; when the quality scores of the N types of images are uniformly less than or equal to the lower limit of the score, the computer device determines that the N types of images acquired this time are invalid. Optionally, the computer device reminds the user through the image acquisition device that the N types of images of the target to be identified need to be re-acquired. For example, a color image and an infrared image are acquired. If the quality score of the color image and the quality score of the infrared image are both less than the lower limit of the score, the computer device determines that the image acquisition is invalid; if at least the quality score of the color image or the quality score of the infrared image are both greater than the lower limit of the score, the computer device adopts the solution provided by the above embodiment and executes steps 320-330 to obtain the recognition result.

[0187] In another example, when the quality scores of N types of images are all less than the upper limit of the score, and there is a pth type of image whose quality score is greater than the lower limit of the score, the computer device adopts the solution provided by the above embodiment and executes steps 320-330 to obtain the recognition result; when the quality scores of N types of images are uniformly less than or equal to the lower limit of the score, the computer device determines that the image acquisition is invalid and needs to remind the user to re-acquire the image; when there is a jth type of image among the N types of images whose quality score is greater than or equal to the upper limit of the score, the computer device determines the recognition result based on the jth type of image.

[0188] For example, a color image, an infrared image, and a depth image are collected. If the quality score corresponding to the color image and the quality score corresponding to the infrared image are both less than the upper limit of the score and greater than the lower limit of the score, and the quality score corresponding to the depth image is less than the lower limit of the score, then the scheme provided by the above embodiment can be used to calculate the weighting factors and recognition results corresponding to the color image, infrared image, and depth image respectively; if the quality score corresponding to the color image, the quality score corresponding to the infrared image, and the quality score corresponding to the depth image are all less than the lower limit of the score, then it is judged that the image collection is invalid; if the quality score corresponding to the color image is greater than the upper limit of the score, and the quality score corresponding to the color image and the quality score corresponding to the depth image are less than the upper limit of the score, then the recognition result can be obtained directly based on the color image.

[0189] Optionally, in the case where the quality scores of N types of images are all less than the upper limit of the score, and there are images of the pth type and images of the qth type whose quality scores are greater than the lower limit of the score, if there are at least two types of images whose quality scores are less than the upper limit of the score and greater than the lower limit of the score, then the images whose quality scores are less than the lower limit of the score can be filtered, and the recognition results can be obtained through the above at least two types of images.

[0190] For example, if the quality score corresponding to the color image and the quality score corresponding to the infrared image are both less than the upper limit of the score and greater than the lower limit of the score, and the quality score corresponding to the depth image is less than the lower limit of the score, the depth image can be filtered out, and the solution provided in the above embodiment can be used to calculate the weighting factors and recognition results corresponding to the color image and infrared image respectively.

[0191] Among them, the lower limit value of the score is used to indicate whether the imaging quality of the image is poor, and the upper limit value of the score is used to indicate whether the imaging quality of the image is good. The lower limit value of the score and the upper limit value of the score can be set and adjusted according to the experience value, and the embodiment of the present application does not limit this.

[0192] For example, the recognition results of the plurality of candidate user accounts may be sorted in descending order to obtain a recognition result sequence, and the candidate user account corresponding to the first recognition result in the recognition result sequence may be determined as the user account matching the target to be recognized.

[0193] In some embodiments, referring to Figure 14, the palm-swiping device 1401 is deployed with the technical solution provided by the embodiments of the present application. When a user swipes his palm through the palm-swiping device 1401, the palm-swiping device 1401 periodically collects color images and infrared images of the palm, and selects the best color image and infrared image from the collected images. The palm-swiping device 1401 then determines that it is a living person swiping the palm based on the best infrared image, and then obtains the quality score of the color image and the quality score of the infrared image respectively, and then determines the weighting factor of the color image and the weighting factor of the infrared image respectively. The palm-swiping device 1401 then obtains the similarity between the color image and each reserved feature representation in the database, as well as the similarity between the infrared image and each reserved feature representation in the database, and then performs weighted summation based on the weighting factor of the color image and the weighting factor of the infrared image, to obtain the recognition result between the palm and each reserved feature representation. Finally, based on each recognition result, the user account matching the palm is determined. If it is determined that there is a user account matching the target to be identified in the database, then the palm swiping is determined to be successful; otherwise, the palm swiping is determined to be unsuccessful.

[0194] The training process of the quality assessment model will be described below. Optionally, the object detection network, key point detection network, and quality assessment network in the quality assessment model can be trained separately, or the quality assessment model can be trained as a whole, which is not limited in this embodiment of the application.

[0195] In some embodiments, the training process of the above-mentioned object detection network may include the following content.

[0196] Obtain a large number of sample images with labeled data, such as different types of images with hand annotations. Use the object detection network to obtain the predicted bounding boxes corresponding to each sample image. Then, based on the predicted bounding boxes and label data corresponding to each sample image, calculate the object detection network's training loss. Finally, iteratively train the object detection network using the training loss to obtain a fully trained object detection network.

[0197] In some embodiments, the training process of the key point detection network may include the following.

[0198] Obtain a large number of sample images with labeled data, such as different types of bounding box images with labeled data for palm keypoints. Use the keypoint detection network to obtain the predicted keypoints corresponding to each sample image. Then, based on the predicted keypoints and label data corresponding to each sample image, calculate the training loss of the keypoint detection network. Finally, use the training loss of the keypoint detection network to iteratively train the keypoint detection network to obtain a trained keypoint detection network.

[0199] In some embodiments, the training process of the quality assessment network may include the following.

[0200] 1. Acquire multiple sample image sets, each sample image set including multiple sample images corresponding to the same sample target.

[0201] For example, for a user, multiple images of interest of different types for the palm of the user are obtained, and for M users, M sample image sets can be obtained.

[0202] 2. For each sample image set in the multiple sample image sets, obtain a feature representation of the sample target under each sample image in the sample image set.

[0203] Optionally, a recognition score evaluation model is used to extract features from each sample image to obtain feature representations of the sample target in each sample image. The recognition score evaluation model is used to obtain recognition scores. Optionally, the recognition score evaluation model can be constructed based on FaceQnet or a self-developed feature algorithm.

[0204] For example, referring to FIG15 , a sample image set 1501 includes N sample images. By performing feature extraction on each sample image through the recognition score evaluation model 1502 , feature representations corresponding to the N sample images can be obtained.

[0205] 3. Obtain the target sample image with the best imaging quality among all sample images.

[0206] Optionally, the target sample image may be obtained by manual annotation or by distinguishing the target sample image through a feature algorithm, which is not limited in the embodiment of the present application.

[0207] 4. Calculate the similarity between the feature representations corresponding to other sample images in the sample image set and the feature representation corresponding to the target sample image, and use it as the recognition score corresponding to the other sample images.

[0208] Other sample images in the sample image set refer to sample images in the sample image set other than the target sample image. Alternatively, similarity can be calculated using methods such as cosine similarity, Euclidean distance, and Manhattan distance. This recognition score can be used to characterize the recognition accuracy of the recognition score evaluation model for the sample target, as well as the degree of similarity between the sample targets in the other sample images and the sample targets in the target sample image.

[0209] For example, referring to Figure 15, after obtaining the feature representation corresponding to the target sample image in the sample image set 1501 and the feature representation corresponding to other sample images through the recognition score evaluation model 1502, the Euclidean distance is used to calculate the similarity between the feature representation corresponding to the other sample images and the feature representation corresponding to the target sample image to obtain the recognition scores corresponding to the other sample images.

[0210] In the case where the recognition score ranges from 0 to 1, the recognition score corresponding to the target sample image is 1, and then the N sample images and the recognition scores corresponding to the N sample images are stored in the database.

[0211] 5. Obtain the predicted quality score corresponding to each sample image in multiple sample image sets through the quality assessment network.

[0212] The predicted quality score refers to the quality score corresponding to the sample image. The quality assessment network in Figure 12 is used to perform quality assessment on each sample image to obtain the predicted quality score corresponding to each sample image.

[0213] 6. According to the prediction quality scores corresponding to each sample image in the multiple sample image sets and the recognition scores corresponding to each sample image in the multiple sample image sets, the quality assessment network is trained to obtain a trained quality assessment network.

[0214] Optionally, the recognition scores corresponding to the respective sample images are used as the label data corresponding to the respective sample images to perform supervised training on the quality assessment network, thereby obtaining a trained quality assessment network.

[0215] For example, first, based on the prediction quality score corresponding to each sample image in the multiple sample image sets and the recognition score corresponding to each sample image in the multiple sample image sets, the training loss of the quality assessment network is determined. The training loss can be expressed as follows:

[0216] Where Y is the recognition score, f(x) is the prediction quality score corresponding to the sample image x, and N is the total number of sample images.

[0217] With the goal of minimizing the training loss of the quality assessment network, the parameters of the quality assessment network are iteratively adjusted to obtain a trained quality assessment network.

[0218] By comparing the similarity between the feature representations of the sample target in different sample images and the feature representations of the sample target in the corresponding high-quality sample image, the greater the similarity, the higher the imaging quality of the sample image, and the smaller the similarity, the worse the imaging quality of the sample image, which indicates that there is a correlation between the imaging quality of the sample image and the aforementioned recognition score. The quality assessment network is trained on a large number of sample images with recognition scores, and ultimately the quality score distribution of the quality assessment network on all sample images is similar to the recognition score distribution. In other words, it can be considered that the quality assessment network accurately expresses the assessment of imaging quality.

[0219] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0220] Referring to Figure 16 , a block diagram of an apparatus for determining recognition results provided by one embodiment of the present application is shown. This apparatus has the functionality to implement the aforementioned method examples, which can be implemented by hardware or by hardware executing corresponding software. This apparatus can be the computer device described above, or it can be provided within a computer device. As shown in Figure 16 , apparatus 1600 includes: a multi-class image acquisition module 1601, a weighting factor acquisition module 1602, a recognition result acquisition module 1603, and a user account matching module 1604.

[0221] The multi-class image acquisition module 1601 is used to acquire N types of images obtained by acquiring the target to be identified. Different types of images are acquired using different acquisition methods. N is an integer greater than 1.

[0222] The weighting factor acquisition module 1602 is configured to determine a weighting factor of the i-th type among the N types according to the imaging quality of the i-th type of image, where i is a positive integer less than or equal to N.

[0223] Recognition result acquisition module 1603 is configured to obtain, for each of the plurality of candidate user accounts, a recognition result for the candidate user account based on the N types of weighting factors and the N types of image matching degrees, where the image matching degree of the i-th type is used to represent the degree of feature matching between the target to be identified and the candidate user account with respect to the i-th type of image.

[0224] The user account matching module 1604 is configured to determine a user account that matches the target to be identified from the plurality of candidate user accounts according to the identification results of the plurality of candidate user accounts.

[0225] In some embodiments, as shown in Figure 17, the weighting factor acquisition module 1602 includes a quality score determination submodule 1602a, which is used to determine the quality score of the i-th type of image, and the quality score of the i-th type of image is used to characterize the imaging quality of the i-th type of image; a weight parameter acquisition submodule 1602b, which is used to determine the i-th type of weight representation parameter based on the numerical relationship between the quality score of the i-th type of image and the quality score threshold, and the i-th type of weight representation parameter is used to control the degree of influence of the i-th type of image on the recognition result; and a weight factor acquisition submodule 1602c, which is used to calculate the weighting factor based on the i-th type of weight representation parameter to obtain the i-th type of weighting factor.

[0226] In some embodiments, the weight parameter acquisition submodule 1602b is used to determine the smaller value between the quality score of the i-th type of image and the quality score threshold as the weight representation parameter of the i-th type; or, to determine the larger value between the quality score of the i-th type of image and the quality score threshold as the weight representation parameter of the i-th type; or, to determine the average of the quality score of the i-th type of image and the quality score threshold as the weight representation parameter of the i-th type.

[0227] In some embodiments, the weight factor acquisition submodule 1602c is used to sum the weight representation parameters of each of the N types to obtain a summation result; and perform a ratio operation on the weight representation parameter of the i-th type and the summation result to obtain the weighting factor of the i-th type.

[0228] In some embodiments, the device 1600 also includes a matching degree determination module 1605, which is used to perform feature recognition on the i-th type of image and determine the i-th type of target feature, and the i-th type of target feature is used to characterize the distribution of the i-th type of image of the target to be identified in the feature space; perform a matching operation on the i-th type of target feature and the i-th type of candidate feature to obtain the i-th type of image matching degree, and the i-th type of candidate feature is used to characterize the distribution of the i-th type of image of the candidate user account in the feature space.

[0229] In some embodiments, the recognition result acquisition module 1603 is configured to perform weighted summation on the N types of image matching degrees according to the N types of weighting factors to obtain the recognition result of the candidate user account.

[0230] In some embodiments, the imaging quality is determined by a quality assessment model, which includes a target detection network, a key point detection network, and a quality assessment network. The apparatus 1600 further includes: a bounding box detection module 1606, configured to perform target detection on the image of the i-th type through the target detection network to determine a bounding box diagram of the target to be identified in the image of the i-th type, wherein the bounding box diagram refers to an imaging area of ​​the target to be identified in the image of the i-th type; a key point detection module 1607, configured to perform key point detection on the bounding box diagram through the key point detection network to determine at least one key point of the target to be identified in the bounding box diagram; an interest acquisition module 1608, configured to intercept the bounding box diagram according to the at least one key point to obtain a region of interest diagram of the target to be identified, wherein the region of interest diagram includes identification features for identifying the target to be identified; and a quality score determination module 1609, configured to perform quality assessment on the region of interest diagram through the quality assessment network to determine a quality score of the image of the i-th type, wherein the quality score of the image of the i-th type is used to characterize the imaging quality of the image of the i-th type.

[0231] In some embodiments, the interest acquisition module 1608 is used to determine the clipping size and clipping position of the region of interest map based on at least one key point of the target to be identified in the bounding box map; adjust the clipping position of the region of interest map to obtain the adjusted clipping position of the region of interest map, and the overlap between the region of interest map under the clipping size and the adjusted clipping position and the target to be identified in the bounding box map meets the first condition; based on the clipping size and the adjusted clipping position, clip an initial region of interest map from the bounding box map; and scale the initial region of interest map to obtain the region of interest map.

[0232] In some embodiments, the training process of the quality assessment network includes the following: obtaining multiple sample image sets, each of the sample image sets including multiple sample images corresponding to the same sample target; for each of the sample image sets in the multiple sample image sets, obtaining the feature representation of the sample target under each sample image in the sample image set; obtaining the target sample image with the best imaging quality among the sample images; respectively calculating the similarity between the feature representations corresponding to other sample images in the sample image set and the feature representations corresponding to the target sample image, as the recognition scores corresponding to the other sample images; obtaining the predicted quality scores corresponding to each sample image in the multiple sample image sets through the quality assessment network; training the quality assessment network according to the predicted quality scores corresponding to each sample image in the multiple sample image sets and the recognition scores corresponding to each sample image in the multiple sample image sets to obtain the trained quality assessment network.

[0233] In some embodiments, the N types of images include color images and infrared images.

[0234] In summary, the technical solution provided by the embodiment of the present application determines the weighting factors of various types of images according to the imaging qualities corresponding to the various types of images after obtaining the images corresponding to the target to be identified, and then determines the user account matching the target to be identified from the database based on the weighting factors of various types of images in combination with various types of images. The embodiment of the present application can reasonably and accurately allocate the weighting factors of various types of images according to the imaging quality of the images, thereby improving the accuracy of the recognition results, and further improving the recognition accuracy of the target. Especially in scenes with complex lighting, by reasonably and accurately allocating the weighting factors of various types of images, images with good imaging quality can have a greater impact on the recognition results, and images with poor imaging quality can have a smaller impact on the recognition results, thereby improving the recognition accuracy of the target.

[0235] It should be noted that the apparatus provided in the above embodiments, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0236] Please refer to Figure 18, which shows a block diagram of a computer device provided in one embodiment of the present application. The computer device can be used to implement the method for determining the recognition result provided in the above embodiment, which specifically includes the following contents.

[0237] The computer device 1800 includes a central processing unit (CPU, central processing unit), GPU (graphics processing unit), and FPGA (field programmable gate array) 1801, a system memory 1804 including RAM (random-access memory) 1802 and ROM (read-only memory) 1803, and a system bus 1805 connecting the system memory 1804 and the central processing unit 1801. The computer device 1800 also includes an I / O system (basic input / output system) 1806 for facilitating information transmission between various components within the server, and a mass storage device 1807 for storing an operating system 1813, application programs 1814, and other program modules 1815.

[0238] The basic input / output system 1806 includes a display 1808 for displaying information and an input device 1809, such as a mouse and keyboard, for user input. Both the display 1808 and the input device 1809 are connected to the central processing unit 1801 via an input / output controller 1810 connected to the system bus 1805. The basic input / output system 1806 may also include an input / output controller 1810 for receiving and processing input from a variety of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 1810 also provides output to a display screen, printer, or other types of output devices.

[0239] The mass storage device 1807 is connected to the central processing unit 1801 via a mass storage controller (not shown) connected to the system bus 1805. The mass storage device 1807 and its associated computer-readable media provide non-volatile storage for the computer device 1800. In other words, the mass storage device 1807 may include a computer-readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.

[0240] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include RAM, ROM, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc) or other optical storage, tape cassettes, magnetic tape, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the aforementioned types. The above-mentioned system memory 1804 and mass storage device 1807 can be collectively referred to as memory.

[0241] According to an embodiment of the present application, the computer device 1800 can also be connected to a remote computer on a network such as the Internet for operation. That is, the computer device 1800 can be connected to the network 1812 via the network interface unit 1811 connected to the system bus 1805. Alternatively, the network interface unit 1811 can be used to connect to other types of networks or remote computer systems (not shown).

[0242] The memory further includes a computer program, which is stored in the memory and configured to be executed by one or more processors to implement the above-mentioned method for determining the recognition result.

[0243] In some embodiments, a computer-readable storage medium is further provided, wherein a computer program is stored in the storage medium. When the computer program is executed by a processor, the method for determining the above-mentioned recognition result is implemented.

[0244] Optionally, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random-Access Memory), SSD (Solid State Drives), or an optical disk, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0245] In some embodiments, a computer program product is further provided, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the above-described method for determining a recognition result.

[0246] It should be noted that, in the embodiments of the present application, before and during the process of collecting the relevant data of the user, a prompt interface, pop-up window or voice prompt information can be displayed. The prompt interface, pop-up window or voice prompt information is used to remind the user that its relevant data is currently being collected, so that the present application only starts to execute the relevant steps of obtaining the relevant data of the user after obtaining the confirmation operation issued by the user on the prompt interface or pop-up window. Otherwise (that is, when the user does not obtain the confirmation operation issued by the prompt interface or pop-up window), the relevant steps of obtaining the relevant data of the user are terminated, that is, the relevant data of the user is not obtained. In other words, all user data collected by this application are processed strictly in accordance with the requirements of relevant national laws and regulations. The informed consent or separate consent of the personal information subject is obtained only when the user agrees and authorizes the collection, and the subsequent use and processing of the data is carried out within the scope of the laws and regulations and the authorization of the personal information subject. The collection, use and processing of the relevant user data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the N different types of images, objects to be identified, sample image sets, etc. involved in this application are all obtained with full authorization.

[0247] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application do not limit this.

Claims

1. A method for determining a recognition result, the method being executed by a computer device, the method comprising: Acquire N types of images obtained by collecting the target to be identified, where different types of images are obtained by using different collection methods, and N is an integer greater than 1; For the i-th type among the N types, determining a weighting factor of the i-th type according to the imaging quality of the image of the i-th type, where i is a positive integer less than or equal to N; For each of the candidate user accounts among the multiple candidate user accounts, obtaining a recognition result of the candidate user account according to the N types of weighting factors and the N types of image matching degrees, wherein the image matching degree of the i-th type is used to represent the degree of feature matching between the target to be recognized and the candidate user account with respect to the i-th type of image; According to the identification results of each of the multiple candidate user accounts, a user account matching the target to be identified is determined from the multiple candidate user accounts.

2. The method according to claim 1, wherein: Determining the i-th type of weighting factor according to the imaging quality of the i-th type of image includes: Determine a quality score of the i-th type of image, where the quality score of the i-th type of image is used to characterize the imaging quality of the i-th type of image; Determining a weight representation parameter of the i-th type according to a numerical relationship between a quality score of the i-th type of image and a quality score threshold, wherein the weight representation parameter of the i-th type is used to control the degree of influence of the i-th type of image on the recognition result; A weighting factor is calculated according to the weight characterization parameter of the i-th type to obtain the weighting factor of the i-th type.

3. The method according to claim 2, wherein: The determining, according to the numerical relationship between the quality score of the i-th type of image and the quality score threshold, the weight representation parameter of the i-th type includes: Determine the smaller value between the quality score of the image of the i-th type and the quality score threshold as the weight representation parameter of the i-th type; or, Determine the larger value between the quality score of the image of the i-th type and the quality score threshold as the weight representation parameter of the i-th type; or, The average of the quality score of the image of the i-th type and the quality score threshold is determined as the weight representation parameter of the i-th type.

4. The method according to claim 2 or 3, wherein: The step of calculating the weighting factor according to the weight characterization parameter of the i-th type to obtain the weighting factor of the i-th type includes: Summing the weight representation parameters of each of the N types to obtain a summation result; A ratio operation is performed on the weight characterization parameter of the i-th type and the summation result to obtain a weighting factor of the i-th type.

5. The method according to any one of claims 1 to 4, wherein: Before obtaining the recognition result of the candidate user account according to the N types of weighting factors and the N types of image matching degrees, the method further includes: Performing feature recognition on the i-th type of image to determine the i-th type of target feature, wherein the i-th type of target feature is used to characterize the distribution of the i-th type of image of the target to be recognized in the feature space; A matching operation is performed on the target feature of the i-th type and the candidate feature of the i-th type to obtain the image matching degree of the i-th type, and the candidate feature of the i-th type is used to characterize the distribution of the i-th type of image of the candidate user account in the feature space.

6. The method according to any one of claims 1 to 5, wherein: The obtaining of the recognition result of the candidate user account according to the N types of weighting factors and the N types of image matching degrees includes: The N types of image matching degrees are weighted and summed according to the N types of weighting factors to obtain the recognition result of the candidate user account.

7. The method according to any one of claims 1 to 6, wherein: The imaging quality is determined by a quality assessment model, wherein the quality assessment model includes a target detection network, a key point detection network and a quality assessment network; the method further includes: Performing target detection on the image of the i-th type through the target detection network to determine a bounding box diagram of the image of the target to be identified in the image of the i-th type, wherein the bounding box diagram refers to an imaging area of ​​the target to be identified in the image of the i-th type; Performing key point detection on the boundary frame diagram by using the key point detection network to determine at least one key point of the target to be identified in the boundary frame diagram; The boundary frame diagram is intercepted according to the at least one key point to obtain a region of interest diagram of the target to be identified, wherein the region of interest diagram includes an identification feature for identifying the target to be identified; The quality assessment network is used to perform quality assessment on the region of interest map to determine a quality score of the i-th type of image, where the quality score of the i-th type of image is used to characterize the imaging quality of the i-th type of image.

8. The method according to claim 7, wherein: The step of intercepting the boundary frame diagram according to the at least one key point to obtain a region of interest diagram of the target to be identified includes: Determining a cut size and a cut position of the region of interest image according to the at least one key point; Adjusting the position of the interception of the region of interest image to obtain the adjusted interception position of the region of interest image, wherein the interception size and the overlap between the region of interest image at the adjusted interception position and the target to be identified in the boundary box image meet a first condition; According to the clipping size and the adjusted clipping position, clipping an initial region of interest image from the boundary frame image; The initial region of interest map is scaled to obtain the region of interest map.

9. The method according to claim 7 or 8, wherein: The training process of the quality assessment network includes the following: Acquire a plurality of sample image sets, each of the sample image sets comprising a plurality of sample images corresponding to the same sample target; For each of the sample image sets in the multiple sample image sets, obtaining a feature representation of the sample target under each sample image in the sample image set; Acquire a target sample image with the best imaging quality among the sample images; Respectively calculating the similarities between the feature representations corresponding to other sample images in the sample image set and the feature representations corresponding to the target sample image, as recognition scores corresponding to the other sample images; Obtaining, through the quality assessment network, a prediction quality score corresponding to each sample image in the plurality of sample image sets; The quality assessment network is trained according to the prediction quality scores corresponding to each sample image in the plurality of sample image sets and the recognition scores corresponding to each sample image in the plurality of sample image sets to obtain the trained quality assessment network.

10. The method according to any one of claims 1 to 9, wherein: The N types of images include color images and infrared images.

11. A device for determining a recognition result, the device comprising: A multi-class image acquisition module is used to acquire N types of images acquired by acquiring the target to be identified. Different types of images are acquired by using different acquisition methods, and N is an integer greater than 1. A weighting factor acquisition module, configured to determine, for an i-th type of the N types, a weighting factor of the i-th type according to the imaging quality of the i-th type of image, where i is a positive integer less than or equal to N; a recognition result acquisition module, configured to obtain, for each of the plurality of candidate user accounts, a recognition result of the candidate user account according to the N types of weighting factors and the N types of image matching degrees, wherein the image matching degree of the i-th type is used to characterize the degree of feature matching between the target to be recognized and the candidate user account with respect to the i-th type of image; The user account matching module is used to determine a user account matching the target to be identified from the multiple candidate user accounts according to the respective identification results of the multiple candidate user accounts.

12. A computer device, comprising a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the method for determining a recognition result according to any one of claims 1 to 10.

13. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, wherein the computer program is loaded and executed by a processor to implement the method for determining a recognition result according to any one of claims 1 to 10.

14. A computer program product, comprising a computer program, wherein the computer program is stored in a computer-readable storage medium, and a processor reads and executes the computer program from the computer-readable storage medium to implement the method for determining a recognition result according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Fingerprint and finger vein bimodal recognition decision level fusion method

    CN101901336A

  • Biological feature recognition method, device, equipment and storage medium

    CN111937005A

  • Target identification method and device based on visible light and infrared multispectral image sequence

    CN112613568A

  • Identity authentication method and device based on palm biological recognition, equipment and medium

    CN113378640A

  • Object identification method and device, server and medium

    CN113518217A