Image recognition method and system applied to building access control system

Through image recognition methods and knowledge learning networks, the stability and accuracy problems of traditional access control systems in complex environments and individual feature recognition are solved, efficient and accurate access control is achieved, and building security is improved.

CN118334758BActive Publication Date: 2024-08-23ZHUHAI BCOM ELECTRONIC TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410748602.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-08-23
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

Traditional building access control systems cannot guarantee the stability and accuracy of recognition when faced with complex and changing environments and individual characteristics. There are also problems such as lost cards, forgotten or cracked passwords, and biometric technology being affected by physiological changes or forgery. .

Method used

Using the image recognition method, by obtaining the target building access control collection image and its reference building access control nodes, the image recognition network that completes knowledge learning is used for access control verification, and the target access control verification knowledge vector sequence is generated, and clustering and label prediction are performed to finally achieve access control. Verify the output.

Benefits of technology

It improves the identification accuracy and verification efficiency of the access control system, enhances the security of the building, avoids the shortcomings of traditional methods, and provides a more solid identity verification mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118334758B
    Figure CN118334758B
Patent Text Reader

Abstract

The present application provides an image recognition method and system applied to a building access control system. First, the target building access control acquisition image and its corresponding reference access control node are obtained, and then an image recognition network that has completed knowledge learning is obtained based on the reference building access control node and the target building access control node. Through the image recognition network, the living features in the target building access control acquisition image are efficiently mapped to generate a specific access control verification knowledge vector sequence. Next, the access control verification knowledge vector sequence is clustered using the same image recognition network, and the access control verification labels of these clustering results are predicted to obtain the prediction results of the access control verification labels, and the target building access control acquisition image is quickly and accurately output for access control verification. As a result, not only the security and verification accuracy of the access control system are improved, but also the user experience is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and more specifically, to an image recognition method and system for use in a building access control system. Background Art

[0002] With the rapid development of society and the advancement of urbanization, building security issues are increasingly attracting people's attention. As the first line of defense for building security, the importance of access control systems is self-evident. Traditional access control systems mainly rely on swiping cards, passwords or biometric technologies (such as fingerprint recognition, iris recognition, etc.) for identity authentication. However, these methods have certain limitations in practical applications, such as cards are easy to lose, passwords are easy to forget or crack, and biometric technologies may be affected by physiological changes or forgery. Summary of the invention

[0003] In view of the above-mentioned problems, in combination with the first aspect of the present application, an embodiment of the present application provides an image recognition method applied to a building access control system, the method comprising:

[0004] Acquire a target building access control acquisition image and a reference building access control node of the target building access control acquisition image;

[0005] Obtaining an image recognition network that has completed knowledge learning corresponding to the reference building access control node and the target building access control node;

[0006] Using the image recognition network that has completed knowledge learning, the living feature space representation of the target building access control acquisition image is mapped to an access control verification knowledge network to generate a target building access control verification knowledge vector sequence of the target building access control acquisition image in the target building access control node;

[0007] Clustering the target access control verification knowledge vector sequence using the image recognition network that has completed knowledge learning to generate a clustering result of the target building access control acquisition image;

[0008] Using the image recognition network that has completed knowledge learning to predict access control verification labels for the clustering results, and generating access control verification label prediction results for the access control acquisition images of the target building;

[0009] Based on the access control verification tag prediction result, the access control verification output is performed on the access control collected image of the target building.

[0010] In a possible implementation of the first aspect, before the step of acquiring the image recognition network that has completed knowledge learning corresponding to the reference building access control node and the target building access control node, the method further includes:

[0011] Acquire sample learning data, wherein the sample learning data includes a first unsupervised building access control acquisition image and a first supervised building access control acquisition image under a first building access control node, and a second unsupervised building access control acquisition image and a second supervised building access control acquisition image under a second building access control node, the scale of the first supervised building access control acquisition image is larger than the scale of the second supervised building access control acquisition image, the first building access control node includes the target building access control node, and the second building access control node includes the reference building access control node;

[0012] Get the initialized image recognition network;

[0013] The initialized image recognition network is subjected to knowledge learning based on the sample learning data to generate the image recognition network that has completed knowledge learning.

[0014] In a possible implementation of the first aspect, the initialized image recognition network includes a door access feature mapping subnetwork, an image feature clustering subnetwork, and a door access verification label prediction subnetwork, and the step of performing knowledge learning on the initialized image recognition network based on the sample learning data to generate the image recognition network that has completed knowledge learning includes:

[0015] Encoding the first unsupervised building access control collected image and the first supervised building access control collected image to generate a first image coding feature representation;

[0016] Encoding the second unsupervised building access control collected image and the second supervised building access control collected image to generate a second image coding feature representation;

[0017] Performing access control feature mapping on the second image coding feature representation based on the access control feature mapping subnetwork to generate a third image coding feature representation;

[0018] Clustering the first image coding feature representation and the third image coding feature representation based on the image feature clustering subnetwork to generate a clustering result;

[0019] Determine clustering results of the first supervised building access control collected image and the second supervised building access control collected image based on the clustering results, wherein the clustering results include clustering attribution confidences corresponding to the building access control collected images;

[0020] Based on the clustering results of the first supervised building access control collection image and the second supervised building access control collection image and the corresponding access control verification label annotation data, the access control feature mapping subnetwork and the access control verification label prediction subnetwork are linked to learn knowledge, and a access control feature mapping subnetwork and a access control verification label prediction subnetwork that have completed knowledge learning are generated;

[0021] The access control feature mapping subnetwork that has completed knowledge learning, the image feature clustering subnetwork, and the access control verification label prediction subnetwork that has completed knowledge learning are output as the image recognition network.

[0022] In a possible implementation of the first aspect, based on the clustering results of the first supervised building access control collection image and the second supervised building access control collection image and the corresponding access control verification label annotation data, the access control feature mapping subnetwork and the access control verification label prediction subnetwork are linked to learn knowledge, and the steps of generating the access control feature mapping subnetwork that has completed knowledge learning and the access control verification label prediction subnetwork that has completed knowledge learning include:

[0023] Based on the clustering results of the building access control collected images with the same access control verification tag annotated data, the access control feature mapping sub-network is subjected to knowledge learning to generate an access control feature mapping sub-network that has completed knowledge learning;

[0024] Based on the clustering results of the first supervised building access control collection image and the second supervised building access control collection image and the mapping relationship between the access control verification label annotation data, the access control verification label prediction subnetwork is subjected to knowledge learning to generate an access control verification label prediction subnetwork that has completed knowledge learning.

[0025] In a possible implementation of the first aspect, the step of performing knowledge learning on the access control verification label prediction subnetwork based on the clustering results of the first supervised building access control collection image and the second supervised building access control collection image and the mapping relationship of the access control verification label annotation data to generate the access control verification label prediction subnetwork that has completed knowledge learning includes:

[0026] Constructing target sample learning data based on the clustering results of the first supervised building access control collection image and the second supervised building access control collection image and the mapping relationship between the access control verification label annotation data;

[0027] Obtaining clustering results of the target sample learning data and real access control verification label annotation data;

[0028] Loading the clustering result of the target sample learning data into the access control verification label prediction subnetwork to generate first predicted access control verification label data of the target sample learning data;

[0029] Based on the first predicted access control verification label data and the real access control verification label annotation data, knowledge learning is performed on the access control verification label prediction sub-network to generate an access control verification label prediction sub-network that has completed knowledge learning.

[0030] In a possible implementation of the first aspect, the clustering results of the building access control collected images based on the same access control verification tag annotated data, the steps of performing knowledge learning on the access control feature mapping subnetwork, and generating the access control feature mapping subnetwork that completes the knowledge learning, include:

[0031] Loading the clustering results of the building access control collected images with the same access control verification label annotated data into the access control verification label prediction subnetwork to generate second predicted access control verification label data of the building access control collected images with the same access control verification label annotated data;

[0032] Based on the second predicted access control verification tag data and the same access control verification tag annotation data, the access control feature mapping sub-network is subjected to knowledge learning to generate an access control feature mapping sub-network that has completed knowledge learning.

[0033] In a possible implementation of the first aspect, after the step of acquiring the access control image of the target building, the step further includes:

[0034] Positioning the key feature area of ​​the target building access control acquisition image to generate the key features included in the target building access control acquisition image;

[0035] Performing self-attention processing on the key feature to generate a self-attention feature corresponding to the key feature;

[0036] Based on the self-attention features corresponding to the key features, a living feature space representation of the target building access control acquisition image is generated.

[0037] In a possible implementation of the first aspect, the step of using the image recognition network that has completed knowledge learning to perform access control verification knowledge network mapping on the living feature space representation of the target building access control collection image to generate a target access control verification knowledge vector sequence of the target building access control collection image in the target building access control node includes:

[0038] Using face detection and key point positioning algorithms to locate key feature areas of the target building access control image, and generate key feature areas;

[0039] Perform self-attention processing on the located key feature areas, and fuse the extracted self-attention features to form a living feature space representation;

[0040] The generated living feature space representation is taken as input and passed to the access control feature mapping subnetwork in the loaded image recognition network that has completed knowledge learning, so that the received living feature space representation is nonlinearly transformed through the access control feature mapping subnetwork and mapped to a new feature space. Through multi-layer convolution operations, pooling operations and nonlinear transformation of activation functions, high-order feature representations are extracted as the target access control verification knowledge vector sequence.

[0041] In a possible implementation of the first aspect, the step of locating a key feature area of ​​the target building access control collected image using a face detection and key point positioning algorithm to generate a key feature area includes:

[0042] Scanning the target building access control image using a Haar cascade classifier to identify a face area in the target building access control image;

[0043] Acquire coordinate information of the face region, and locate key feature points of the face on the face region using a key point location algorithm based on the coordinate information of the face region;

[0044] Based on the located key feature points, the key feature area is determined.

[0045] On the other hand, an embodiment of the present application also provides an image recognition system applied to a building access control system, including a processor and a machine-readable storage medium, wherein the machine-readable storage medium is connected to the processor, the machine-readable storage medium is used to store programs, instructions or codes, and the processor is used to execute the programs, instructions or codes in the machine-readable storage medium to implement the above method.

[0046] Based on the above aspects, by obtaining the target building access control image and its reference building access control nodes, and then obtaining the image recognition network corresponding to these nodes that has undergone knowledge learning, the access control system can select the most suitable image recognition model according to the actual situation, thereby improving the recognition accuracy. Secondly, the image recognition network that has completed knowledge learning is used to map the living feature space representation of the target building access control image to the access control verification knowledge network, and generate a target access control verification knowledge vector sequence. This method can not only effectively extract the living features in the image, but also map these features to the knowledge space of access control verification, further enhancing the accuracy and reliability of the verification. Furthermore, by clustering the target access control verification knowledge vector sequence and generating the clustering results of the target building access control image, the image features can be divided more finely, which is helpful for the subsequent access control verification label prediction. Next, the clustering results are predicted using the image recognition network to predict access control verification labels, which can accurately generate access control verification label prediction results for the target building access control collection images. Based on the access control verification label prediction results, access control verification output is performed on the target building access control collection images, achieving efficient and accurate access control and improving building security. Therefore, the embodiment of the present application significantly improves the recognition accuracy and verification efficiency of the building access control system. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a schematic diagram of the execution flow of the image recognition method applied to the building access control system provided in the embodiment of the present application.

[0048] Figure 2 It is a schematic diagram of the hardware architecture of an image recognition system applied to a building access control system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The present application will be described in detail below with reference to the accompanying drawings. Figure 1 This is a flow chart of an image recognition method applied to a building access control system provided by an embodiment of the present application. The image recognition method applied to a building access control system is introduced in detail below.

[0050] In recent years, with the rapid development of computer vision and deep learning technology, access control systems based on image recognition have gradually become a research hotspot. Such systems use images captured by cameras to authenticate identities, and have the advantages of non-contact, convenience, and efficiency. However, existing image recognition access control systems still face some challenges in practical applications, such as changes in lighting conditions, diversity of facial expressions and postures, occlusion problems, and anti-counterfeiting capabilities.

[0051] In order to solve the above problems, the embodiment of the present application proposes an image recognition method applied to a building access control system, which obtains the target building access control acquisition image and its reference building access control node, and uses the image recognition network that has completed knowledge learning to perform a series of processing, and finally outputs access control verification based on the access control verification tag prediction result. This method aims to improve the accuracy and reliability of the access control system and provide a more solid guarantee for building safety.

[0052] Specifically, traditional access control systems often find it difficult to ensure the stability and accuracy of recognition when faced with complex and changing environments and individual characteristics. The present invention, by introducing an image recognition network that completes knowledge learning, can better adapt to various scenarios and individual changes and improve recognition performance. At the same time, by clustering and labeling the target access control verification knowledge vector sequence, the present application can more finely divide and identify the characteristics of different individuals, thereby further improving the security of the access control system and user experience. Specifically, the embodiments of the present application may include the following steps:

[0053] Step S110, obtaining a target building access control image and a reference building access control node of the target building access control image.

[0054] In detail, the target building access control captured image refers to the image captured by a camera or other image acquisition device in front of a specific building access control system, which may include the facial or other biometric information of the person trying to pass through the access control for subsequent verification and identification.

[0055] The reference building access control node refers to an access control node associated with the target building access control node and used to provide reference information. It contains historical data, verification records, etc. that are similar or related to the target building access control node. This information can be used to enhance the verification accuracy of the target building access control node. For example, suppose there are multiple buildings in a large campus, and each building has its own access control system. When an employee tries to enter one of the buildings (the target building), in order to more accurately verify his or her identity, the employee can refer to the access control records of entering other buildings (reference buildings) in the past period of time. These records are stored in the reference building access control node.

[0056] That is, in this embodiment, the server receives a request from the target building access control system, which includes the latest captured target building access control acquisition image. At the same time, the server also obtains the information of the reference building access control node associated with the target building access control acquisition image. For example, in a large enterprise park, there are multiple buildings, each with its own access control system. When an employee tries to enter a building (target building), the access control system of the building will take a facial image of the employee (target building access control acquisition image) and send the target building access control acquisition image and the access control node information of the building (target building access control node) to the server. At the same time, the server can also determine one or more reference building access control nodes based on historical data or administrator settings. These reference building access control nodes may contain data related to the access control records of the employee's previous entry into other buildings.

[0057] Step S120, obtaining the image recognition network that has completed knowledge learning corresponding to the reference building access control node and the target building access control node.

[0058] In detail, the image recognition network that has completed knowledge learning is a trained deep learning model specifically for image recognition tasks. It has learned how to extract useful features from images through a large amount of training data and classify or identify based on these features. In the context of the access control system, this image recognition network is trained to recognize faces or other biometric features in images collected by the access control system and determine whether they meet the requirements for entry. For example, suppose that in order to improve the security of the access control system, a company has developed a deep learning model to recognize the facial features of employees. During the development of the model, a large number of employee facial images were used as training data, and the model learned how to recognize different facial features from these images. Once the model training is completed and the expected recognition accuracy is achieved, it can be deployed in the actual access control system and used as an image recognition network that has completed knowledge learning.

[0059] Therefore, in this embodiment, the server retrieves the image recognition network that has completed knowledge learning and corresponds to the target building access control node and the reference building access control node from its own storage or cloud service based on the information of these building access control nodes. The image recognition network can be a deep learning model that has undergone a lot of training and can recognize and verify the features in the access control image. For example, the server may store multiple image recognition networks for different building access control systems, and each image recognition network is optimized for the characteristics of its corresponding building environment and access control system. In this step, the server can load the network model that matches the target building access control node and the reference building access control node.

[0060] Step S130, using the image recognition network that has completed knowledge learning to perform access control verification knowledge network mapping on the living feature space representation of the target building access control image, to generate a target building access control verification knowledge vector sequence of the target building access control image in the target building access control node.

[0061] In detail, liveness features refer to features captured in real time from organisms (such as human faces) to distinguish real organisms from forgeries (such as photos, masks, etc.). Spatial representation refers to converting these features into a mathematical vector or matrix form for subsequent computer processing and analysis. Therefore, the spatial representation of liveness features refers to converting liveness features captured from organisms into a mathematical form that can be used for computer processing. For example, in the access control system, in order to prevent deception using forgeries such as photos or videos, the system will try to extract liveness features from the collected images. For example, the system may analyze the face area in the image and extract subtle dynamic features such as the frequency of eye blinking and the micro-movement of the lips. These features will be converted into a mathematical vector or matrix (i.e., spatial representation) for subsequent image recognition network processing and analysis.

[0062] The target access control verification knowledge vector sequence refers to a series of vectors obtained after processing the live feature space representation through the image recognition network during the access control verification process. It contains key feature information in the image and is used for the final verification decision. For example, when an employee stands in front of the access control camera, his or her facial image is captured and the live feature space representation is extracted. The representation is then input into the image recognition network. After a series of calculations and processing, one or more vectors (i.e., the target access control verification knowledge vector sequence) are output. These vectors are actually a highly abstract mathematical description of the input image, which contains enough information to support the system in making a decision on whether to allow the employee to enter.

[0063] Therefore, in this embodiment, the server will first process the target building access control image, extract the living features (such as subtle facial expressions, skin texture, etc.) in the target building access control image, and convert these living features into a spatial representation (living feature spatial representation). Then, the server can use the loaded image recognition network to map this living feature spatial representation to a specific knowledge space and generate an access control verification knowledge vector sequence, which contains the abstract representation of the key features in the target building access control image, and will be used in the subsequent access control verification process.

[0064] Step S140, using the image recognition network that has completed knowledge learning to cluster the target access control verification knowledge vector sequence to generate a clustering result of the access control acquisition image of the target building, and using the image recognition network that has completed knowledge learning to predict access control verification labels on the clustering results to generate an access control verification label prediction result of the access control acquisition image of the target building.

[0065] In detail, clustering refers to grouping samples in a data set according to a certain similarity measure (such as distance, density, etc.) so that samples in the same group (i.e., cluster) are as similar as possible, while samples in different groups are as different as possible. In this embodiment, clustering is used to classify target access control verification knowledge vector sequences for further analysis and processing. For example, each target access control verification knowledge vector sequence represents the characteristics of different access control acquisition images. Through the clustering algorithm, these target access control verification knowledge vector sequences can be divided into several clusters, such as "authorized personnel cluster", "unauthorized personnel cluster" and "uncertain personnel cluster". In this way, different access control acquisition images can be processed differently according to the clustering results.

[0066] Access control verification label prediction refers to the prediction of classification labels for access control images after clustering using an image recognition network that has completed knowledge learning. The classification labels here can include "authorized", "unauthorized", etc., which are used to indicate whether the person in the image has the right to pass through the access control. For example, in the access control system, after the access control verification knowledge vector sequence is classified by the clustering algorithm, the image recognition network can be used to predict the label of each cluster. For example, for the "authorized personnel cluster", the network may predict its label as "authorized", indicating that the people in this cluster have the right to pass through the access control.

[0067] That is, in this embodiment, the server will then use the clustering algorithm in the image recognition network to cluster the target access control verification knowledge vector sequence. This process will group similar vectors together to form clusters. Each cluster represents a specific feature combination or pattern. After clustering is completed, the server can use the prediction function of the network to assign an access control verification label (such as "allowed entry", "denied entry", etc.) to each cluster. In this way, the server obtains the access control verification label prediction result of the target building access control acquisition image.

[0068] Step S150: Based on the access control verification tag prediction result, the access control collected image of the target building is subjected to access control verification output.

[0069] In this embodiment, the access control verification output refers to the final verification decision made on the access control image of the target building based on the access control verification tag prediction result, which may include allowing access, refusing access, or requesting further verification. For example, in the actual application of the access control system, after the image recognition network predicts the label of the access control image, the corresponding verification output can be made according to the prediction result. For example, if the predicted label is "authorized", the system will control the access control to open and allow people to pass; if the predicted label is "unauthorized", the system will refuse people to pass, and may trigger an alarm or perform further processing.

[0070] That is, in the end, the server can make corresponding access control verification output for the target building access control image based on the access control verification tag prediction result. If the predicted tag is "allow entry", the server can send an unlock signal to the access control system of the target building to allow employees to enter. If the predicted tag is "deny entry", the server can send a signal to keep the door locked and may trigger an alarm or notify the administrator. In this way, through the entire process, the server can achieve fast and accurate verification of the target building access control image.

[0071] Based on the above steps, by obtaining the target building access control acquisition image and its reference building access control nodes, and then obtaining the image recognition network corresponding to these nodes that has undergone knowledge learning, the access control system can select the most suitable image recognition model according to the actual situation, thereby improving the recognition accuracy. Secondly, the image recognition network that has completed knowledge learning is used to perform access control verification knowledge network mapping on the living feature space representation of the target building access control acquisition image, and generate a target access control verification knowledge vector sequence. This method can not only effectively extract the living features in the image, but also map these features to the knowledge space of access control verification, further enhancing the accuracy and reliability of the verification. Furthermore, by clustering the target access control verification knowledge vector sequence and generating the clustering results of the target building access control acquisition image, the image features can be divided more finely, which is helpful for the subsequent access control verification label prediction. Next, the clustering results are predicted using the image recognition network to predict access control verification labels, which can accurately generate access control verification label prediction results for the target building access control collection images. Based on the access control verification label prediction results, access control verification output is performed on the target building access control collection images, achieving efficient and accurate access control and improving building security. Therefore, the embodiment of the present application significantly improves the recognition accuracy and verification efficiency of the building access control system.

[0072] In a possible implementation, before the step of acquiring the image recognition network that has completed knowledge learning corresponding to the reference building access control node and the target building access control node, the method further includes:

[0073] Step S101, obtaining sample learning data, wherein the sample learning data includes a first unsupervised building access control acquisition image and a first supervised building access control acquisition image under a first building access control node, and a second unsupervised building access control acquisition image and a second supervised building access control acquisition image under a second building access control node, the scale of the first supervised building access control acquisition image is larger than the scale of the second supervised building access control acquisition image, the first building access control node includes the target building access control node, and the second building access control node includes the reference building access control node.

[0074] Step S102, obtaining an initialized image recognition network.

[0075] Step S103, performing knowledge learning on the initialized image recognition network based on the sample learning data to generate the image recognition network that has completed knowledge learning.

[0076] In this embodiment, the server collects sample learning data from multiple building access control systems, and these data include data of two building access control nodes: a first building access control node (including a target building access control node) and a second building access control node (including a reference building access control node).

[0077] From the first building access control node, the server obtains the first unsupervised building access control collection image and the first supervised building access control collection image. These building access control collection images can be captured at different time periods and under different lighting conditions, and include facial images of various angles and expressions. The first supervised building access control collection image is labeled, and the label indicates whether the person in the image has the right to enter the building. Since it is the data of the first building access control node, the scale of its supervised images is relatively large, providing rich training samples.

[0078] From the second building access control node, the server obtains the second unsupervised building access control collection image and the second supervised building access control collection image. The characteristics of these data are similar to those of the first building access control node, but because they are the data of the second building access control node, the scale of its supervised image is relatively small.

[0079] The server obtains an initialized image recognition network from a pre-built model library. The network is a deep learning model designed for image classification and recognition tasks. In the initialization phase, the weights and parameters of the network are randomly set and need to be optimized through training.

[0080] The server uses the collected sample learning data to train the initialized image recognition network. First, the server inputs the first unsupervised building access control acquisition image and the second unsupervised building access control acquisition image into the network, allowing the network to learn how to extract useful features from these unlabeled images. This process is called unsupervised learning, which helps the network understand the basic structure and content of the image. Next, the server uses the first supervised building access control acquisition image and the second supervised building access control acquisition image to perform supervised training on the network. These images are labeled to indicate whether the person in the image has building access rights. The network gradually optimizes its weights and parameters by learning the relationship between these labels and image features, thereby improving the recognition accuracy of access control acquisition images.

[0081] During the training process, the server also adopted a transfer learning strategy. Since the scale of the images collected by the first supervised building access control is larger than that of the second supervised building access control, the server first uses the data of the first building access control node for training, and then transfers the learned knowledge to the data of the second building access control node. This transfer learning method helps to make full use of limited supervised data and improve the generalization ability of the network.

[0082] After the above training process, the server obtains an image recognition network that has completed knowledge learning. The network has learned how to extract useful features from access control images and determine whether the person in the image has permission to enter the building based on these features. The server saves this trained network for subsequent use in access control verification tasks.

[0083] In a possible implementation, the initialized image recognition network includes a door access feature mapping subnetwork, an image feature clustering subnetwork, and a door access verification label prediction subnetwork, and step S103 includes:

[0084] Step S1031, encoding the first unsupervised building access control collected image and the first supervised building access control collected image to generate a first image coding feature representation.

[0085] In this embodiment, the server first uses encoding technology to encode the unsupervised and supervised access control images collected by the first building access control node (including the target building access control node). The process involves converting the image data into a mathematical representation, namely the first image encoding feature representation, which can capture the key information in the image, such as the contour of the face, the position and shape of features such as the eyes and nose, while ignoring unimportant details.

[0086] Step S1032: encode the second unsupervised building access control collected image and the second supervised building access control collected image to generate a second image coding feature representation.

[0087] Similar to step S1031, the server encodes the unsupervised and supervised access control acquisition images of the second building access control node (including the reference building access control node) to generate a second image coding feature representation, which will serve as the basis for subsequent access control feature mapping, image feature clustering and access control verification label prediction.

[0088] Step S1033: Perform access control feature mapping on the second image coding feature representation based on the access control feature mapping subnetwork to generate a third image coding feature representation.

[0089] In this embodiment, the server then further processes the second image encoding feature representation using the access control feature mapping subnetwork, which is designed to learn how to map the image features of the second building access control node to the feature space of the first building access control node. Through this mapping, the server can generate a third image encoding feature representation that is more consistent with the first building access control node, thereby eliminating data differences between different building access control nodes.

[0090] Step S1034: clustering the first image coding feature representation and the third image coding feature representation based on the image feature clustering subnetwork to generate a clustering result.

[0091] In this embodiment, the server uses the image feature clustering subnetwork to cluster the first image encoding feature representation and the third image encoding feature representation. The clustering process groups the image features according to their similarity, so that the image features in the same group (i.e., cluster) are as similar as possible. The clustering results reveal the intrinsic connection between different images, which is helpful for the subsequent access control verification label prediction.

[0092] Step S1035 , determining clustering results of the first supervised building access control collected image and the second supervised building access control collected image based on the clustering results, wherein the clustering results include clustering attribution confidences corresponding to the building access control collected images.

[0093] Based on the clustering results, the server determines the clustering affiliation of the first supervised building access control image and the second supervised building access control image, and assigns a clustering affiliation confidence to each image. The confidence reflects the credibility of the image being correctly classified into a cluster, providing an important basis for subsequent access control verification.

[0094] Step S1036, based on the clustering results of the first supervised building access control collection image and the second supervised building access control collection image and the corresponding access control verification label annotation data, the access control feature mapping subnetwork and the access control verification label prediction subnetwork are linked for knowledge learning to generate an access control feature mapping subnetwork that has completed knowledge learning and an access control verification label prediction subnetwork that has completed knowledge learning.

[0095] The server uses the clustering results of the first supervised building access control collection images and the second supervised building access control collection images and the corresponding access control verification label annotation data to perform linkage knowledge learning on the access control feature mapping subnetwork and the access control verification label prediction subnetwork. In this process, the two subnetworks continuously optimize their weights and parameters through the back propagation algorithm to improve the accuracy of access control verification. Through linkage learning, the two subnetworks can work better together, thereby improving the performance of the entire image recognition network.

[0096] Step S1037, outputting the access control feature mapping subnetwork that has completed knowledge learning, the image feature clustering subnetwork, and the access control verification label prediction subnetwork that has completed knowledge learning as the image recognition network.

[0097] Finally, the server integrates the access control feature mapping subnetwork that has completed knowledge learning, the image feature clustering subnetwork, and the access control verification label prediction subnetwork that has completed knowledge learning, and outputs them as a complete image recognition network. The image recognition network now has the ability to extract features from access control images, perform feature mapping, image clustering, and access control verification label prediction, and can be applied to actual building access control systems for identity authentication and security management.

[0098] In a possible implementation, step S1036 may include:

[0099] Step S1036-1, based on the clustering results of the building access control collected images with the same access control verification tag annotated data, the access control feature mapping sub-network is subjected to knowledge learning to generate an access control feature mapping sub-network that has completed knowledge learning.

[0100] Step S1036-2, based on the clustering results of the first supervised building access control collection image and the second supervised building access control collection image and the mapping connection of the access control verification label annotation data, the access control verification label prediction sub-network is subjected to knowledge learning to generate an access control verification label prediction sub-network that has completed knowledge learning.

[0101] In this embodiment, the server first focuses on the clustering results of building access control images with the same access control verification label annotation data. For example, there is a group of images that are all labeled as "authorized personnel" and these images are classified into the same cluster during the clustering process. The server uses these images with the same label and classified into the same cluster to train the access control feature mapping subnetwork.

[0102] During the training process, the server can continuously adjust the parameters of the access control feature mapping subnetwork so that the network can better map the image features of different building access control nodes to the same feature space. In this way, no matter which building access control node the image comes from, the access control feature mapping subnetwork can convert it into a consistent feature representation.

[0103] Through multiple iterations of training, when the access control feature mapping sub-network can produce more consistent feature mapping results when processing images with the same label, the server believes that the network has completed knowledge learning. At this point, the server will save the trained network parameters and generate the access control feature mapping sub-network that has completed knowledge learning.

[0104] After completing the knowledge learning of the access control feature mapping sub-network, the server next focuses on the mapping relationship between the clustering results of the first supervised building access control collection image and the second supervised building access control collection image and the access control verification label annotation data.

[0105] The server inputs the image features that have been processed by the access control feature mapping sub-network into the access control verification label prediction sub-network, and simultaneously provides the access control verification label annotation data corresponding to these images (such as "authorized" or "unauthorized"). Then, the server adjusts the weights and parameters of the access control verification label prediction sub-network through optimization techniques such as the back propagation algorithm.

[0106] During the training process, the access control verification label prediction subnetwork will gradually learn how to accurately predict access control verification labels from image features. For example, when the network receives a feature representation, it can determine whether the image corresponding to this feature belongs to an "authorized person" or an "unauthorized person" based on the learned mapping relationship.

[0107] Through multiple iterations of training and continuous adjustment of network parameters to minimize the difference between predicted labels and actual labels, the server can eventually generate a door access verification label prediction subnetwork that has completed knowledge learning. When processing image features converted by the door access feature mapping subnetwork, this network can accurately predict the corresponding door access verification label.

[0108] In a possible implementation, step S1036-2 includes:

[0109] Step S1036-21, constructing target sample learning data based on the clustering results of the first supervised building access control collected image and the second supervised building access control collected image and the mapping relationship of the access control verification label annotation data.

[0110] In this embodiment, the server first constructs target sample learning data based on the clustering results of the first supervised building access control image and the second supervised building access control image, as well as the access control verification label annotation data corresponding to these first supervised building access control image and the second supervised building access control image. These data points not only contain the encoding features of the image (i.e., the clustering results), but also come with real access control verification labels, such as "entry allowed" or "entry denied".

[0111] For example, the server may integrate all images in a cluster and their corresponding labels to form a dataset, which is the target sample learning data, which will be used to train the access control verification label prediction subnetwork.

[0112] Step S1036-22, obtaining the clustering results of the target sample learning data and the real access control verification label annotation data.

[0113] After constructing the target sample learning data, the server can extract the clustering results and the real access control verification labels from these data. The clustering results represent the feature classification of the image, while the real access control verification labels are the verification results of these images in the actual access control system.

[0114] The server can organize this data into a format suitable for training the access control verification label prediction sub-network to ensure the accuracy and completeness of the data.

[0115] Step S1036-23, loading the clustering result of the target sample learning data into the access control verification label prediction subnetwork to generate the first predicted access control verification label data of the target sample learning data.

[0116] Next, the server loads the clustering results of the target sample learning data into the access control verification label prediction subnetwork, and the access control verification label prediction subnetwork generates corresponding first predicted access control verification label data according to the input clustering results.

[0117] These predicted labels are preliminary judgments made by the access control verification label prediction sub-network based on the current network parameters and weights. They may be consistent with the actual access control verification labels, or they may be biased.

[0118] Step S1036-24, based on the first predicted access control verification label data and the real access control verification label annotation data, the access control verification label prediction sub-network is subjected to knowledge learning to generate an access control verification label prediction sub-network that has completed knowledge learning.

[0119] Finally, the server can compare the first predicted access control verification label data with the actual access control verification label data. By calculating the difference between the two, the server can evaluate the performance of the access control verification label prediction sub-network.

[0120] Based on this evaluation, the server can use an optimization algorithm (such as gradient descent) to adjust the parameters and weights of the access control verification tag prediction sub-network. This process will be repeated until the prediction performance of the access control verification tag prediction sub-network reaches a preset standard or no longer improves significantly.

[0121] When the prediction accuracy of the access control verification label prediction sub-network is high enough, the server can stop training and save the current network parameters and weights. At this point, the access control verification label prediction sub-network is considered to have completed knowledge learning and can be used to predict access control verification labels in actual building access control systems.

[0122] In a possible implementation, step S1036-1 includes:

[0123] Step S1036-11, loading the clustering results of the building access control collected images with the same access control verification label annotated data into the access control verification label prediction subnetwork, and generating second predicted access control verification label data of the building access control collected images with the same access control verification label annotated data.

[0124] Step S1036-12: Based on the second predicted access control verification tag data and the same access control verification tag annotation data, the access control feature mapping sub-network is subjected to knowledge learning to generate an access control feature mapping sub-network that has completed knowledge learning.

[0125] In this embodiment, the server first selects those building access control images with the same access control verification label annotation data, and loads the clustering results of these building access control images into the access control verification label prediction subnetwork. For example, the server selects a group of building access control images that are all labeled as "employees", and these building access control images have been clustered in the previous step.

[0126] When these clustering results are input into the access control verification label prediction subnetwork, the network will generate a predicted access control verification label for each clustering result based on its currently learned weights and parameters. These labels are called second predicted access control verification label data. In this process, the server is using the existing network model to predict data with the same label to verify the accuracy of the model.

[0127] Once the server obtains the second predicted access control verification tag data, these predicted tags can be compared with the original, identical access control verification tag annotated data. The comparison process is to find out the differences between the predicted tags and the actual tags.

[0128] For example, if a clustered image is truly labeled as "employee", but the access control verification label prediction subnetwork predicts the label as "visitor", the server will identify an error. Through this comparison, the server can quantify the prediction performance of the model and find out where the model needs to be improved.

[0129] Next, the server can use this difference information (i.e., prediction errors) to learn knowledge about the gate feature mapping subnetwork, which usually involves adjusting the weights and parameters of the network so that it can map features more accurately and reduce prediction errors during the next prediction. The server may use optimization algorithms such as backpropagation to update the weights of the network.

[0130] This process is repeated, and each iteration improves the performance of the access control feature mapping subnetwork until its prediction performance reaches an acceptable level or there is no significant room for improvement. Finally, the server can save the weights and parameters of the optimized access control feature mapping subnetwork, which is now considered to be a knowledge-learned access control feature mapping subnetwork that can more effectively map the image features of different building access control nodes to a unified feature space, thereby improving the accuracy of subsequent access control verification.

[0131] In a possible implementation manner, after the step of acquiring the target building access control acquisition image, the method further includes:

[0132] Step S111 , positioning the key feature area of ​​the target building access control image, and generating the key features included in the target building access control image.

[0133] Step S112, performing self-attention processing on the key feature to generate a self-attention feature corresponding to the key feature.

[0134] Step S113: generating a living feature space representation of the target building access control image based on the self-attention feature corresponding to the key feature.

[0135] In this embodiment, after acquiring the target building access control images, the server will first locate the key feature areas of these target building access control images. During this process, the server may use computer vision technology, such as target detection or face recognition algorithms in deep learning models, to identify key areas in the image, such as facial features, skin texture, etc.

[0136] For example, if the target building access control captures a person's face in the image, the server can locate key feature areas such as eyes, nose, and mouth, which are crucial for subsequent identity authentication and liveness detection.

[0137] After locating the key feature areas, the server can further extract the specific features of these areas, which may include the shape of the eyes, the size and position of the pupils, the outline of the nose, the shape and texture of the mouth, etc. After these features are extracted, they form the key feature set of the image.

[0138] These key features not only contain rich identity information, but also help to determine in subsequent steps whether the image is from a real, living human face rather than a forgery such as a photo or video.

[0139] Next, the server can perform self-attention processing on the extracted key features. During this process, the server can use the self-attention mechanism to allow the model to automatically learn which features are more important for identity authentication and liveness detection.

[0140] Specifically, the self-attention mechanism calculates the correlation between each feature and other features and assigns different weights to each feature based on these correlations, so that important features receive more attention, while minor features are relatively ignored.

[0141] For example, in face recognition, the features of the eyes may be particularly important for identity verification, so after self-attention processing, the features of the eyes may be given a higher weight.

[0142] Finally, based on the key features after self-attention processing, the server can generate a live feature space representation of the target building access control image, which is a high-dimensional vector that encodes the key information in the image and the correlation between the features.

[0143] This living feature space representation will be used for subsequent identity authentication and liveness detection tasks. By comparing it with the pre-stored features of legitimate users, the server can determine whether the currently captured image is from a legitimate, living user, and thus decide whether to allow him or her to pass through the building access control system.

[0144] In a possible implementation, step S130 may include:

[0145] Step S131, using face detection and key point positioning algorithm to locate the key feature area of ​​the target building access control image, and generate the key feature area.

[0146] Step S132, performing self-attention processing on the located key feature area, fusing the extracted self-attention features to form a living feature space representation.

[0147] Step S133, passing the generated living feature space representation as input to the access control feature mapping subnetwork in the image recognition network that has been loaded and completed knowledge learning, so that the received living feature space representation is nonlinearly transformed through the access control feature mapping subnetwork and mapped to a new feature space, and high-order feature representations are extracted as the target access control verification knowledge vector sequence through multi-layer convolution operations, pooling operations and nonlinear transformations of activation functions.

[0148] In this embodiment, the server first uses advanced face detection and key point positioning algorithms to process the target building access control images. For example, when the server receives a facial image captured by the camera of the access control system, it will use the algorithm to quickly identify the face in the image and accurately locate the key feature areas of the face, such as the outline and position of the eyes, nose, mouth and other parts.

[0149] During this process, the server can use deep learning models, such as face detection algorithms based on convolutional neural networks (CNNs). These algorithms are trained with large amounts of data and can accurately identify faces and locate their key feature areas.

[0150] After locating the key feature areas, the server can perform self-attention processing on these key feature areas, which means that the server can analyze the importance of each key feature area and assign different weights to them. For example, the eye area is usually of high importance in face recognition, so it may be given a larger weight during the self-attention process.

[0151] Next, the server fuses the extracted self-attention features, which is similar to summarizing the information of each key feature area to form a comprehensive and representative live feature space representation, which not only includes the key features of the face, but also reflects the relative importance and correlation between these features.

[0152] Once the living feature space representation is formed, the server can pass it as input to the access control feature mapping subnetwork in the image recognition network that has been loaded and completed knowledge learning. This subnetwork has been specially trained to perform nonlinear transformation on the received living feature space representation and map it to a new feature space.

[0153] In this process, the access control feature mapping subnetwork will gradually extract high-order feature representations in the image through multi-layer convolution operations, pooling operations, and nonlinear transformations of activation functions. These high-order features not only contain the local information of the image, but also capture the global structure and contextual relationship of the image.

[0154] After the nonlinear transformation of the access control feature mapping subnetwork, the server can extract high-order feature representation, which is the target access control verification knowledge vector sequence. The target access control verification knowledge vector sequence encodes the key information in the image and the complex relationship between the features, which is an important basis for subsequent access control verification decisions.

[0155] The server can store this target access control verification knowledge vector sequence in memory and associate it with other relevant data for subsequent identity authentication and access control operations. For example, when someone tries to pass through the access control system, the server can quickly retrieve and compare the stored target access control verification knowledge vector sequence to determine whether the person is authorized to pass.

[0156] In a possible implementation, step S131 includes:

[0157] Step S1311, using a Haar cascade classifier to scan the target building access control image, and identify the face area in the target building access control image.

[0158] Step S1312, obtaining coordinate information of the face region, and locating key feature points of the face on the face region using a key point locating algorithm based on the coordinate information of the face region.

[0159] Step S1313: determining a key feature area based on the located key feature points.

[0160] In this embodiment, the server first starts the Haar cascade classifier, which is a machine learning algorithm commonly used for face detection. When the server receives the image collected by the target building access control system, it scans the image line by line using the Haar cascade classifier, which has learned the unique features of the face through training, such as the relative position and shape of the eyes, nose and mouth.

[0161] During the scanning process, the Haar cascade classifier will quickly identify possible face areas in the image and preliminarily mark these areas. These areas are usually represented by rectangular boxes, which select the suspected face parts in the image.

[0162] Once the Haar cascade classifier has finished scanning the image and identified the face regions, the server can further process the data. It will extract the coordinate information of each face region, including the location of the face region in the image (such as the coordinates of the upper left corner and the lower right corner) and the size of the region. These coordinate information are key to subsequent processing because they provide precise location guidance for the server, allowing the server to accurately locate the face part in the image.

[0163] After obtaining the coordinate information of the face area, the server can use this coordinate information to start the key point positioning algorithm, the purpose of which is to accurately locate the key feature points of the face in the identified face area, such as the inner and outer corners of the eyes, the tip of the nose, the corners of the mouth, etc.

[0164] Key point location algorithms usually use deep learning or computer vision technology to accurately identify the locations of these key feature points by analyzing information such as the shape, texture, and contour of the facial area. These feature points are not only an important reference for face recognition, but also the basis for subsequent determination of key feature areas.

[0165] Based on the located key feature points, the server can further determine the key feature areas, which are usually a certain range defined around the key feature points, such as the area around the eyes, the nose area, and the mouth area.

[0166] The process of determining these key feature areas is to enable more detailed analysis and processing of these areas in the future, such as feature extraction and comparison. The selection and demarcation of these areas are crucial to improving the accuracy and reliability of face recognition. Through the above steps, the server can accurately locate the key feature areas of the face from the target building access control image, providing a solid foundation for subsequent identity authentication and recognition.

[0167] Figure 2 The hardware structure of the image recognition system 100 applied to the building access control system for implementing the above-mentioned image recognition method applied to the building access control system provided in the embodiment of the present application is shown. Figure 2 As shown, the image recognition system 100 applied to a building access control system may include a processor 110 , a machine-readable storage medium 120 , a bus 130 , and a communication unit 140 .

[0168] In one possible design, the image recognition system 100 applied to the building access control system can be a single server or a server group. The server group can be centralized or distributed (for example, the image recognition system 100 applied to the building access control system can be a distributed system). In some embodiments, the image recognition system 100 applied to the building access control system can be local or remote. For example, the image recognition system 100 applied to the building access control system can access information and / or data stored in the machine-readable storage medium 120 via a network. For another example, the image recognition system 100 applied to the building access control system can be directly connected to the machine-readable storage medium 120 to access the stored information and / or data. In some embodiments, the image recognition system 100 applied to the building access control system can be implemented on the image recognition system applied to the building access control system. As an example only, the image recognition system applied to the building access control system can include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-layer cloud, etc. or any combination thereof.

[0169] The machine-readable storage medium 120 may store data and / or instructions. In some embodiments, the machine-readable storage medium 120 may store data obtained from an external terminal. In some embodiments, the machine-readable storage medium 120 may store data and / or instructions that the image recognition system 100 applied to a building access control system uses to execute or use to complete the exemplary method described in this application.

[0170] During the specific implementation process, one or more processors 110 execute computer executable instructions stored in the machine-readable storage medium 120, so that the processor 110 can execute the image recognition method applied to the building access control system in the above method embodiment. The processor 110, the machine-readable storage medium 120 and the communication unit 140 are connected through the bus 130, and the processor 110 can be used to control the sending and receiving actions of the communication unit 140.

[0171] The specific implementation process of the processor 110 can refer to the various method embodiments executed by the above-mentioned image recognition system 100 applied to the building access control system. The implementation principles and technical effects are similar and will not be repeated in this embodiment.

[0172] In addition, an embodiment of the present application further provides a readable storage medium, in which computer executable instructions are preset. When a processor executes the computer executable instructions, the image recognition method applied to the building access control system as above is implemented.

[0173] It should be noted that in order to simplify the description disclosed in this application and thus help understand one or more embodiments of the invention, in the foregoing description of the embodiments of the present application, multiple features are sometimes combined into one embodiment, drawings, or descriptions thereof. Similarly, it should be noted that in order to simplify the description disclosed in this application and thus help understand one or more embodiments of the invention, in the foregoing description of the embodiments of the present application, multiple features are sometimes combined into one embodiment, drawings, or descriptions thereof.

Claims

1. An image recognition method applied to a building access control system, characterized in that: The method comprises: Acquire a target building access control acquisition image and a reference building access control node of the target building access control acquisition image; Obtaining an image recognition network that has completed knowledge learning corresponding to the reference building access control node and the target building access control node; Using the image recognition network that has completed knowledge learning, the living feature space representation of the target building access control acquisition image is mapped to an access control verification knowledge network to generate a target building access control verification knowledge vector sequence of the target building access control acquisition image in the target building access control node; Using the image recognition network that has completed knowledge learning, clustering the target access control verification knowledge vector sequence to generate a clustering result of the target building access control acquisition image; Using the image recognition network that has completed knowledge learning to predict access control verification labels for the clustering results, and generating access control verification label prediction results for the access control acquisition images of the target building; Based on the access control verification tag prediction result, the access control verification output is performed on the access control acquisition image of the target building; Before the step of acquiring the image recognition network that has completed knowledge learning corresponding to the reference building access control node and the target building access control node, the method further includes: Acquire sample learning data, wherein the sample learning data includes a first unsupervised building access control acquisition image and a first supervised building access control acquisition image under a first building access control node, and a second unsupervised building access control acquisition image and a second supervised building access control acquisition image under a second building access control node, the scale of the first supervised building access control acquisition image is larger than the scale of the second supervised building access control acquisition image, the first building access control node includes the target building access control node, and the second building access control node includes the reference building access control node; Get the initialized image recognition network; The initialized image recognition network is subjected to knowledge learning based on the sample learning data to generate the image recognition network that has completed knowledge learning.

2. The image recognition method applied to a building access control system according to claim 1, characterized in that: The initialized image recognition network includes a door access feature mapping subnetwork, an image feature clustering subnetwork, and a door access verification label prediction subnetwork. The step of performing knowledge learning on the initialized image recognition network based on the sample learning data to generate the image recognition network that has completed knowledge learning includes: Encoding the first unsupervised building access control collected image and the first supervised building access control collected image to generate a first image coding feature representation; Encoding the second unsupervised building access control collected image and the second supervised building access control collected image to generate a second image coding feature representation; Performing access control feature mapping on the second image coding feature representation based on the access control feature mapping subnetwork to generate a third image coding feature representation; Clustering the first image coding feature representation and the third image coding feature representation based on the image feature clustering subnetwork to generate a clustering result; Determine clustering results of the first supervised building access control collected image and the second supervised building access control collected image based on the clustering results, wherein the clustering results include clustering attribution confidences corresponding to the building access control collected images; Based on the clustering results of the first supervised building access control collection image and the second supervised building access control collection image and the corresponding access control verification label annotation data, the access control feature mapping subnetwork and the access control verification label prediction subnetwork are linked to learn knowledge, and a access control feature mapping subnetwork and a access control verification label prediction subnetwork that have completed knowledge learning are generated; The access control feature mapping subnetwork that has completed knowledge learning, the image feature clustering subnetwork, and the access control verification label prediction subnetwork that has completed knowledge learning are output as the image recognition network.

3. The image recognition method applied to a building access control system according to claim 2, characterized in that: The step of performing linkage knowledge learning on the access control feature mapping subnetwork and the access control verification label prediction subnetwork based on the clustering results of the first supervised building access control collection image and the second supervised building access control collection image and the corresponding access control verification label annotation data, and generating the access control feature mapping subnetwork that has completed knowledge learning and the access control verification label prediction subnetwork that has completed knowledge learning, includes: Based on the clustering results of the building access control collected images with the same access control verification tag annotated data, the access control feature mapping sub-network is subjected to knowledge learning to generate an access control feature mapping sub-network that has completed knowledge learning; Based on the clustering results of the first supervised building access control collection image and the second supervised building access control collection image and the mapping relationship between the access control verification label annotation data, the access control verification label prediction subnetwork is subjected to knowledge learning to generate an access control verification label prediction subnetwork that has completed knowledge learning.

4. The image recognition method applied to a building access control system according to claim 3, characterized in that: The step of performing knowledge learning on the access control verification label prediction subnetwork based on the clustering results of the first supervised building access control collection image and the second supervised building access control collection image and the mapping relationship of the access control verification label annotation data to generate the access control verification label prediction subnetwork that has completed knowledge learning includes: Constructing target sample learning data based on the clustering results of the first supervised building access control collection image and the second supervised building access control collection image and the mapping relationship between the access control verification label annotation data; Obtaining clustering results of the target sample learning data and real access control verification label annotation data; Loading the clustering result of the target sample learning data into the access control verification label prediction subnetwork to generate first predicted access control verification label data of the target sample learning data; Based on the first predicted access control verification label data and the real access control verification label annotation data, knowledge learning is performed on the access control verification label prediction sub-network to generate an access control verification label prediction sub-network that has completed knowledge learning.

5. The image recognition method applied to a building access control system according to claim 3, characterized in that: The step of performing knowledge learning on the access control feature mapping subnetwork based on the clustering results of the building access control collected images with the same access control verification tag annotated data, and generating the access control feature mapping subnetwork that has completed knowledge learning, comprises: Loading the clustering results of the building access control collected images with the same access control verification label annotated data into the access control verification label prediction subnetwork to generate second predicted access control verification label data of the building access control collected images with the same access control verification label annotated data; Based on the second predicted access control verification tag data and the same access control verification tag annotation data, the access control feature mapping sub-network is subjected to knowledge learning to generate an access control feature mapping sub-network that has completed knowledge learning.

6. The image recognition method applied to a building access control system according to any one of claims 1 to 5, characterized in that: After the step of acquiring the target building access control acquisition image, the method further includes: Positioning the key feature area of ​​the target building access control acquisition image to generate the key features included in the target building access control acquisition image; Performing self-attention processing on the key feature to generate a self-attention feature corresponding to the key feature; Based on the self-attention features corresponding to the key features, a living feature space representation of the target building access control acquisition image is generated.

7. The image recognition method applied to a building access control system according to any one of claims 1 to 5, characterized in that: The step of using the image recognition network that has completed knowledge learning to perform access control verification knowledge network mapping on the living feature space representation of the target building access control collection image to generate a target access control verification knowledge vector sequence of the target building access control collection image in the target building access control node includes: Using face detection and key point positioning algorithms to locate key feature areas of the target building access control image, and generate key feature areas; Perform self-attention processing on the located key feature areas, and fuse the extracted self-attention features to form a living feature space representation; The generated living feature space representation is taken as input and passed to the access control feature mapping subnetwork in the loaded image recognition network that has completed knowledge learning, so that the received living feature space representation is nonlinearly transformed through the access control feature mapping subnetwork and mapped to a new feature space. Through multi-layer convolution operations, pooling operations and nonlinear transformation of activation functions, high-order feature representations are extracted as the target access control verification knowledge vector sequence.

8. The image recognition method applied to a building access control system according to claim 7, characterized in that: The step of locating the key feature area of ​​the target building access control image using face detection and key point positioning algorithm to generate the key feature area includes: Scanning the target building access control image using a Haar cascade classifier to identify a face area in the target building access control image; Acquire coordinate information of the face region, and locate key feature points of the face on the face region using a key point location algorithm based on the coordinate information of the face region; Based on the located key feature points, the key feature area is determined.

9. An image recognition system applied to a building access control system, characterized in that: The image recognition system applied to the building access control system includes a processor and a memory, the memory is connected to the processor, the memory is used to store programs, instructions or codes, and the processor is used to execute the programs, instructions or codes in the memory to implement the image recognition method applied to the building access control system as described in any one of claims 1 to 8 above.

Citation Information

Patent Citations

  • Method and device for controlling visitor access control system based on image recognition

    CN109598831A

  • Face recognition method and face recognition device

    CN111274916A

  • System for verifying facial identity using convolutional neural networks

    DE202023107335U1

  • Facial recognition model construction method, facial recognition method, and related device

    WO2023130613A1