Face recognition system and method for access control system
By preprocessing the face recognition system and deep learning neural network detection, the problem of inaccurate face recognition in complex environments is solved, fast and accurate identity verification is achieved, and convenience and security are improved.
Patent Information
- Application Number
- CN202410883151.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology makes it difficult for the face recognition system to perform accurate recognition in complex environments, such as when the light is dark at night or when multiple people are being recognized.
Facial images are collected in real time through cameras, preprocessed including grayscale, denoising and image enhancement, face candidate areas are extracted, deep learning neural networks are used for detection and matching, and similarity thresholds are set for identity verification.
Achieve fast and accurate identity verification in complex environments, improve convenience and security, and reduce management and maintenance costs.
Smart Images

Figure CN118711237A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of face recognition, and in particular to a face recognition system and method for an access control system. Background Art
[0002] The community access control system is a security system used to control the access rights of people entering the community. Traditional access control systems usually rely on physical keys, passwords, magnetic cards or fingerprints. However, these methods have certain limitations. For example, physical keys and magnetic cards are easy to be lost or copied, passwords are easy to be stolen or forgotten, and fingerprint recognition is not accurate or convenient in some cases.
[0003] In recent years, with the rapid development of artificial intelligence and computer vision technology, face recognition technology has gradually become an important application in access control systems. Face recognition has the advantages of non-contact, high convenience and strong security. It identifies and verifies personal identity by analyzing and comparing facial features, such as facial contours, the position of eyes, nose and mouth, etc. However, in special circumstances, such as at night when the light is dim, or when multiple people are identified, face recognition has great errors.
[0004] For example, the Chinese patent with the authorization announcement number CN113256864B discloses a system and method for sensing access to a gate based on face recognition, including: at least one gate channel with two-way passage; a blocking part arranged in the gate channel; a blocking part controller, which controls the action of the blocking part; a face recognition terminal, which is arranged on both sides of the gate channel, and has a front camera and a rear camera; for each gate channel, the front camera of the first terminal and the rear camera of the second terminal are both facing the gate channel, and the user's facial image is collected at the same time, without the user turning his head or body sideways; the face recognition terminal is also provided with a recognition part, which is arranged to perform face recognition based on the collected user's facial image, and send a door opening control signal to the blocking part controller according to the result of the recognition verification. The invention can use a small number of face recognition devices to complete the work that could only be completed by multiple devices before, thereby reducing costs; users can pass normally without turning their faces sideways, improving user experience and improving traffic efficiency.
[0005] For example, a Chinese patent with authorization announcement number CN111428542B discloses a face recognition method, which collects two face images in chronological order; selects a part of the face as the origin, and establishes a coordinate system for each of the two images; selects at least one part of the face in each of the two symmetrical quadrants of the coordinate system, and determines whether the position of the part in one quadrant in the second image relative to its position in the first image and the position of the corresponding part in the other quadrant in the second image relative to its position in the first image are diffused or converged at the same time. If they are diffused or converged at the same time, the face is a simulated face in the picture, otherwise, the face is a real face. The invention effectively determines whether a face is simulated in the picture without adding equipment.
[0006] The defects of the above patent are: in complex environments, such as at night when the light is dim, or when multiple people are being identified, accurate identification cannot be performed. Summary of the invention
[0007] In view of the shortcomings of the prior art, the present invention proposes a face recognition system and method for an access control system, which collects facial images of people entering the access control area in real time through a camera, pre-processes the collected facial images of people, including graying, denoising and image enhancement operations, performs preliminary detection on the face area, extracts face candidate areas, detects and matches faces in the face candidate areas, obtains face images in the face candidate areas, extracts features of the face images, matches the extracted face feature vectors with feature vectors in a database, sets a similarity threshold, and determines whether the match is successful. If the similarity is greater than or equal to the similarity threshold, the match is successful and entry is allowed. If the similarity is less than the similarity threshold, entry is denied.
[0008] To achieve the above object, the present invention provides the following technical solutions:
[0009] A face recognition method for an access control system comprises the following specific steps:
[0010] The facial images of people entering the access control area are collected in real time through the camera;
[0011] Preprocessing the collected facial images of people, including grayscale conversion, denoising and image enhancement operations;
[0012] Perform preliminary detection on the face area and extract the candidate face area;
[0013] Detect and match the faces in the face candidate area, obtain the face image in the face candidate area, and extract the features of the face image;
[0014] The extracted facial feature vector is matched with the feature vector in the database, and a similarity threshold is set to determine whether it passes. If the similarity is greater than or equal to the similarity threshold, the match is successful and entry is allowed. If the similarity is less than the similarity threshold, entry is denied.
[0015] Specifically, the extracting of the candidate face region includes:
[0016] The facial edge of the person in the preprocessed facial image is detected. The specific formula is: E(x, y) = Canny(I gy (x,y)),
[0017] Among them, E(x,y) represents the binary image of the face after edge detection, I gy (x,y) represents the normalized facial image after preprocessing, and Canny() represents the Canny edge detection algorithm;
[0018] A custom region growing model is established to extract the candidate face region from the binary face image after edge detection. Starting from any edge point, it is expanded to the surrounding areas until the constraints are met. The specific formula of the custom region growing model is:
[0019] R i ={[x,y]|E(x,y)=1∧|I gy (x,y)-I gy (x0,y0)| <T},
[0020] Among them, R i represents the connected region after region growth, i.e., the candidate face region, (x0, y0) represents the seed point of region growth, and I gy (x0, y0) represents the normalized grayscale value of the seed point of region growing, T represents the grayscale value, |.| represents the absolute value sign, ∧ represents and, [x, y] represents the set of pixels where E(x, y) = 1, that is, the set of points on the edge.
[0021] Specifically, the detecting and matching of faces in the face candidate region to obtain a face image in the face candidate region includes:
[0022] Detect and match faces in the face candidate area using a deep learning neural network to obtain a face image in the face candidate area;
[0023] The deep learning neural network is a multi-scale convolutional neural network (MS-CNN).
[0024] Specifically, the feature extraction of the face image includes:
[0025] The filter is used to extract the facial feature vector components in the face image. The specific formula is:
[0026]
[0027] Among them, G θ,λ (x, y) represents the filter response at (x, y), that is, the facial feature vector component in the face image, x' and y' represent the coordinate positions after rotation, x' = x × cosθ + y × sinθ, y' = -x × sinθ + y × cosθ, θ represents the direction of the filter, λ represents the wavelength of the filter, γ represents the spatial aspect ratio, κ represents the standard deviation of the Gaussian envelope, and ψ represents the phase shift;
[0028] Construct the facial feature vector in the face image. The specific formula is:
[0029]
[0030] Where F represents the facial feature vector in the face image, represents the filter response at different scales and directions, 1≤j≤n, n represents the number of filters;
[0031] The face feature vector F in the face image is subjected to dimensionality reduction processing to obtain the face feature vector F1 in the face image after dimensionality reduction.
[0032] Specifically, the extracted facial feature vector is matched with the feature vector in the database, a similarity threshold is set, and whether it passes the determination includes:
[0033] Set the feature vector in the database to F2, match the face feature vector F1 with the feature vector F2 in the database, and calculate the similarity between the face feature vector F1 and the feature vector F2 in the database. The specific formula is:
[0034]
[0035] Wherein, Sim(F1, F2) represents the similarity between the face feature vector F1 and the feature vector F2 in the database, and ||·|| represents the vector modulus function;
[0036] The similarity threshold is set to S. If Sim(F1, F2) ≥ S, the match is successful and the user is allowed to enter the cell. If Sim(F1, F2) < S, the match fails and the user is denied entry to the cell.
[0037] A face recognition system for an access control system, which is used to implement a face recognition method for an access control system, comprising: a data acquisition module, a preprocessing module, a candidate area selection module, a feature extraction module and a matching module;
[0038] The data acquisition module is used to collect facial images of people entering the access control area in real time through a camera;
[0039] The preprocessing module is used to preprocess the collected facial images of the person, including grayscale, denoising and image enhancement operations;
[0040] The candidate region selection module is used to perform preliminary detection on the face region and extract the candidate face region;
[0041] The feature extraction module is used to detect and match faces in the face candidate area, obtain face images in the face candidate area, and extract features of the face images;
[0042] The matching module is used to match the extracted facial feature vector with the feature vector in the database, set a similarity threshold, and determine whether it passes. If the similarity is greater than or equal to the similarity threshold, the match is successful and entry is allowed. If the similarity is less than the similarity threshold, entry is denied. Specifically,
[0043] Specifically, the feature extraction module includes: a component extraction unit and a feature vector construction unit;
[0044] The component extraction unit is used to extract the facial feature vector component in the facial image using a filter;
[0045] The feature vector construction unit is used to construct a face feature vector in a face image.
[0046] An electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of a face recognition method for an access control system when executing the computer program.
[0047] A computer-readable storage medium stores computer instructions, which, when executed, execute steps of a face recognition method for an access control system.
[0048] Compared with the prior art, the present invention has the following beneficial effects:
[0049] 1. The present invention proposes a face recognition method for an access control system. Compared with traditional physical keys and passwords, face recognition technology has higher security, while greatly improving the convenience of use and reducing management and maintenance costs.
[0050] 2. The present invention proposes a face recognition method for an access control system. The face recognition system can quickly and accurately complete identity authentication, reduce user waiting time, and improve user experience.
[0051] 3. The present invention proposes a face recognition method for an access control system, which can perform accurate face recognition in complex environments, such as at night when the light is dim, or when multiple people are being recognized, to prevent users from being unable to enter the community. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A flow chart of a face recognition method for a door access control system provided by the present invention;
[0053] Figure 2 A facial recognition system architecture diagram for a door access control system provided by the present invention;
[0054] Figure 3 A schematic diagram of an electronic device provided by the present invention;
[0055] Figure 4 A schematic diagram of the computer-readable storage medium structure provided by the present invention. DETAILED DESCRIPTION
[0056] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, in the description of the present invention, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside" and the like indicate the orientation or position relationship based on the orientation or position relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "No. 1", "No. 2" and "No. 3" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. The present invention is further explained below in conjunction with specific embodiments.
[0057] Example 1
[0058] See also Figure 1 , an embodiment of the present invention provides: a face recognition method for an access control system, comprising the following specific steps:
[0059] Step S1: Collect facial images of people entering the access control area in real time through a camera;
[0060] The camera resolution should be no less than 1080p to ensure clear capture of facial features;
[0061] Step S2: preprocessing the collected facial images of the persons, including grayscale conversion, denoising and image enhancement operations;
[0062] Set the collected facial image of the person to be I orig (x,y), for person face image I orig(x, y) is used for image enhancement. An enhancement algorithm (such as CLAHE (Contrast Limited Adaptive Histogram Equalization)) is used to process the input low-light image. The specific formula is:
[0063]
[0064] Among them, I enh (x, y) represents the facial image of the person after image enhancement, min(I orig (x,y)) represents the minimum pixel value of the person's face image, max(I orig (x,y)) represents the maximum pixel value of the person’s facial image;
[0065] The specific formula for graying the facial image after image enhancement is:
[0066] I gray (x,y)=0.299×I R (x,y)+0.587×I G (x,y)+0.114×I B (x,y), where I R (x,y),I G (x,y)
[0067] and I B (x, y) represent the red, green, and blue components of the pixel (x, y) in the enhanced facial image of the person, respectively. gray (x, y) represents the facial image of the person after grayscale and image enhancement;
[0068] Denoising is performed on the facial image of the person after grayscale and image enhancement. The specific formula is:
[0069]
[0070] Among them, I qz (x, y) represents the preprocessed facial image of the person, σ represents the standard deviation of the Gaussian function, x, y represent the horizontal and vertical positions in the facial image of the person, and exp() represents the exponential function;
[0071] Step S3: Perform preliminary detection on the face area and extract candidate face areas;
[0072] The specific steps of step S3 are:
[0073] Step S301: Detect the facial edge of the person in the preprocessed facial image. The specific formula is: E(x, y) = Canny(I gy(x,y)),
[0074] Where E(x,y) represents the binary image of the face after edge detection, E(x,y)=1 means that the pixel (x,y) is on the edge, E(x,y)=0 means that the pixel (x,y) is not on the edge, I gy (x, y) represents the normalized facial image after preprocessing, and the input facial image is the result of normalization. Canny() represents the Canny edge detection algorithm, which detects edges based on the gradient strength of the image.
[0075] Step S302: Establish a custom region growing model, extract the face candidate region based on the face binary image after edge detection, start from any edge point, and expand to the surrounding areas until the constraint conditions are met. The specific formula of the custom region growing model is:
[0076] R i ={[x,y]|E(x,y)=1^|I gy (x,y)-I gy (x0,y0)| <T},
[0077] Among them, R i represents the connected region after region growth, i.e., the candidate face region. (x0, y0) represents the seed point for region growth, usually a point in the edge detection result is selected. gy (x0, y0) represents the normalized grayscale value of the seed point of region growing, T represents the grayscale value, which controls the expansion range of region growing, |.| represents the absolute value sign, ∧ represents and, [x, y] represents the set of pixels where E(x, y) = 1, that is, the set of points on the edge.
[0078] The constraints are: |I gy (x,y)-I gy (x0,y0)| <T;
[0079] Step S4: Detect and match the faces in the face candidate area to obtain a face image in the face candidate area, and extract features of the face image;
[0080] The specific steps of step S4 are:
[0081] Step S401: Detect and match faces in the face candidate area using a deep learning neural network to obtain a face image in the face candidate area;
[0082] The deep learning neural network is a multi-scale convolutional neural network (MS-CNN);
[0083] Step S402: extracting facial feature vector components from the facial image using a filter, the specific formula is:
[0084]
[0085] Among them, G θ,λ (x,y) represents the filter response at (x,y), that is, the facial feature vector component in the face image, x' and y' represent the coordinate positions after rotation, x'=x×cosθ+y×sinθ, y'=-x×sinθ+y×cosθ, θ represents the direction of the filter, that is, the angle of the filter, λ represents the wavelength of the filter, γ represents the spatial aspect ratio, controls the aspect ratio of the elliptical Gaussian envelope, κ represents the standard deviation of the Gaussian envelope, controls the scale of the filter, and ψ represents the phase offset;
[0086] Step S403: constructing a facial feature vector in the facial image, the specific formula is:
[0087]
[0088] Where F represents the facial feature vector in the face image, represents the filter response at different scales and directions, 1≤j≤n, n represents the number of filters;
[0089] Step S404: Perform dimensionality reduction processing on the facial feature vector F in the facial image to obtain the facial feature vector F1 in the facial image after dimensionality reduction.
[0090] F1 = PCA (F), PCA stands for principal component analysis, which is used to reduce the dimension of the face feature vector;
[0091] Step S5: Match the extracted facial feature vector with the feature vector in the database, set a similarity threshold, if the similarity is greater than or equal to the similarity threshold, the match is successful and entry is allowed; if the similarity is less than the similarity threshold, entry is denied.
[0092] The specific steps of step S5 are:
[0093] Step S501: Set the feature vector in the database as F2, match the face feature vector F1 with the feature vector F2 in the database, and calculate the similarity between the face feature vector F1 and the feature vector F2 in the database. The specific formula is:
[0094]
[0095] Wherein, Sim(F1, F2) represents the similarity between the face feature vector F1 and the feature vector F2 in the database, and ||·|| represents the vector modulus function;
[0096] Step S502: Set the similarity threshold to S. If Sim(F1, F2)≥S, the match is successful and the user is allowed to enter the cell. If Sim(F1, F2)<S, the match fails and the user is denied entry to the cell.
[0097] Example 2
[0098] See also Figure 2 , another embodiment provided by the present invention: a general software protocol interface generation system based on AUTOSAR modeling, comprising: a data acquisition module, a preprocessing module, a candidate region selection module, a feature extraction module and a matching module;
[0099] The data acquisition module is used to collect facial images of people entering the access control area in real time through a camera;
[0100] The preprocessing module is used to preprocess the collected facial images of the person, including grayscale, denoising and image enhancement operations;
[0101] The candidate region selection module is used to perform preliminary detection on the face region and extract the candidate face region;
[0102] The feature extraction module is used to detect and match faces in the face candidate area, obtain face images in the face candidate area, and extract features of the face images;
[0103] The matching module is used to match the extracted facial feature vector with the feature vector in the database, set a similarity threshold, and determine whether it passes. If the similarity is greater than or equal to the similarity threshold, the match is successful and entry is allowed. If the similarity is less than the similarity threshold, entry is denied.
[0104] The feature extraction module includes: a component extraction unit and a feature vector construction unit;
[0105] The component extraction unit is used to extract the facial feature vector component in the facial image using a filter;
[0106] The feature vector construction unit is used to construct a face feature vector in a face image.
[0107] Example 3
[0108] Figure 3 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 3As shown, according to another aspect of the present application, an electronic device 500 is also provided. The electronic device 500 may include one or more processors and one or more memories. The memories store computer readable codes, and when the computer readable codes are run by one or more processors, a face recognition method for an access control system may be executed.
[0109] The method or system according to the embodiment of the present application can also be used by Figure 3 The electronic device architecture shown in FIG. Figure 3 As shown, the electronic device 500 may include a bus 501, one or more CPUs 502, ROM 503, RAM 504, a communication port 505 connected to a network, an input / output component 506, a hard disk 507, and the like. The storage device in the electronic device 500, such as ROM 503 or hard disk 507, may store a face recognition method for an access control system provided in the present application. A face recognition method for an access control system may, for example, include: collecting facial images of people entering the access control area in real time through a camera, preprocessing the collected facial images of people, including graying, denoising, and image enhancement operations, performing preliminary detection of the face area, and extracting candidate face areas, detecting and matching faces in the candidate face areas, obtaining face images in the candidate face areas, extracting features of the face images, matching the extracted face feature vectors with feature vectors in a database, setting a similarity threshold, and judging whether it passes. If the similarity is greater than or equal to the similarity threshold, the match is successful and entry is allowed. If the similarity is less than the similarity threshold, entry is denied. Further, the electronic device 500 may also include a user interface 508. Of course, Figure 3 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Figure 3 One or more components of an electronic device are shown.
[0110] Example 4
[0111] Figure 4 Schematic diagram of a computer-readable storage medium structure provided by an embodiment of the present application. Figure 4 As shown, a computer-readable storage medium 600 according to an embodiment of the present application is shown. Computer-readable instructions are stored on the computer-readable storage medium 600. When the computer-readable instructions are executed by the processor, a face recognition method for an access control system according to an embodiment of the present application described with reference to the above figures can be executed. The storage medium 600 includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.
[0112] It should be understood that the methods, apparatuses, and devices of the present application can be implemented in many ways. For example, the methods, apparatuses, and devices of the present application can be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is only for illustration, and the steps of the method of the present application are not limited to the order specifically described above unless otherwise specified. In addition, in some embodiments, the present application can also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present application. Therefore, the present application also covers a recording medium storing a program for executing the method according to the present application.
[0113] In addition, the parts of the above-mentioned technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive redundancy.
[0114] The specific implementation modes as described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation mode of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A face recognition method for access control system, characterized in that: include: The facial images of people entering the access control area are collected in real time through the camera; Preprocessing the collected facial images of people, including grayscale conversion, denoising and image enhancement operations; Perform preliminary detection on the face area and extract the candidate face area; Detect and match the faces in the face candidate area, obtain the face image in the face candidate area, and extract the features of the face image; The extracted facial feature vector is matched with the feature vector in the database, and a similarity threshold is set to determine whether it passes. If the similarity is greater than or equal to the similarity threshold, the match is successful and entry is allowed. If the similarity is less than the similarity threshold, entry is denied.
2. A face recognition method for access control system as claimed in claim 1, characterized in that: The extracting of the candidate face region comprises: The facial edge of the person in the preprocessed facial image is detected. The specific formula is: E(x, y) = Canny(I gy (x,y)), Among them, E(x,y) represents the binary image of the face after edge detection, I gy (x,y) represents the normalized facial image after preprocessing, and Canny() represents the Canny edge detection algorithm; A custom region growing model is established to extract the candidate face region from the binary face image after edge detection. Starting from any edge point, it is expanded to the surrounding areas until the constraints are met. The specific formula of the custom region growing model is: R i ={[x,y]|E(x,y)=1^|I gy (x,y)-I gy (x0,y0)|<T}, Among them, R i represents the connected region after region growth, i.e., the candidate face region, (x0, y0) represents the seed point of region growth, and I gy (x0, y0) represents the normalized grayscale value of the seed point of region growing, T represents the grayscale value, |.| represents the absolute value sign, ∧ represents and, [x, y] represents the set of pixels where E(x, y) = 1, that is, the set of points on the edge.
3. A face recognition method for access control system as claimed in claim 1, characterized in that: The detecting and matching of faces in the face candidate region to obtain a face image in the face candidate region includes: Detect and match faces in the face candidate area using a deep learning neural network to obtain a face image in the face candidate area; The deep learning neural network is a multi-scale convolutional neural network (MS-CNN).
4. A face recognition method for access control system as claimed in claim 1, characterized in that: The feature extraction of the face image comprises: The filter is used to extract the facial feature vector components in the face image. The specific formula is: Among them, G θ,λ (x, y) represents the filter response at (x, y), that is, the facial feature vector component in the face image, x' and y' represent the coordinate positions after rotation, x' = x × cosθ + y × sinθ, y' = -x × sinθ + y × cosθ, θ represents the direction of the filter, λ represents the wavelength of the filter, γ represents the spatial aspect ratio, κ represents the standard deviation of the Gaussian envelope, and ψ represents the phase shift; Construct the facial feature vector in the face image. The specific formula is: Where F represents the facial feature vector in the face image, represents the filter response at different scales and directions, 1≤j≤n, n represents the number of filters; The face feature vector F in the face image is subjected to dimensionality reduction processing to obtain the face feature vector F1 in the face image after dimensionality reduction.
5. A face recognition method for access control system as claimed in claim 1, characterized in that: The extracted facial feature vector is matched with the feature vector in the database, a similarity threshold is set, and whether it passes the test includes: Set the feature vector in the database to F2, match the face feature vector F1 with the feature vector F2 in the database, and calculate the similarity between the face feature vector F1 and the feature vector F2 in the database. The specific formula is: Wherein, Sim(F1, F2) represents the similarity between the face feature vector F1 and the feature vector F2 in the database, and ||·|| represents the vector modulus function; The similarity threshold is set to S. If Sim(F1, F2) ≥ S, the match is successful and entry into the cell is allowed. If Sim(F1, F2) < S, the match fails and entry into the cell is denied.
6. A face recognition system for an access control system, which is used to implement a face recognition method for an access control system according to any one of claims 1 to 5, characterized in that: include: Data acquisition module, preprocessing module, candidate region selection module, feature extraction module and matching module; The data acquisition module is used to collect facial images of people entering the access control area in real time through a camera; The preprocessing module is used to preprocess the collected facial images of the person, including grayscale, denoising and image enhancement operations; The candidate region selection module is used to perform preliminary detection on the face region and extract the candidate face region; The feature extraction module is used to detect and match faces in the face candidate area, obtain face images in the face candidate area, and extract features of the face images; The matching module is used to match the extracted facial feature vector with the feature vector in the database, set a similarity threshold, and determine whether it passes. If the similarity is greater than or equal to the similarity threshold, the match is successful and entry is allowed. If the similarity is less than the similarity threshold, entry is denied.
7. A face recognition system for access control system as claimed in claim 6, characterized in that: The feature extraction module includes: a component extraction unit and a feature vector construction unit; The component extraction unit is used to extract the facial feature vector component in the facial image using a filter; The feature vector construction unit is used to construct a face feature vector in a face image.
8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of a face recognition method for an access control system according to any one of claims 1 to 5 are implemented.
9. A computer-readable storage medium, characterized in that: Computer instructions are stored thereon, and when the computer instructions are executed, the steps of a face recognition method for an access control system described in any one of claims 1-5 are executed.
Citation Information
Cited By
User access detection method based on image acquisition
CN119672847A
One-way door control method, system and equipment based on image recognition
CN120375503A
Entrance guard face recognition method and device based on laboratory Lims system
CN120808423A
Intelligent pike court management method and system based on machine vision
CN121544427A
