Face recognition method and device and computer equipment
By real-time update of the facial information of the seller or the renter, the problem of the inability to invalidate the facial permissions in the existing technology is solved, and the security guarantee for the community or office building is achieved.
Patent Information
- Application Number
- CN202411011375.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-12-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology cannot effectively invalidate the facial rights of residents who have sold houses or rented out, resulting in them being able to enter and exit the community or office building at will, affecting safety.
By obtaining detection images, extracting facial feature information, and comparing it with the residents' face information, and updating the information of the seller or the renter in real time, so that their face information is invalid and deleted, avoiding matching, and thus keeping the gate closed.
Ensure that the facial information of the seller or the renter fails in the system, prevent them from entering and leaving the community or office building at will, and improve safety.
Smart Images

Figure CN119152554A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of face recognition technology, and in particular to a face recognition method, device and computer equipment. Background Art
[0002] Face recognition technology is a biometric technology that identifies a person based on his or her facial features. With the development of science and technology, face recognition technology has become more and more mature, and its application areas have become more extensive and popular.
[0003] For example, express lanes will be set up in residential areas or office buildings. The express lanes use facial recognition technology to identify the identity of visitors so that the gates can be opened quickly and automatically, improving the efficiency of residents' entry and exit.
[0004] However, in the existing technology, it is impossible to invalidate the facial authorization of residents who have sold their houses or moved out, resulting in that they can still enter and exit the community or office building at will, which has a certain impact on security. To this end, we propose a facial recognition method, device and computer equipment. Summary of the invention
[0005] The purpose of the present invention is to provide a face recognition method, device and computer equipment to solve the problems raised in the above background technology.
[0006] To achieve the above object, the present invention provides the following technical solution: a face recognition method, comprising: S1: acquiring a detection image; S2: extract facial feature information from the detection image; S3: calling the facial information of the resident, and comparing the facial feature information in the detection image with the features in the facial information of the resident; S4: Determine whether the face in the detected image is a resident; S5: when it is determined that the face in the detected image matches the face information of the resident, the gate is opened; S6: When it is determined that the face in the detected image does not match the facial information of the resident, a prompt is given for permission to open the gate without a face, and the gate is kept closed.
[0007] A face recognition device, comprising: an image acquisition module signal-connected to a feature extraction module, the feature extraction module signal-connected to a feature comparison module, the feature comparison module signal-connected to a resident information storage module and a gate control module, respectively, the resident information storage module signal-connected to a resident information update module; An image acquisition module is used to acquire a detection image, wherein the detection image includes a human face and the detection image is captured by a gate camera; A feature extraction module is used to extract facial feature information from the detection image; A feature comparison module is used to call the facial information of the resident and compare the facial feature information in the detected image with the features in the facial information of the resident; Gate control module, used to control the opening and closing of the gate; A resident information storage module is used to store the resident's house information and face information; The resident information update module is used to update the resident's house information and facial information.
[0008] As a preferred solution of the face recognition device described in the present invention, wherein: the resident information storage module includes a house information storage module, the house information storage module is used to store the room number information of the house, the house information storage module is signal-connected to the owner face information storage module and the tenant face information storage module, the owner face information storage module is signal-connected to the face information storage module of the owner-related person, and the tenant face information storage module is signal-connected to the face information storage module of the tenant-related person.
[0009] A computer device includes a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the above-mentioned face recognition method by executing the computer instructions.
[0010] Compared with the prior art, the beneficial effects of the present invention are: the information of owners who sell their houses and tenants who move out is updated in real time, so that their facial information is invalidated and deleted in the owner facial information storage module and the tenant facial information storage module, and then when the facial information of the residents is called and the facial feature information in the detected image is compared with the features in the facial information of the residents, the facial information in the face storage in the detected image cannot be matched, thereby preventing them from entering and exiting the community or office building at will, causing a certain impact on security, and a facial information storage module for people related to the owner and a facial information storage module for people related to the tenant are provided, and the facial information of their related people can be invalidated and deleted at the same time during the update, thereby ensuring the security of the community or office building. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 A schematic diagram of the structure of a face recognition method, device and computer equipment of the present invention; Figure 2 This is a schematic diagram of the structure of a resident information storage module described in a face recognition method, device and computer equipment of the present invention; Figure 3 The present invention is a method flow chart of a face recognition method, device and computer equipment.
[0012] In the figure: 1. Image acquisition module; 2. Feature extraction module; 3. Feature comparison module; 4. Gate control module; 5. Resident information storage module; 51. House information storage module; 52. Owner face information storage module; 53. Owner-related person face information storage module; 54. Tenant face information storage module; 55. Tenant-related person face information storage module; 6. Resident information update module. DETAILED DESCRIPTION
[0013] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0014] As mentioned in the background technology, in the prior art, it is impossible to invalidate the facial recognition rights of residents who have sold their houses or quit their leases, so that they can still enter and exit the community or office building at will, which has a certain impact on security. The present invention provides a facial recognition method, device and computer equipment.
[0015] Reference Figures 1 to 3 ,A face recognition method, comprising, S1: Acquire detection image; S2: extract facial feature information from the detection image; S3: calling the facial information of the resident, and comparing the facial feature information in the detection image with the features in the facial information of the resident; S4: Determine whether the face in the detected image is a resident; S5: when it is determined that the face in the detected image matches the face information of the resident, the gate is opened; S6: When it is determined that the face in the detected image does not match the facial information of the resident, a prompt is given for permission to open the gate without a face, and the gate is kept closed.
[0016] A face recognition device, comprising: an image acquisition module 1 is connected to a feature extraction module 2 by signal; the feature extraction module 2 is connected to a feature comparison module 3 by signal; the feature comparison module 3 is connected to a resident information storage module 5 and a gate control module 4 by signal; the resident information storage module 5 is connected to a resident information update module 6 by signal; Image acquisition module 1, used to acquire a detection image, the detection image includes a face, and the detection image is captured by a gate camera; Feature extraction module 2, used to extract facial feature information from the detection image; The feature comparison module 3 is used to call the facial information of the resident and compare the facial feature information in the detected image with the features in the facial information of the resident; Gate control module 4, used to control the opening and closing of the gate; Resident information storage module 5, used to store the house information and face information of the residents; The resident information updating module 6 is used to update the house information and face information of the residents.
[0017] The information of the owners who sell their houses and the tenants who move out is updated in real time through the resident information update module 6, so that their facial information is invalid and deleted. Then, when the facial information of the residents is called and the facial feature information in the detection image is compared with the features in the facial information of the residents, the facial information in the face storage in the detection image cannot be matched, thereby preventing them from entering and leaving the community or office building at will, causing a certain impact on security.
[0018] The resident information storage module 5 includes a house information storage module 51, which is used to store the house number information of the house. The house information storage module 51 is respectively connected to the owner face information storage module 52 and the tenant face information storage module 54 by signal, and is used to store the owners and tenants under the house number. When updating, the face information of the owner who sells the house and the tenant who vacates the house is invalidated and deleted in the owner face information storage module 52 and the tenant face information storage module 54, so that it cannot be recognized during identification. The owner face information storage module 52 is connected to the owner-related person face information storage module 53 by signal, and is used to store people related to the owner, such as the owner's family or friends. The tenant face information storage module 54 is connected to the tenant-related person face information storage module 55 by signal, and is used to store people related to the tenant, such as the tenant's family or friends, so that the face information of their related people can be invalidated and deleted at the same time when updating, further ensuring the safety of the community or office building.
[0019] A computer device includes a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the above-mentioned face recognition method by executing the computer instructions.
[0020] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A face recognition method, Features: include, S1: Get the detection image; S2: extract facial feature information from the detection image; S3: calling the facial information of the resident, and comparing the facial feature information in the detection image with the features in the facial information of the resident; S4: Determine whether the face in the detected image is a resident; S5: when it is determined that the face in the detected image matches the face information of the resident, the gate is opened; S6: When it is determined that the face in the detected image does not match the facial information of the resident, a prompt is given for permission to open the gate without a face, and the gate is kept closed.
2. A face recognition device, Features: include, The image acquisition module (1) is signal-connected to the feature extraction module (2), the feature extraction module (2) is signal-connected to the feature comparison module (3), the feature comparison module (3) is signal-connected to the resident information storage module (5) and the gate control module (4), respectively, the resident information storage module (5) is signal-connected to the resident information update module (6); An image acquisition module (1) is used to acquire a detection image, wherein the detection image includes a human face and the detection image is captured by a gate camera; A feature extraction module (2) is used to extract facial feature information from the detection image; A feature comparison module (3) is used to call the facial information of the resident and compare the facial feature information in the detected image with the features in the facial information of the resident; A gate control module (4), used to control the opening and closing of the gate; A resident information storage module (5), used to store the resident's house information and facial information; The resident information updating module (6) is used to update the house information and face information of the resident.
3. A face recognition device according to claim 2, Features: The resident information storage module (5) comprises a house information storage module (51), the house information storage module (51) being used to store house number information of the house, the house information storage module (51) being signal-connected to an owner face information storage module (52) and a tenant face information storage module (54), the owner face information storage module (52) being signal-connected to a face information storage module (53) of a person related to the owner, and the tenant face information storage module (54) being signal-connected to a face information storage module (55) of a person related to the tenant.
4. A computer device, Features: It includes a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the face recognition method as claimed in claim 1 by executing the computer instructions.
