Access control management method and system based on intelligent image recognition

Through intelligent image recognition technology, combined with the optimization of image transformation and weight distribution array, the problem of insufficient security and convenience of traditional access control systems is solved, and more efficient and reliable access control management is achieved.

CN118658234BActive Publication Date: 2024-10-25ZHUHAI BCOM ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411124955.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-10-25
Estimated Expiration
2044-08-16

AI Technical Summary

Technical Problem

Traditional access control systems have shortcomings in terms of security and convenience. Wireless radio frequency card and password identification have security issues. Biometric identification faces the risk of forgery and counterfeiting, and the recognition effect may be affected in certain environments.

Method used

Using an access control management method based on intelligent image recognition, by obtaining the access control collection image data to be learned that carries a priori access control identity verification categories, anti-interference parameter learning is performed on the reference access control verification decision-making model, and multiple image transformation strategies are used to generate transformed access control collection images. Data, image transformation learning error is calculated, and optimized through the set weight distribution array, and a target access control verification decision-making model is generated to improve the stability and generalization ability of the model.

Benefits of technology

It improves the identity verification accuracy and security of the access control system, enhances the stability and generalization capabilities of the model, and provides more efficient and reliable access control management services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658234B_ABST
    Figure CN118658234B_ABST
Patent Text Reader

Abstract

The present application provides a door access management method and system based on intelligent image recognition, which obtains the door access collection image data to be learned with a prior door access identity authentication category, and is used to learn the parameters of the reference door access verification decision model to improve its anti-interference ability. Then, a variety of image transformation strategies are used to process the door access collection image data to be learned, generate transformed door access collection image data, and inherit the prior door access identity authentication category of the original data. Then, the transformed image data are verified and decided by the reference door access verification decision model, and the learning error of each transformed image is calculated based on the error between the decision result and the prior category. Furthermore, these learning errors are weighted by the set weight distribution array to obtain the target learning error, and the reference model is iteratively optimized based on this, and finally a more accurate target door access verification decision model is generated.
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 access control management method and system based on intelligent image recognition. Background Art

[0002] With the development of science and technology and the progress of society, access control systems have been widely used in various fields, such as enterprises, institutions, residential areas, airports, stations and other public places, and their safety and convenience have attracted more and more attention. Traditional access control systems mainly rely on wireless radio frequency cards, passwords or biometric recognition technology for identity authentication, but each of these methods has certain defects.

[0003] Although wireless radio frequency card and password recognition are easy to operate, there are security issues, such as radio frequency cards are easy to lose and passwords are easy to leak. Although biometric recognition technologies, such as fingerprint recognition and facial recognition, have high security, they also face the risk of forgery and counterfeiting, and the recognition effect may be affected in some specific environments. Summary of the invention

[0004] In view of the above-mentioned problems, in combination with the first aspect of the present application, an embodiment of the present application provides a door access management method based on intelligent image recognition, the method comprising:

[0005] Acquire access control collected image data to be learned that carries a priori access control identity authentication category, wherein the access control collected image data to be learned is used to learn anti-interference parameters for a reference access control verification decision model;

[0006] Performing image transformation on the access control image data to be learned according to a plurality of image transformation strategies, generating transformed access control image data corresponding to each of the plurality of image transformation strategies, wherein the prior access control identity authentication category carried by the transformed access control image data is inherited and generated from the access control image data to be learned before the image transformation;

[0007] Using the reference access control verification decision model to make an access control verification decision on the transformed access control collected image data, and generating image transformation learning errors corresponding to a plurality of transformed access control collected image data according to the error between the access control verification decision result and the prior access control identity authentication category;

[0008] According to a set weight distribution array and the image transformation learning errors corresponding to each of the plurality of transformed access control collected image data, a weight distribution calculation is performed on the plurality of image transformation learning errors to generate a target learning error, wherein the set weight distribution array is used to generate a weight coefficient corresponding to the image transformation learning error;

[0009] The reference access control verification decision model is iteratively optimized according to the target learning error to generate a target access control verification decision model, and the target access control verification decision model is used to make an access control verification decision for any input target access control acquisition image data.

[0010] In a possible implementation manner of the first aspect, performing weight distribution calculation on a plurality of image transformation learning errors to generate a target learning error includes:

[0011] The weight coefficients of the multiple image transformation learning errors are multiplied and summarized to calculate an average value, and an average learning error is generated as the target learning error.

[0012] In a possible implementation of the first aspect, performing weight distribution calculation on multiple image transformation learning errors based on a set weight distribution array and the image transformation learning errors corresponding to each of the multiple transformed access control collected image data to generate a target learning error includes:

[0013] Obtaining an xth image transformation difference between the access control collected image data to be learned and the xth transformed access control collected image data, where x is a positive integer;

[0014] Generating a weight coefficient corresponding to the x-th image transformation gap according to the set weight distribution array and the x-th image transformation gap, wherein the weight coefficient corresponding to the image transformation gap is negatively correlated with the image transformation gap;

[0015] According to the weight coefficients corresponding to the multiple image transformation gaps and the image transformation learning errors corresponding to the multiple transformed access control acquisition image data, the multiple image transformation learning errors are weighted and calculated to generate the target learning error.

[0016] In a possible implementation manner of the first aspect, generating a weight coefficient corresponding to the x-th image transformation gap according to the set weight allocation array and the x-th image transformation gap includes:

[0017] Setting an initialized weight distribution array, which is a set of predefined values ​​for guiding the generation of weight coefficients, wherein a linearly decreasing or nonlinearly decreasing weight distribution array is set so that as the image transformation difference increases, the weight coefficients gradually decrease;

[0018] Mapping the x-th image transformation gap to the initialized weight allocation array by interpolation or a lookup table, and searching the corresponding first weight coefficient from the weight allocation array;

[0019] Obtaining a second weight coefficient of the image transformation type corresponding to the x-th image transformation difference;

[0020] The first weight coefficient and the second weight coefficient are added to generate a weight coefficient corresponding to the x-th image transformation difference.

[0021] In a possible implementation manner of the first aspect, the step of obtaining an xth image transformation difference between the access control collected image data to be learned and the xth transformed access control collected image data includes:

[0022] After normalizing the access control image data to be learned and the x-th transformed access control image data, using scale-invariant feature transformation or accelerated robust features to extract corresponding image semantic features from the access control image data to be learned and the x-th transformed access control image data, the image semantic features including edges, corners, textures, and color distributions;

[0023] Matching the extracted image semantic features to determine corresponding feature points between the access control image data to be learned and the x-th transformed access control image data;

[0024] For the successfully matched feature points, calculate the position difference and descriptor difference of the successfully matched feature points in the access control collected image data to be learned and the x-th transformed access control collected image data, wherein the position difference is obtained by calculating the Euclidean distance or Mahalanobis distance between the feature points, and the descriptor difference is obtained by calculating the similarity between the two descriptors;

[0025] The position differences and descriptor differences of all successfully matched feature points are summarized to generate a target transformation gap index, which is a weighted average of the position differences and descriptor differences of all successfully matched feature points.

[0026] In a possible implementation of the first aspect, performing image transformation on the access control image data to be learned according to multiple image transformation strategies to generate transformed access control image data corresponding to each of the multiple image transformation strategies includes:

[0027] Randomly extracting multiple transformation amplitudes in a feature domain associated with the access control collected image data to be learned as the multiple image transformation strategies;

[0028] The access control collected image data to be learned is subjected to image transformation processing according to the multiple transformation amplitudes to generate transformed access control collected image data corresponding to the multiple transformation amplitudes.

[0029] In a possible implementation manner of the first aspect, the randomly extracting multiple transformation amplitudes in a feature domain associated with the access control image data to be learned includes:

[0030] Under the condition of equilibrium, the plurality of transformation amplitudes are randomly extracted from the feature domain.

[0031] In a possible implementation of the first aspect, using the reference access control verification decision model to perform an access control verification decision on the transformed access control collected image data, and generating image transformation learning errors corresponding to multiple transformed access control collected image data according to an error between the access control verification decision result and the prior access control identity authentication category, including:

[0032] Using the reference access control verification decision model, perform access control verification decision on the yth transformed access control collected image data, and generate a yth verification decision confidence vector, wherein the yth verification decision confidence vector represents the confidence of the yth transformed access control collected image data corresponding to multiple set identity verification categories, where y is a positive integer;

[0033] The image transformation learning error corresponding to the yth transformed access control collected image data is determined according to the yth verification decision confidence vector and the errors between the multiple set identity authentication categories and the prior access control identity authentication categories.

[0034] In a possible implementation of the first aspect, the method includes:

[0035] Obtain target access control image data, where the target access control image data is access control image data for which access control verification decision is to be made;

[0036] The target access control collected image data is loaded into a target access control verification decision model to generate an access control verification decision result of the target access control collected image data.

[0037] On the other hand, an embodiment of the present application also provides an access control management system based on intelligent image recognition, 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.

[0038] Based on the above aspects, by obtaining the access control image data to be learned with the prior access control identity authentication category, these data can be used to learn the anti-interference parameters of the reference access control verification decision model, thereby improving the stability and accuracy of the model. Secondly, multiple image transformation strategies are used to transform the access control image data to be learned, and multiple transformed access control image data are generated. This method can simulate the image changes that may occur in various actual scenes, so that the model can better adapt to these changes during the learning process, thereby improving the generalization ability of the model. Furthermore, by using the reference access control verification decision model to make access control verification decisions on the transformed access control image data, and generating image transformation learning errors based on the errors between the decision results and the prior access control identity authentication categories, the performance of the model under different image transformations can be accurately evaluated, providing a strong basis for subsequent model optimization. In addition, a set weight distribution array is introduced to generate weight coefficients corresponding to image transformation learning errors. Therefore, different image transformation learning errors can be reasonably weighted, thereby ensuring that the reference access control verification decision model can evenly consider the influence of various image transformations during the optimization process. Finally, the reference access control verification decision model is iteratively optimized according to the target learning error to generate a target access control verification decision model. The optimized target access control verification decision model can more accurately make access control verification decisions for any input target access control image data, thereby providing more efficient and reliable access control management services in practical applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic diagram of the execution flow of the access control management method based on intelligent image recognition provided in an embodiment of the present application.

[0040] Figure 2 It is a schematic diagram of the hardware architecture of the access control management system based on intelligent image recognition provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0042] Step S110, obtaining access control collected image data to be learned that carries a priori access control identity verification category, wherein the access control collected image data to be learned is used to perform anti-interference parameter learning on a reference access control verification decision model.

[0043] In this embodiment, the server can obtain a batch of access control image data to be learned from the enterprise's employee information management system or access control system. These access control image data to be learned contain employee facial images and detailed identity authentication category information associated with them, such as employee ID, position, department, access rights, etc. These identity authentication category information constitute the prior access control identity authentication category, which will be used to train and optimize the access control verification decision model.

[0044] Step S120, performing image transformation on the access control image data to be learned according to multiple image transformation strategies, generating transformed access control image data corresponding to each of the multiple image transformation strategies, wherein the prior access control identity authentication category carried by the transformed access control image data is inherited and generated from the access control image data to be learned before the image transformation.

[0045] In this embodiment, the server uses a variety of image transformation strategies, such as rotation, scaling, brightness adjustment, contrast change, etc., to process the access control image data to be learned. These transformations are intended to simulate various image changes that may occur in the real world, such as different lighting conditions, shooting angles, etc. The transformed access control image data still retains the prior access control identity authentication category information of the original image.

[0046] Step S130, using the reference access control verification decision model to perform access control verification decision on the transformed access control collected image data, and generating image transformation learning errors corresponding to multiple transformed access control collected image data according to the error between the access control verification decision result and the prior access control identity authentication category.

[0047] In this embodiment, the server inputs the transformed access control collected image data into the reference access control verification decision model, and the reference access control verification decision model attempts to determine its identity authentication category based on image features. Then, the server compares the judgment result of the reference access control verification decision model with the prior access control identity authentication category of the transformed access control collected image data, and calculates the image transformation learning error, which reflects the ability of the reference access control verification decision model to accurately identify the identity authentication category when facing the transformed access control collected image data.

[0048] Step S140, based on the set weight distribution array and the image transformation learning errors corresponding to the multiple transformed access control image data, a weight distribution calculation is performed on the multiple image transformation learning errors to generate a target learning error. The set weight distribution array is used to generate a weight coefficient corresponding to the image transformation learning error.

[0049] In this embodiment, the server weights the image transformation learning errors under different transformation strategies according to a predefined weight allocation array, which takes into account the complexity of the transformation and the challenge to the model recognition ability. For example, higher weights may be assigned to transformations that cause severe degradation of image quality (such as extreme brightness adjustments or large rotations). The weighted errors are synthesized into a target learning error to guide the optimization process of the model.

[0050] Step S150, iteratively optimizing the reference access control verification decision model according to the target learning error to generate a target access control verification decision model, wherein the target access control verification decision model is used to make access control verification decisions for any input target access control acquisition image data.

[0051] In this embodiment, the server uses the target learning error to iteratively optimize the reference access control verification decision model. By adjusting the parameters and structure of the model to minimize the target learning error, the model's identity verification accuracy under complex and changing conditions is improved. The optimized target access control verification decision model can more accurately identify the identity verification category of access control collected image data that has undergone various actual scene changes.

[0052] In this way, by considering richer prior access control identity authentication category information and complex image transformation strategies, the server is able to train a more robust and accurate access control authentication decision model.

[0053] Based on the above steps, by obtaining the access control image data to be learned that carries the prior access control identity authentication category, these data can be used to learn the anti-interference parameters of the reference access control verification decision model, thereby improving the stability and accuracy of the model. Secondly, multiple image transformation strategies are used to transform the access control image data to be learned, and multiple transformed access control image data are generated. This method can simulate the image changes that may occur in various actual scenes, so that the model can better adapt to these changes during the learning process, thereby improving the generalization ability of the model. Furthermore, by using the reference access control verification decision model to make access control verification decisions on the transformed access control image data, and generating image transformation learning errors based on the errors between the decision results and the prior access control identity authentication categories, the performance of the model under different image transformations can be accurately evaluated, providing a strong basis for subsequent model optimization. In addition, a set weight distribution array is introduced to generate weight coefficients corresponding to image transformation learning errors. As a result, different image transformation learning errors can be reasonably weighted, thereby ensuring that the reference access control verification decision model can evenly consider the influence of various image transformations during the optimization process. Finally, the reference access control verification decision model is iteratively optimized according to the target learning error to generate a target access control verification decision model. The optimized target access control verification decision model can more accurately make access control verification decisions for any input target access control image data, thereby providing more efficient and reliable access control management services in practical applications.

[0054] In a possible implementation, step S140 includes: performing weight coefficient multiplication calculation on the multiple image transformation learning errors and calculating an average value after summarizing them to generate an average learning error as the target learning error.

[0055] In this embodiment, the server first obtains the learning errors of multiple access control images processed by different image transformation strategies, which reflect the accuracy of the model in identifying images that have undergone specific transformations. Next, the server can calculate the weight coefficient product of these learning errors according to the preset weight coefficient.

[0056] For example, suppose the server calculates the learning errors after three image transformations (such as rotation, scaling, and brightness adjustment) as 0.1, 0.15, and 0.2, respectively. At the same time, based on the complexity of these transformations and the challenges to the model's recognition capabilities, the server sets weight coefficients of 0.5, 0.3, and 0.2 for these three transformations, respectively. Then, the server can perform the following weight coefficient product calculation:

[0057] Learning error for rotation transformation: 0.1 * 0.5 = 0.05

[0058] Learning error for scaling transformation: 0.15 * 0.3 = 0.045

[0059] Learning error for brightness adjustment: 0.2 * 0.2 = 0.04

[0060] After completing the weight coefficient product calculation, the server can summarize the weighted learning errors obtained. Continuing with the above example, the server can add together the three weighted learning errors of 0.05 (rotation transformation), 0.045 (scaling transformation), and 0.04 (brightness adjustment) to obtain the total weighted learning error.

[0061] Total weighted learning error = 0.05 + 0.045 + 0.04 = 0.135

[0062] After summarizing all weighted learning errors, the server will calculate their average to generate the average learning error, which will be used as the target learning error to guide the subsequent model optimization process. For example, since there are only three image transformations, the server can directly divide the total weighted learning error 0.135 by 3 (the number of transformations) to get the average learning error.

[0063] Average learning error (target learning error) = total weighted learning error / number of transformations = 0.135 / 3 = 0.045

[0064] In this way, the server successfully generates a target learning error by performing weight distribution calculation on multiple image transformation learning errors. The target learning error will be used in the subsequent optimization process of the access control verification decision model to improve the accuracy and robustness of the model when facing various image transformations.

[0065] In a possible implementation, step S140 includes:

[0066] Step S141, obtaining an xth image transformation difference between the access control collected image data to be learned and an xth transformed access control collected image data, where x is a positive integer.

[0067] In this embodiment, the server first obtains the original access control image data to be learned, which are reference images without any transformation. Then, the server can process the transformed access control image data obtained by different transformation strategies (such as rotation, scaling, color adjustment, etc.) one by one. For each transformed access control image data, the server calculates the difference between the transformed access control image data and the original image. This difference is called the image transformation difference, which may be quantified by pixel difference, structural similarity index (SSIM) or other image similarity evaluation methods.

[0068] For example, suppose the server has an original access control image A and a rotated access control image B. The server can use an image similarity evaluation algorithm to calculate the difference between image A and image B to obtain the image transformation gap between them.

[0069] Step S142: generating a weight coefficient corresponding to the x-th image transformation gap according to the set weight distribution array and the x-th image transformation gap, wherein the weight coefficient corresponding to the image transformation gap is negatively correlated with the image transformation gap.

[0070] In this embodiment, the server can determine the weight coefficient corresponding to each image transformation gap according to a preset weight distribution array, and the weight distribution array is set in advance according to the complexity of the transformation and the challenge to the model recognition ability. For each image transformation gap, the server will search or calculate a corresponding weight coefficient from the weight distribution array, and the weight coefficient is negatively correlated with the image transformation gap, which means that the larger the image transformation gap, the smaller the weight coefficient; conversely, the smaller the image transformation gap, the larger the weight coefficient.

[0071] Continuing with the above example, the server can determine a weight coefficient from the weight allocation array based on the complexity of the rotation transformation and its impact on the model. If the image difference caused by the rotation transformation is large, the server may assign a smaller weight coefficient; if the rotation angle is small, resulting in a smaller image difference, the server may assign a larger weight coefficient.

[0072] Step S143, performing weight distribution calculation on the multiple image transformation learning errors according to the weight coefficients corresponding to the multiple image transformation gaps and the image transformation learning errors corresponding to the multiple transformed access control collected image data, to generate the target learning error.

[0073] After obtaining the weight coefficient corresponding to each image transformation difference, the server can perform weight distribution calculation based on the image transformation learning error corresponding to each transformed access control image data. Specifically, the server can multiply each image transformation learning error by its corresponding weight coefficient, and then add all weighted learning errors to obtain the total weighted learning error. Finally, the server may normalize this total weighted learning error to generate the final target learning error.

[0074] Taking rotation, scaling and color adjustment as examples, the server can calculate the image transformation gap between the access control image after these three transformations and the original image, and determine their respective weight coefficients according to the weight allocation array. Then, the server can multiply the learning errors of these three transformations by their corresponding weight coefficients, and add the results to obtain the total weighted learning error. Finally, the target learning error is generated after normalization, which will be used to guide the subsequent model optimization process.

[0075] In a possible implementation, step S142 includes:

[0076] Step S1421, setting an initialized weight distribution array, which is a set of predefined numerical values ​​used to guide the generation of weight coefficients, wherein a linearly decreasing or nonlinearly decreasing weight distribution array is set so that as the image transformation difference increases, the weight coefficient gradually decreases.

[0077] In this embodiment, the server first sets an initialized weight distribution array, which is a set of predefined values ​​used to guide the generation of subsequent weight coefficients. The server can set a linearly decreasing or nonlinearly decreasing weight distribution array according to actual needs. This design is to ensure that as the image transformation gap increases, the generated weight coefficients can gradually decrease, thereby reflecting the negative impact of larger image transformation gaps on model recognition capabilities.

[0078] For example, the server may set a weight distribution array that decreases linearly from 1 to 0.1, to indicate that as the image transformation difference increases, the weight gradually decreases from a maximum value of 1 to 0.1.

[0079] Step S1422: Map the x-th image transformation difference to the initialized weight allocation array through interpolation or a lookup table, and search for the corresponding first weight coefficient from the weight allocation array.

[0080] After obtaining the x-th image transformation gap, the server can map this gap value to the initialized weight distribution array through interpolation or table lookup. The purpose of this is to find the first weight coefficient corresponding to this specific gap value from the weight distribution array.

[0081] Continuing with the above example, if the server calculates the x-th image transformation gap to be 0.5 (assuming that this gap value has been normalized and ranges between 0 and 1), the server may find the corresponding first weight coefficient in the weight allocation array through linear interpolation, such as 0.55.

[0082] Step S1423: Obtain a second weight coefficient of the image transformation type corresponding to the x-th image transformation difference.

[0083] In addition to considering the image transformation gap, the server may also consider the image transformation type that causes the gap. Different types of image transformations have different effects on the recognition ability of the model, so the server may assign a second weight coefficient to each transformation type.

[0084] For example, if the x-th image transformation difference is caused by a rotation transformation, the server may assign a corresponding second weight coefficient, such as 0.8, to the rotation transformation according to the influence of the rotation transformation on the model recognition.

[0085] Step S1424: Add the first weight coefficient and the second weight coefficient to generate a weight coefficient corresponding to the x-th image transformation difference.

[0086] Finally, the server may add the first weight coefficient found in step 2 and the second weight coefficient determined in step 3 to generate a final weight coefficient corresponding to the x-th image transformation difference.

[0087] Continuing with the above example, the server can add the first weight coefficient 0.55 and the second weight coefficient 0.8 to obtain a final weight coefficient of 1.35, which will be used in subsequent weight allocation calculations to reflect the comprehensive impact of the image transformation gap and transformation type on the model recognition capability.

[0088] In a possible implementation, step S141 includes:

[0089] Step S1411, after standardizing the access control image data to be learned and the x-th transformed access control image data, use scale-invariant feature transformation or accelerated robust features to extract corresponding image semantic features from the access control image data to be learned and the x-th transformed access control image data, wherein the image semantic features include edges, corners, textures, and color distribution.

[0090] In this embodiment, the server first obtains the access control image data to be learned and the xth transformed access control image data. In order to ensure that the images can be effectively compared, the server can perform standardization on the two images, including adjusting the image size, color correction, etc., so that they are on the same comparison basis.

[0091] After the normalization process is completed, the server can use the Scale Invariant Feature Transform (SIFT) or Speeded Up Robust Features (SURF) algorithm to extract image semantic features from the two images. These features may include edges, corners, textures, and color distribution, which can effectively describe the content and structure of the image.

[0092] For example, the server may extract a set of feature points from the access control image to be learned, and these feature points represent the significant areas in the image, such as the edge of the door, the position of the lock, etc. Similarly, for the xth transformed access control image, the server will also extract the corresponding feature points.

[0093] Step S1412, matching the extracted image semantic features to determine corresponding feature points between the access control image data to be learned and the x-th transformed access control image data.

[0094] After extracting the feature points, the server may match the two sets of feature points to determine the corresponding feature points between the access control acquisition image to be learned and the xth transformed access control acquisition image. The matching process may be performed based on the descriptor similarity between the feature points.

[0095] For example, the server may find that a feature point in the access control acquisition image to be learned is very similar to a feature point in the x-th transformed access control acquisition image in terms of descriptor, and thus regards them as successfully matched feature points.

[0096] Step S1413, for the successfully matched feature points, calculate the position difference and descriptor difference of the successfully matched feature points in the access control image data to be learned and the x-th transformed access control image data, wherein the position difference is obtained by calculating the Euclidean distance or Mahalanobis distance between the feature points, and the descriptor difference is obtained by calculating the similarity between the two descriptors.

[0097] For the successfully matched feature points, the server can further calculate their position differences and descriptor differences in the two images. The position difference can be obtained by calculating the Euclidean distance or Mahalanobis distance between the feature points, which reflects the degree of offset of the feature points in space.

[0098] The descriptor difference is obtained by calculating the similarity between two descriptors. For example, cosine similarity or Hamming distance can be used to measure the proximity between two descriptors. The difference value reflects the degree of change of the feature point in the image content.

[0099] Step S1414: Summarize the position differences and descriptor differences of all successfully matched feature points to generate a target transformation gap index, which is a weighted average of the position differences and descriptor differences of all successfully matched feature points.

[0100] Finally, the server can summarize the position differences and descriptor differences of all successfully matched feature points, which is usually achieved by calculating the weighted average of these differences to generate a target transformation gap indicator, which combines the changes in both position and content and can comprehensively reflect the degree of difference between the access control acquisition image to be learned and the xth transformed access control acquisition image.

[0101] For example, if the target transformation difference index has a large value, it means that the difference between the two images is significant, which may be due to a large position shift or content change caused by the image transformation. Conversely, if the index value is small, it means that the two images are close in both position and content.

[0102] In a possible implementation, step S120 includes:

[0103] Step S121 : randomly extracting a plurality of transformation amplitudes in a feature domain associated with the access control collected image data to be learned as the plurality of image transformation strategies.

[0104] Step S122: performing image transformation processing on the access control collected image data to be learned according to the multiple transformation amplitudes to generate transformed access control collected image data corresponding to the multiple transformation amplitudes.

[0105] In this embodiment, the server first analyzes the feature domain of the access control image data to be learned, which may include color, texture, shape, etc. Then, the server may randomly extract multiple transformation amplitudes in this feature domain as key parameters of multiple image transformation strategies to be applied next.

[0106] For example, if the feature domain includes the rotation angle of the image, the server may randomly extract several rotation angle values, such as 5 degrees, 10 degrees, 15 degrees, etc., as different transformation amplitudes. Similarly, if the feature domain also includes the scaling ratio of the image, the server will also randomly extract several scaling ratio values, such as 0.9 times, 1.1 times, etc.

[0107] After determining multiple transformation amplitudes, the server can apply these transformation amplitudes one by one to perform image transformation processing on the access control image data to be learned. This process may involve operations such as image rotation, scaling, translation, color adjustment, etc., depending on the type of transformation amplitude extracted.

[0108] Taking rotation as an example, if the server extracts a 5-degree rotation angle value, it will rotate the access control image data to be learned by 5 degrees to generate a new transformed access control image data. Similarly, if a 0.9-fold scaling value is extracted, the server will reduce the image to 90% of the original size to generate another transformed access control image data.

[0109] The server may repeat this process until corresponding transformed access control image data are generated for all extracted transformation amplitudes, and these transformed access control image data will be used for subsequent model training and evaluation to improve the model's recognition capability for access control images with different transformation amplitudes.

[0110] In this way, the server can generate a series of access control image data with different transformation amplitudes, thereby helping the model to better learn and adapt to image transformations that may occur in various practical scenarios.

[0111] In a possible implementation, step S121 includes: randomly extracting the multiple transformation amplitudes from the feature domain under a balance condition.

[0112] In this embodiment, in the step of randomly extracting multiple transformation amplitudes within the feature domain associated with the access control image data to be learned, the server can first determine a feature domain, which is closely related to the access control image data and may include image brightness, contrast, rotation angle, scaling ratio and other features.

[0113] Next, the server can operate under the condition of equilibrium, which means that when extracting the transform amplitude, it is necessary to ensure that the probability of each transform amplitude being extracted is equal, or to extract according to a predetermined ratio to avoid over- or under-sampling of some transform amplitudes.

[0114] For example, if the feature domain includes rotation angles, and the server wants to randomly extract rotation angles from the range of -30 degrees to 30 degrees as the transformation amplitude, then under the condition of equilibrium, the server can ensure that each angle in this range has an equal chance of being extracted. The server can program a random number generator that can uniformly generate random numbers in this range, thereby ensuring the balanced extraction of rotation angles.

[0115] For another example, if the feature domain also includes a scaling ratio, and the scaling range is from 0.8x to 1.2x, the server will also randomly extract scaling ratio values ​​​​evenly within this range, which means that whether it is 0.8x, 0.9x, 1.0x, 1.1x or 1.2x scaling ratio, their probability of being extracted is equal.

[0116] In actual operation, the server may use a random number generation function and combine it with a specific algorithm to ensure the balance of the extraction. In this way, the server can randomly and evenly extract multiple transformation amplitudes from the feature domain associated with the access control image data to be learned, providing diverse input parameters for subsequent image transformation processing.

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

[0118] Step S131, using the reference access control verification decision model to perform access control verification decision on the yth transformed access control image data, and generate the yth verification decision confidence vector, wherein the yth verification decision confidence vector represents the confidence of the yth transformed access control image data corresponding to multiple set identity authentication categories, and y is a positive integer.

[0119] Step S132, determining the image transformation learning error corresponding to the yth transformed access control collected image data according to the yth verification decision confidence vector and the errors between the multiple set identity authentication categories and the prior access control identity authentication categories.

[0120] In this embodiment, the server will first use the trained reference access control verification decision model to make an access control verification decision on the yth transformed access control collected image data. During this process, the reference access control verification decision model will analyze the features in the image, such as the position and shape of key points such as face contour, eyes, and nose, and then compare them with the identity authentication category stored in the model.

[0121] After the verification decision is completed, the reference access control verification decision model will generate a yth verification decision confidence vector. Each element in the vector represents the degree of match between the yth transformed access control collected image data and a certain set identity verification category, that is, the confidence. For example, if the value of an element in the vector is 0.8, it means that the model believes that the image matches the corresponding identity verification category 80%.

[0122] After obtaining the yth verification decision confidence vector, the server can further determine the image transformation learning error corresponding to the yth transformed access control collected image data based on this vector and the errors between multiple set identity authentication categories and the prior access control identity authentication categories.

[0123] Specifically, the server can first find the confidence value corresponding to the prior access control identity authentication category in the verification decision confidence vector. Then, the server can calculate the difference between this confidence value and 1 (i.e., complete match). This difference reflects the degree of mismatch between the transformed access control collected image data and the prior identity authentication category, which is part of the image transformation learning error.

[0124] In addition, the server can also consider the confidence values ​​of other set identity authentication categories. If the confidence values ​​of the transformed access control collected image data and other identity authentication categories are too high, it also means that there are problems with the recognition ability of the model, which will also increase the image transformation learning error.

[0125] Taking the above factors into consideration, the server can calculate a specific image transformation learning error value. The larger the image transformation learning error value, the greater the difference between the transformed access control collected image data and the prior access control identity authentication category. The reference access control verification decision model needs to be further optimized to adapt to this image transformation.

[0126] For example, if the prior access control identity authentication category is "Employee A", but the confidence of "Employee A" in the verification decision confidence vector is only 0.6, while the confidence of "Employee B" is as high as 0.3, then the server will calculate a relatively large image transformation learning error value to guide subsequent model optimization work.

[0127] In one possible implementation, the method includes:

[0128] Step S160, obtaining target access control collected image data, wherein the target access control collected image data is access control collected image data for which access control verification decision is to be made.

[0129] Step S170: Load the target access control collected image data into a target access control verification decision model to generate an access control verification decision result of the target access control collected image data.

[0130] In this embodiment, the server first obtains the target access control image data from the access control system. These data are usually captured by a camera installed at the access control channel and are used to make access control verification decisions. These image data may contain facial features, body postures, and other information that can be used for identity authentication.

[0131] For example, when an employee tries to enter an area through a door, the camera of the access control system will capture the image of the employee and send the image as the target access capture image data to the server.

[0132] After acquiring the target access control image data, the server can load this data into a pre-trained target access control verification decision model, which can be a deep learning model, such as a convolutional neural network (CNN), which has been trained to identify features in the access control images and make verification decisions based on these features.

[0133] For example, the server can input the captured employee image data into the model. The model will automatically extract key features in the image, such as facial contours, eye positions, mouth shape, etc., and compare them with the known identity information stored internally.

[0134] By loading the target access control captured image data into the model and after internal processing and calculation by the model, the server can generate an access control verification decision result, which can be a binary pass / fail decision or a probability value or confidence score indicating the degree of match between the image data and a known identity.

[0135] Continuing with the above example, if the model determines that the employee's image data is highly matched with a certain employee identity information stored internally, the server can generate a "pass" verification decision result to allow the employee to pass through the door. Conversely, if the match is low or does not match at all, the server can generate a "fail" verification decision result to deny the employee from passing through the door.

[0136] In this way, the server can use the target access control verification decision model to make fast and accurate verification decisions on the target access control collected image data, thereby ensuring that only authorized personnel can pass through the access control system.

[0137] Figure 2 The hardware structure of the access control management system 100 based on intelligent image recognition for implementing the access control management method based on intelligent image recognition provided in the embodiment of the present application is shown as follows: Figure 2 As shown, the access control management system 100 based on intelligent image recognition may include a processor 110 , a machine-readable storage medium 120 , a bus 130 , and a communication unit 140 .

[0138] In one possible design, the access control management system 100 based on intelligent image recognition can be a single server or a server group. The server group can be centralized or distributed (for example, the access control management system 100 based on intelligent image recognition can be a distributed system). In some embodiments, the access control management system 100 based on intelligent image recognition can be local or remote. For example, the access control management system 100 based on intelligent image recognition can access information and / or data stored in a machine-readable storage medium 120 via a network. For another example, the access control management system 100 based on intelligent image recognition can be directly connected to the machine-readable storage medium 120 to access the stored information and / or data. In some embodiments, the access control management system 100 based on intelligent image recognition can be implemented on an access control management system based on intelligent image recognition. As an example only, the access control management system based on intelligent image recognition 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.

[0139] 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 access control management system 100 based on intelligent image recognition uses to execute or use to complete the exemplary method described in this application.

[0140] 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 access control management method based on intelligent image recognition 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.

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

[0142] 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 access control management method based on intelligent image recognition as described above is implemented.

[0143] 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. A door access management method based on intelligent image recognition, characterized in that: The method comprises: Acquire access control collected image data to be learned that carries a priori access control identity authentication category, wherein the access control collected image data to be learned is used to learn anti-interference parameters for a reference access control verification decision model; Performing image transformation on the access control image data to be learned according to a plurality of image transformation strategies, generating transformed access control image data corresponding to each of the plurality of image transformation strategies, wherein the prior access control identity authentication category carried by the transformed access control image data is inherited and generated from the access control image data to be learned before the image transformation; Using the reference access control verification decision model to make an access control verification decision on the transformed access control collected image data, and generating image transformation learning errors corresponding to a plurality of transformed access control collected image data according to the error between the access control verification decision result and the prior access control identity authentication category; According to a set weight distribution array and the image transformation learning errors corresponding to each of the plurality of transformed access control collected image data, a weight distribution calculation is performed on the plurality of image transformation learning errors to generate a target learning error, wherein the set weight distribution array is used to generate a weight coefficient corresponding to the image transformation learning error; The reference access control verification decision model is iteratively optimized according to the target learning error to generate a target access control verification decision model, and the target access control verification decision model is used to make an access control verification decision for any input target access control acquisition image data.

2. The access control management method based on intelligent image recognition according to claim 1 is characterized in that: The step of performing weight distribution calculation on a plurality of image transformation learning errors to generate a target learning error includes: The weight coefficients of the multiple image transformation learning errors are multiplied and summarized to calculate an average value, and an average learning error is generated as the target learning error.

3. The access control management method based on intelligent image recognition according to claim 2 is characterized in that: The method of performing weight distribution calculation on the plurality of image transformation learning errors based on the set weight distribution array and the image transformation learning errors corresponding to the plurality of transformed access control collected image data to generate a target learning error includes: Obtaining an xth image transformation difference between the access control collected image data to be learned and the xth transformed access control collected image data, where x is a positive integer; Generating a weight coefficient corresponding to the x-th image transformation gap according to the set weight distribution array and the x-th image transformation gap, wherein the weight coefficient corresponding to the image transformation gap is negatively correlated with the image transformation gap; According to the weight coefficients corresponding to the multiple image transformation gaps and the image transformation learning errors corresponding to the multiple transformed access control acquisition image data, the multiple image transformation learning errors are weighted and calculated to generate the target learning error.

4. The access control management method based on intelligent image recognition according to claim 3 is characterized in that: The step of generating a weight coefficient corresponding to the x-th image transformation difference according to the set weight distribution array and the x-th image transformation difference comprises: Setting an initialized weight distribution array, which is a set of predefined values ​​for guiding the generation of weight coefficients, wherein a linearly decreasing or nonlinearly decreasing weight distribution array is set so that as the image transformation difference increases, the weight coefficients gradually decrease; Mapping the x-th image transformation gap to the initialized weight allocation array by interpolation or a lookup table, and searching the corresponding first weight coefficient from the weight allocation array; Obtaining a second weight coefficient of the image transformation type corresponding to the x-th image transformation difference; The first weight coefficient and the second weight coefficient are added to generate a weight coefficient corresponding to the x-th image transformation difference.

5. The access control management method based on intelligent image recognition according to claim 3 is characterized in that: The step of obtaining an xth image transformation difference between the access control collected image data to be learned and the xth transformed access control collected image data comprises: After normalizing the access control image data to be learned and the x-th transformed access control image data, extracting corresponding image semantic features from the access control image data to be learned and the x-th transformed access control image data using scale-invariant feature transformation or accelerated robust features, wherein the image semantic features include edges, corners, textures, and color distributions; Matching the extracted image semantic features to determine corresponding feature points between the access control image data to be learned and the x-th transformed access control image data; For the successfully matched feature points, calculate the position difference and descriptor difference of the successfully matched feature points in the access control collected image data to be learned and the x-th transformed access control collected image data, wherein the position difference is obtained by calculating the Euclidean distance or Mahalanobis distance between the feature points, and the descriptor difference is obtained by calculating the similarity between the two descriptors; The position differences and descriptor differences of all successfully matched feature points are summarized to generate a target transformation gap index, which is a weighted average of the position differences and descriptor differences of all successfully matched feature points.

6. The access control management method based on intelligent image recognition according to any one of claims 1 to 5, characterized in that: The step of performing image transformation on the access control image data to be learned according to a plurality of image transformation strategies to generate transformed access control image data corresponding to each of the plurality of image transformation strategies includes: Randomly extracting multiple transformation amplitudes in a feature domain associated with the access control collected image data to be learned as the multiple image transformation strategies; The access control collected image data to be learned is subjected to image transformation processing according to the multiple transformation amplitudes to generate transformed access control collected image data corresponding to the multiple transformation amplitudes.

7. The access control management method based on intelligent image recognition according to claim 6 is characterized in that: The randomly extracting multiple transformation amplitudes in the feature domain associated with the access control image data to be learned includes: Under the condition of equilibrium, the plurality of transformation amplitudes are randomly extracted from the feature domain.

8. The access control management method based on intelligent image recognition according to any one of claims 1 to 5, characterized in that: The method of using the reference access control verification decision model to make an access control verification decision on the transformed access control collected image data, and generating image transformation learning errors corresponding to a plurality of transformed access control collected image data according to the error between the access control verification decision result and the prior access control identity authentication category, comprises: Using the reference access control verification decision model, perform access control verification decision on the yth transformed access control collected image data, and generate a yth verification decision confidence vector, wherein the yth verification decision confidence vector represents the confidence of the yth transformed access control collected image data corresponding to multiple set identity verification categories, where y is a positive integer; The image transformation learning error corresponding to the yth transformed access control collected image data is determined according to the yth verification decision confidence vector and the errors between the multiple set identity authentication categories and the prior access control identity authentication categories.

9. The access control management method based on intelligent image recognition according to any one of claims 1 to 5, characterized in that: The method comprises: Obtain target access control image data, where the target access control image data is access control image data for which access control verification decision is to be made; The target access control collected image data is loaded into a target access control verification decision model to generate an access control verification decision result of the target access control collected image data.

10. An access control management system based on intelligent image recognition, characterized in that: The access control management system based on intelligent image recognition 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 access control management method based on intelligent image recognition as described in any one of claims 1 to 9.