Control method and device of door A and door B and control system of door A and door B

Through facial recognition, the age information is obtained and the switching instructions of the AB door are adjusted adaptively, and the problem of inefficient traffic in the prior art is solved, and personalized traffic services are achieved and higher security and user experience are achieved.

CN119920037APending Publication Date: 2025-05-02SHENZHEN HONGMEN INTELLIGENT PARKING TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510078032.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The existing community access control system cannot adaptively adjust the door opening and closing speed and door opening duration of AB doors according to the actual needs of residents of different ages, resulting in inefficient passage.

Method used

By obtaining the face image of the person to be verified, identifying his age information, and determining the switching instructions of door A and door B based on this information and the preset control strategy, personalized access services are realized.

Benefits of technology

It improves the response speed and efficiency of the AB door control system, ensures that the passport needs of residents of different ages are met, and improves the overall security and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119920037A_ABST
    Figure CN119920037A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of access control, in particular to a control method and device of doors A and B and a control system of the doors A. The control method of the doors A and B comprises the steps that a face image of a person to be verified is obtained; determining age information of the to-be-verified person according to the face image of the to-be-verified person; and determining opening and closing instructions of the door A and the door B according to the age information and the control strategy of the door A and the door B. According to the method, the face image is obtained and the age information is recognized, so that opening and closing of the door are adaptively controlled according to people of different age groups, the passing efficiency is optimized, and personalized services for special groups are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of door access control, and in particular to a control method and device for an AB door, and a control system for the AB door. Background Art

[0002] In the field of AB door control of residential access control systems, the main problem is the handling of the passage needs of residents of different age groups. Since the age distribution of people living in the community is wide, including different groups such as the elderly, children and young people, they have different requirements for the opening and closing speed and door opening duration when passing through the AB doors.

[0003] At present, the main solution to this problem includes setting the opening and closing speed of the AB doors to be slower and extending the door opening duration to ensure that the elderly and children can pass through the access control safely and conveniently. However, although this "one-size-fits-all" approach meets the needs of the elderly and children to a certain extent, it leads to a longer AB door passage time for all residents, thereby reducing the overall passage efficiency.

[0004] Therefore, the existing access control system cannot make adaptive adjustments based on the actual age of the people entering and leaving the door, which means that everyone, regardless of age, must adapt to the same door opening and closing speed and door opening duration. This practice not only affects the efficiency of young people's passage, but also easily causes congestion during peak hours, bringing inconvenience to residents' daily lives.

[0005] In summary, the existing technology has obvious deficiencies in dealing with the passage needs of residents of different age groups, especially in adaptively adjusting the door opening and closing speed and the door opening duration. It is impossible to achieve intelligent and personalized services, resulting in generally low passage efficiency of AB doors. Summary of the invention

[0006] One purpose of an embodiment of the present invention is to provide an AB door control method and device, and an AB door control system, which are used to solve the technical problem that when residents of different age groups enter and exit the AB door, the door opening and closing speed and door opening duration cannot be adaptively adjusted, resulting in low passage efficiency of the AB door.

[0007] In a first aspect, an embodiment of the present invention provides an AB gate control method, which is applied to an AB gate control system, and the method includes:

[0008] Obtaining a facial image of the person to be verified;

[0009] Determining the age information of the person to be verified based on the facial image of the person to be verified;

[0010] According to the age information and the AB door control strategy, the switch instructions of the A door and the B door are determined.

[0011] In combination with the first aspect, in a possible implementation method, determining the age information of the person to be verified based on the facial image of the person to be verified includes: performing key point recognition on the facial image to obtain a set of key points corresponding to each facial sub-region; performing facial analysis on the set of key points corresponding to each facial sub-region to obtain an age score corresponding to each facial sub-region; and performing data processing on the age score corresponding to each facial sub-region to obtain the age information of the person to be verified.

[0012] It can be seen that in this embodiment, by performing key point recognition on the face image, the facial features of each person can be captured more accurately. Further, by analyzing the key point set of each face sub-region and obtaining the corresponding age score, the age can be estimated by integrating the information of multiple face sub-regions. This is more reliable than single region analysis and improves the accuracy and reliability of age prediction.

[0013] In combination with the first aspect, in a possible implementation method, the facial analysis is performed on the key point set corresponding to each facial sub-region to obtain the age score corresponding to each facial sub-region, including: performing texture simulation processing on the key point set corresponding to each facial sub-region to obtain a facial texture trend graph of each facial sub-region after simulation; in a preset facial texture trend graph database, querying the age score corresponding to the facial texture trend graph of each facial sub-region to obtain the age score corresponding to each facial sub-region.

[0014] It can be seen that in this embodiment, by performing texture simulation processing on the key point set corresponding to each face sub-region, generating a texture trend graph, and querying the corresponding age score in the preset database, the age information of the person to be verified can be accurately obtained, thereby improving the accuracy of age prediction.

[0015] In combination with the first aspect, in a possible implementation method, the age score corresponding to each facial sub-region is processed to obtain the age information of the person to be verified, including: obtaining a preset facial sub-region weight set, the preset facial sub-region weight set including the weight of each facial sub-region; weighted processing the age score corresponding to each facial sub-region with the weight corresponding to each facial sub-region in the preset facial sub-region weight set to obtain the target age score corresponding to each facial sub-region; and average calculating the target age scores corresponding to all facial sub-regions to obtain the age information of the person to be verified.

[0016] It can be seen that in this embodiment, since different facial regions contribute differently to age estimation, the age can be estimated more accurately through weighted processing, thereby improving the accuracy of age prediction.

[0017] In combination with the first aspect, in a possible implementation, the switch instruction includes an opening instruction and a closing instruction, and the determining the switch instructions for door A and door B according to the age information and the AB door control strategy includes: obtaining a mapping table of preset ages and door opening control parameters; using the age information as a query identifier, querying the mapping table of preset ages and door opening control parameters to obtain target door opening control parameters corresponding to the age information, the target door opening control parameters including door opening and closing speed and door opening duration; generating opening instructions for door A and door B according to the target door opening control parameters; performing pass authentication on the person to be verified to obtain a pass authentication result; if the pass authentication result is passed, generating closing instructions for door A and door B according to the door opening and closing speed in the opening instruction; or, if the pass authentication result is failed, closing door B and opening door A.

[0018] It can be seen that this embodiment determines the opening instruction corresponding to each age information through different age information, thereby improving the accuracy and flexibility of the AB door control method.

[0019] In combination with the first aspect, in a possible implementation, after generating the opening instructions for the door A and the door B according to the target door opening control parameters, the method further includes: collecting the number of persons to be verified entering the first area corresponding to the door A; and determining the closing instructions for the door A and the door B based on the number of people entering.

[0020] It can be seen that in this embodiment, the flow of people entering door A can be managed intelligently, and the door closing strategy can be dynamically adjusted according to real-time crowd flow data to improve safety, efficiency and user experience.

[0021] In combination with the first aspect, in a possible implementation method, determining the closing instructions for the door A and the door B based on the number of people entering the door includes: comparing the number of people entering the door with the certified number of people to be verified; if the certified number of people to be verified is greater than or equal to the number of people entering the door, generating closing instructions for the door A and the door B according to the door opening and closing speed in the opening instruction; or, if the certified number of people to be verified is less than the number of people entering the door, continuously opening the door A according to the door opening and closing speed and the door opening and closing time in the opening instruction.

[0022] It can be seen that this embodiment can not only effectively manage the entry and exit of personnel, but also respond quickly when abnormal situations occur to ensure the safety and order of the place.

[0023] In combination with the first aspect, in a possible implementation method, the persons to be verified include at least two persons to be verified, and determining the opening instructions of door A and door B based on the age information includes: obtaining the age information corresponding to the at least two persons to be verified; if the age information corresponding to the at least two persons to be verified are not in the same age group, and the age difference between the age information corresponding to the at least two persons to be verified exceeds a preset age threshold, a preset opening mode is triggered, and the opening instruction corresponding to the preset opening mode is to continuously open the A door and the B door in a preset time period.

[0024] It can be seen that this embodiment can not only adjust the door opening behavior according to the age information of a single user, but also adopt a more flexible and adaptable operation mode when detecting diverse age groups, thereby improving the overall safety and user experience.

[0025] In a second aspect, an embodiment of the present invention provides a control device for an AB gate, which is applied to a control system of an AB gate, and the device includes:

[0026] An acquisition unit, used for acquiring a face image of a person to be verified;

[0027] A determination unit, used to determine the age information of the person to be verified based on the facial image of the person to be verified;

[0028] The determining unit is further used to determine the switch instructions of door A and door B according to the age information and the AB door control strategy.

[0029] In a third aspect, a control system of an AB gate is provided, wherein the control system of the AB gate comprises a memory and a processor, wherein the memory is connected to the processor, and the processor is used to execute one or more computer programs stored in the memory, and when the processor executes the one or more computer programs, the control system of the AB gate implements the control method of the AB gate as described in the first aspect.

[0030] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the AB gate control method as described in the first aspect.

[0031] In the embodiment implemented by the control method and device of the AB door and the control system of the AB door, the facial image of the person to be verified is first obtained, and then the age information of the person to be verified is determined according to the facial image of the person to be verified. Finally, the switch instructions of the A door and the B door are determined according to the age information and the AB door control strategy. By obtaining the facial image of the person to be verified and determining the age information, the present embodiment can firstly effectively perform identity authentication to prevent unauthorized persons from entering a specific area, and then determine the switch instructions of the A door and the B door according to the age information of the person to be verified and the AB door control strategy, and can provide personalized services for people of different age groups, such as care measures for special groups such as the elderly and children, and further reasonably allocate the entry and exit channels according to the age information of the people, avoid the failure of the control system of the AB door caused by improper operation of the people, and improve the response speed and efficiency of the control system of the AB door. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0033] Figure 1 is a schematic diagram of an AB door scene in an embodiment of the present invention;

[0034] Figure 2 is a flow chart of a control method of an AB gate in an embodiment of the present invention;

[0035] Figure 3 is a schematic structural diagram of a control device for an AB door in an embodiment of the present invention;

[0036] Figure 4 It is a schematic diagram of the structure of the control system of the AB door in the embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0038] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, all within the scope of protection of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device or the flow chart. Furthermore, the words "first", "second", "third", etc. used in the present invention do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.

[0039] like Figure 1 As shown, Figure 1 A schematic diagram of an AB door scene. Figure 1 In the figure, the connection between two doors (door A and door B) is shown. As can be seen from the figure, door AB refers to two doors in the same channel, which are usually used for security inspection or crowd control. In addition, there is an area marked with "①" for personnel detection. The area of ​​①" contains a high-resolution camera, which is used to capture the facial features of the person to be verified, including eyes, nose, mouth and face shape.

[0040] Specifically, the application of Gate A is as follows: (1) Gate A serves as the preliminary verification gate of the passage, and is used to preliminarily identify and verify the identity of people entering the passage; (2) In the area in front of Gate A, the system obtains the facial image of the person to be verified and determines the age information of the person through image processing technology; (3) Based on the age information of the person, the adaptive control system of Gate A adjusts the speed and time of opening and closing the door so that the elderly and children can pass smoothly, while young people can pass quickly; (4) Gate A records the number of people passing through to ensure that only verified people enter the passage.

[0041] Specifically, the application of Gate B is as follows: (1) Gate B serves as the final verification gate of the passage, and is used to re-verify or confirm personnel who have passed through Gate A; (2) After personnel pass through Gate A, Gate B can perform additional security checks, such as comparing the number of authenticated persons with the actual number of persons entering the door to ensure that no unauthorized persons enter; (3) The opening and closing of Gate B is synchronously controlled with Gate A to ensure that personnel can pass through Gate B at the appropriate time after passing through Gate A; (4) In an emergency, Gate B can be quickly closed to prevent unauthorized persons from entering or to assist in controlling the flow of people.

[0042] In this solution, Door A and Door B together form a secure access control environment, which works in the following way: when a person passes through Door A, the system determines the age information based on the face image and adjusts the opening parameters of Door A; after the person passes through Door A, the system determines the closing instruction of Door B based on the comparison result of the number of people entering and the number of people authenticated; if the number of people authenticated is greater than or equal to the number of people entering, Door B will be closed at the preset speed and time; if the number of people authenticated is less than the number of people entering, the system may keep Door B open until all people authenticated by Door A pass through Door B. This design not only ensures the security of the access control system, but also improves the traffic efficiency, while taking into account the needs of people of different age groups.

[0043] See also Figure 2 , Figure 2 A flow chart of a method for controlling an AB gate provided in an embodiment of the present invention is provided. The method comprises the following steps:

[0044] S10: Obtain a facial image of the person to be verified.

[0045] The above-mentioned persons to be verified are individuals who need to pass identity verification or security checks, and are applied to access control scenarios in this solution.

[0046] When obtaining the face image of the person to be verified, you need to stand in the following position: Figure 1 In the area of ​​"①" represented by .

[0047] Among them, face image refers to a person's facial photo or video frame, which is usually used in biometric recognition technology as a means of personal identification.

[0048] Optionally, the control system of the AB gate performs standardization processing on the facial image, such as adjusting the brightness and contrast, to ensure that the image quality meets the requirements of the recognition system.

[0049] S20: Determine the age information of the person to be verified based on the facial image of the person to be verified.

[0050] In the process of determining the age information of the person to be verified based on the facial image of the person to be verified, it is necessary to perform face recognition on the facial image, and determine the age information of the person to be verified through face recognition.

[0051] Optionally, before performing face recognition on a face image, the face image may be preprocessed, including denoising, contrast enhancement, and light adjustment, so as to more accurately analyze facial features.

[0052] Specifically, after acquiring the image, a face detection algorithm is used to locate the face in the face image, that is, to convert the face image into a grayscale image and detect the position and size of the face; after detecting the face, the image is preprocessed, and the preprocessed image will be input into a pre-trained age prediction model, which can predict age based on facial features. The age prediction model may be based on deep learning, such as a convolutional neural network (CNN), which can learn and predict age from face images; the age prediction model will output an age range or specific age, and this output will be used to determine the age information of the person to be verified.

[0053] Among them, age information refers to the estimated age or age stage of the person to be verified obtained through analysis, usually expressed in years. For example, age information is divided into several stages, such as children, teenagers, adults, and the elderly.

[0054] It can be seen that in this embodiment, residents of different age groups can be intelligently identified through facial images, thereby improving the accuracy and flexibility of the AB door control method.

[0055] S30, determining the switch instructions of door A and door B according to the age information and the AB door control strategy.

[0056] Among them, door A and door B refer to two doors in the same passage, which can be part of the control system of door AB to control the entry and exit of people. Specifically, door A and door B can be opened or closed according to preset logic and instructions.

[0057] The switch instruction includes an on instruction and a off instruction.

[0058] Specifically, the opening instruction refers to a command for controlling the operation of the control system of the AB door, which can be an electronic signal, used to instruct the control system of the AB door when and how to open the door, including which door to open, the opening time, the opening speed, etc. The door opening instruction may include but is not limited to the opening speed (such as slow speed, normal speed, fast speed) and the door opening duration (such as the length of time to maintain the open state).

[0059] For example, when gate A is opened, personnel are allowed to proceed to the next stage of verification or enter directly; when gate B is opened, personnel are allowed to enter the restricted area through gate B after passing the verification at gate A.

[0060] Or the opening speed and time of door A and door B are controlled according to the opening instruction. For example, if the recognized age information is a teenager or an adult, the opening and closing speed of doors A and B is increased by 20%, and the door opening duration is reduced by 20%. Or, if the recognized age information is an elderly person or a child, the opening and closing speed of doors A and B is slowed down by 20%, and the door opening duration is increased by 20%.

[0061] The closing instruction refers to an operation command to close door A or door B.

[0062] The AB door control strategy includes how to control the opening and closing of door A and door B according to the age information of the personnel. The AB door control strategy can include different treatment methods for people of different age groups, such as fast channel, security check, special service, etc.

[0063] Specifically, the AB door control strategy includes but is not limited to: providing longer door opening duration for the elderly or people with limited mobility; providing safety warnings for children, who may need to be accompanied by an adult to pass; adjusting the door opening and closing speed during peak hours to optimize crowd management, etc.

[0064] It can be seen that this embodiment can intelligently provide customized travel experience for users of different age groups while ensuring safety and efficiency.

[0065] This embodiment obtains the facial image of the person to be verified and determines his / her age information. Firstly, identity authentication can be effectively performed to prevent unauthorized persons from entering specific areas. Secondly, the switch instructions of door A and door B can be determined according to the age information of the person to be verified and the AB door control strategy, so as to provide personalized services for people of different age groups, such as care measures for special groups such as the elderly and children. Further, entry and exit channels are reasonably allocated according to the age information of the people, so as to avoid AB door control system failure caused by improper operation of the people, thereby improving the response speed and efficiency of the AB door control system.

[0066] In one embodiment, determining the age information of the person to be verified based on the facial image of the person to be verified includes: performing key point recognition on the facial image to obtain a set of key points corresponding to each facial sub-region; performing facial analysis on the set of key points corresponding to each facial sub-region to obtain an age score corresponding to each facial sub-region; and performing data processing on the age score corresponding to each facial sub-region to obtain the age information of the person to be verified.

[0067] Among them, key point recognition refers to the use of algorithms to detect and mark key feature points in a face image, such as the positions of eyes, nose, mouth, etc. Key points can be identified in a face image based on a feature point detection algorithm (such as Active Shape Models or Deep Learning methods) to form a key point set. A key point set refers to a set of feature points identified in a face image. Each key point set corresponds to a face sub-region and contains the coordinates of the key feature points in the region.

[0068] Among them, the face sub-region refers to a specific part in the face image, such as the left eye region, the right eye region, the nose region, etc. After the key points are recognized, the face image is divided into multiple sub-regions according to the positions of the key points.

[0069] Among them, facial analysis refers to analyzing a set of facial key points and estimating age based on facial features (such as skin texture, wrinkles, face shape, etc.).

[0070] Specifically, the key point set corresponding to each face sub-region is used to extract features from each face sub-region. The feature extraction method may include geometric feature analysis (such as the distance and angle between key points) and texture feature analysis (such as local binary pattern LBP, etc.); the extracted features are input into a pre-trained age prediction model. Note that the age prediction model may be a regression model based on machine learning or deep learning, which can predict the age score corresponding to each face sub-region based on the input features; finally, the age score corresponding to each face sub-region (such as eye region, nose region, mouth region, etc.) is obtained through the age prediction model, and the above age score reflects the contribution of each sub-region in age prediction.

[0071] The data processing is to process the age scores corresponding to multiple face sub-regions, such as averaging, weighting or other statistical processing, to improve the accuracy of age estimation. After data processing, a final age estimation value is output.

[0072] Specifically, when the data is processed by weighted processing, outliers may appear (such as the age scores of certain sub-regions deviate significantly from the normal range). At this time, statistical methods (such as median filtering, outlier removal, etc.) are used to process these outliers to improve the accuracy of the final age information.

[0073] It can be seen that in this embodiment, by performing key point recognition on the face image, the facial features of each person can be captured more accurately. Further, by analyzing the key point set of each face sub-region and obtaining the corresponding age score, the age can be estimated by integrating the information of multiple face sub-regions. This is more reliable than single region analysis and improves the accuracy and reliability of age prediction.

[0074] In one embodiment, the facial analysis is performed on the key point set corresponding to each facial sub-region to obtain the age score corresponding to each facial sub-region, including: performing texture simulation processing on the key point set corresponding to each facial sub-region to obtain a facial texture trend graph of each facial sub-region after simulation; in a preset facial texture trend graph database, querying the age score corresponding to the facial texture trend graph of each facial sub-region to obtain the age score corresponding to each facial sub-region.

[0075] Among them, texture simulation processing refers to the process of using algorithms to simulate the skin texture and wrinkle trends in specific areas of facial images.

[0076] Specifically, in the process of performing texture simulation processing on the key point set corresponding to each face sub-region, the key point set of each face sub-region (such as eye region, nose region, mouth region, etc.) is connected with feature points to form a grid or outline, reflecting the basic shape and structure of the face sub-region; according to the texture generation algorithm (such as gradient direction histogram, local binary pattern LBP, etc.), the connected key points are subjected to texture simulation processing to obtain the facial texture trend graph of each face sub-region after simulation.

[0077] Among them, the facial texture trend chart is a visual representation that shows the texture connection and trend between key points on the face. This trend chart can be used for subsequent age analysis, and it contains age-related skin texture information.

[0078] Among them, the preset facial texture trend graph database stores a database of facial texture trend graphs of different age groups, each trend graph in the database is associated with a specific age score, and the scores in the database can be obtained based on training of a large amount of sample data.

[0079] Specifically, the simulated facial texture trend graph is compared with the trend graph in the database to find the most matching trend graph and obtain its corresponding age score, so the age score of each facial sub-region can be obtained.

[0080] It can be seen that in this embodiment, by performing texture simulation processing on the key point set corresponding to each face sub-region, generating a texture trend graph, and querying the corresponding age score in the preset database, the age information of the person to be verified can be accurately obtained, thereby improving the accuracy of age prediction.

[0081] In one embodiment, the age score corresponding to each facial sub-region is processed to obtain the age information of the person to be verified, including: obtaining a preset facial sub-region weight set, wherein the preset facial sub-region weight set includes the weight of each facial sub-region; weighted processing is performed on the age score corresponding to each facial sub-region and the weight corresponding to each facial sub-region in the preset facial sub-region weight set to obtain a target age score corresponding to each facial sub-region; and the target age scores corresponding to all facial sub-regions are averaged to obtain the age information of the person to be verified.

[0082] The preset face sub-region weight set is a set of weights for each face sub-region, and each weight value reflects the importance and contribution of the sub-region in age prediction. The preset face sub-region weight set is usually derived based on a large amount of data analysis and experience summary, indicating that some facial regions (such as wrinkles at the corners of the eyes) may be more reflective of a person's age than other regions (such as the forehead).

[0083] The age score corresponding to each face sub-region is matched with the weight in the preset face sub-region weight set, so that the age score of each sub-region corresponds to its weight one by one.

[0084] The weighted processing process is to multiply the age score of each sub-region by its corresponding weight to obtain the target age score corresponding to each face sub-region. For example, if the age score of the eye region is 30 years old and the weight is 0.4, then the target age score of the region is 30×0.4=12 years old.

[0085] Furthermore, the target age scores of all face sub-regions are aggregated to obtain a total target age score, the number of face sub-regions is obtained, and the total target age score is divided by the number of face sub-regions to obtain the age information of the person to be verified.

[0086] For example, suppose the eye area has a weight of 0.4 and an age score of 30 years old; the nose area has a weight of 0.3 and an age score of 32 years old; the mouth area has a weight of 0.3 and an age score of 28 years old. The target age scores after weighting are: eye area: 30×0.4=12 years old; mouth area: 28×0.3=8.4 years old; nose area: 32×0.3=9.6 years old. The target age score set after aggregation is: 12, 9.6, 8.4; therefore, the comprehensive age is (12+9.6+8.4) / 3=10 years old.

[0087] It can be seen that in this embodiment, since different facial regions contribute differently to age estimation, the age can be estimated more accurately through weighted processing, thereby improving the accuracy of age prediction.

[0088] In one embodiment, the switch instructions include opening instructions and closing instructions, and the determining of the switch instructions for door A and door B according to the age information and the AB door control strategy includes: obtaining a mapping table of preset ages and door opening control parameters; using the age information as a query identifier, querying the mapping table of preset ages and door opening control parameters to obtain target door opening control parameters corresponding to the age information, the target door opening control parameters including door opening and closing speed and door opening duration; generating opening instructions for door A and door B according to the target door opening control parameters; performing pass authentication on the person to be verified to obtain a pass authentication result; if the pass authentication result is passed, generating closing instructions for door A and door B according to the door opening and closing speed in the opening instruction; or, if the pass authentication result is failed, closing door B and opening door A.

[0089] The mapping table of preset age and door opening control parameters includes door opening control parameters corresponding to different age groups. The door opening control parameters include door opening and closing speed and door opening duration, etc. The content of the mapping table of preset age and door opening control parameters can be set according to actual needs and experience data.

[0090] For example, the mapping table between preset age and door opening control parameters may be as follows:

[0091] Age group 0-10 years old: door opening and closing speed 1.0m / s, door opening duration 5 seconds;

[0092] Age group 11-20 years old: door opening and closing speed 1.2m / s, door opening duration 4 seconds;

[0093] Age group 21-30 years old: door opening and closing speed 1.5m / s, door opening duration 3 seconds;

[0094] Age group 31-40 years old: door opening and closing speed 1.2m / s, door opening duration 4 seconds;

[0095] Age group 41-50 years old: door opening and closing speed 1.0m / s, door opening duration 5 seconds;

[0096] Age group 51-60 years old: door opening and closing speed 0.8m / s, door opening duration 6 seconds;

[0097] Age group 61 years and above: door opening and closing speed 0.6m / s, door opening duration 7 seconds.

[0098] Specifically, the mapping table of preset age and door opening control parameters is searched according to the age information. For example, if the age information of the person to be verified is 25 years old, the door opening control parameters corresponding to the age group of 21-30 years old are searched in the mapping table. The door opening control parameters corresponding to 25 years old are door opening and closing speed of 1.5m / s and door opening duration of 3 seconds.

[0099] Among them, the above-mentioned access authentication is a secondary verification process for people passing through Gate A, such as identity verification, permission check, etc.

[0100] Among them, if the access authentication result is passed, the closing instructions for doors A and B are generated according to the door opening and closing speeds in the opening instructions; if the access authentication result is failed, door B is closed and door A is opened to ensure that the person to be verified cannot pass through door B.

[0101] Specifically, the access authentication can compare the collected facial image of the person to be verified with the known facial features in the database to confirm the identity information of the person to be verified. Alternatively, after the identity of the person to be verified is identified, the authority status of the person in the system is queried based on the identity information. The authority verification includes but is not limited to: whether the person is a legitimate user of the building, whether he has the authority to enter a specific area, whether he has the authority to pass in the current time period, etc.

[0102] Among them, if the identity recognition is successful and the authority verification is passed, the access authentication result is judged as "passed", and the person to be verified is allowed to enter; if the identity recognition fails, or the authority verification fails, the access authentication result is judged as "failed", and the person to be verified is denied entry.

[0103] It can be seen that in this embodiment, different age information is used to determine the switch instruction corresponding to each age information, thereby improving the accuracy and flexibility of the AB gate control method.

[0104] In one embodiment, after generating the opening instructions for the door A and the door B according to the target door opening control parameters, the method further includes: collecting the number of persons to be verified entering the first area corresponding to the door A; and determining the closing instructions for the door A and the door B according to the number of persons entering.

[0105] The first area corresponding to door A refers to the area in front of door B after entering door A, when door B is not opened. The first area corresponding to door A is used to monitor and count the number of people entering the area.

[0106] The collection usually involves using sensors, cameras or other monitoring equipment to capture and record information. In specific implementations, the number of people entering the first area can be counted by video surveillance, sensors or deep learning algorithms.

[0107] Among them, the number of entrances refers to the total number of people who enter the first area through Gate A within a certain period of time.

[0108] Specifically, cameras are installed in the first area near Gate A to monitor people entering the area. The position and angle of the camera need to be carefully selected to ensure that the facial features of the people can be clearly captured; deep learning algorithms, such as YOLOv8, are used to detect faces from the video stream captured by the camera; through continuous video frame analysis, the passenger flow entering the first area can be counted, that is, when a new face is detected, it will be marked as a valid entry event, and the number of people counted will be updated. All detected faces will be checked for duplicates to ensure that the same person is not counted repeatedly in a short period of time, and finally the number of people entering the area to be verified is obtained.

[0109] Optionally, in addition to headcount, abnormal behavior detection technology can also be combined to trigger an alarm when unauthorized personnel or suspicious behavior are detected. At this time, door B will not open to further improve safety performance.

[0110] If the number of people entering the door is normal, the closing instruction is associated with the opening instruction in the opening instruction in S30, that is, when the closing instruction is generated, the parameters in the opening instruction are referred to. For example, if the opening and closing speed of doors A and B in the opening instruction is set to increase by 20%, the closing instruction will also use the same speed adjustment, that is, the closing speed of doors A and B will increase by 20%.

[0111] Among them, if there is no abnormality in the number of people entering, when the closing instruction is generated, the parameters in the opening instruction in S30 will be adjusted.

[0112] It can be seen that in this implementation, the flow of people entering door A can be managed intelligently, and the door closing strategy can be dynamically adjusted according to real-time crowd flow data to improve safety, efficiency and user experience.

[0113] In one embodiment, determining the closing instructions for the door A and the door B based on the number of people entering includes: comparing the number of people entering with the certified number of people to be verified; if the certified number of people to be verified is greater than or equal to the number of people entering, generating closing instructions for the door A and the door B according to the door opening and closing speed in the opening instruction; or, if the certified number of people to be verified is less than the number of people entering, continuously opening the door A according to the door opening and closing speed and the door opening and closing time in the opening instruction.

[0114] The number of authenticated persons refers to the number of persons who have passed identity verification and are allowed to enter. Specifically, the number of persons who actually pass through Gate A (the number of persons entering) is compared with the number of persons who have passed authentication (the number of authenticated persons) to confirm whether there are any unauthenticated persons entering or errors in the authentication process.

[0115] Among them, if the certified number of persons to be verified is greater than or equal to the number of people entering, it means that all persons passing through Door A have passed the certification, or when the certified number matches the number of people entering, an instruction to close Door A and Door B is generated according to the door opening and closing speed in the previously generated opening instruction.

[0116] Among them, if the certified number of persons to be verified is less than the number of people entering, it means that the number of people passing through Door A is more than the number of people who have passed the certification, and there is an abnormal situation in which uncertified persons enter. In order to ensure safety and further inspection, the system decides to keep Door A open based on the door opening and closing speed and time in the opening instruction. At this time, Door B is not opened. Keeping Door A open can facilitate security personnel to conduct inspections or allow uncertified persons to re-authenticate.

[0117] It can be seen that this embodiment can not only effectively manage the entry and exit of personnel, but also respond quickly when abnormal situations occur to ensure the safety and order of the place.

[0118] In one embodiment, the persons to be verified include at least two persons to be verified, and determining the opening instructions of door A and door B based on the age information includes: obtaining the age information corresponding to the at least two persons to be verified; if the age information corresponding to the at least two persons to be verified are not in the same age group, and the age difference between the age information corresponding to the at least two persons to be verified exceeds a preset age threshold, a preset opening mode is triggered, and the opening instruction corresponding to the preset opening mode is to continuously open the A door and the B door in a preset time period.

[0119] The preset age threshold is used to determine whether the age difference is large enough to trigger the preset activation mode. For example, the preset age threshold can be 10 years old, 15 years old, etc., which is not limited here.

[0120] The preset opening mode is that during the preset period, Door A and Door B will be kept open so that people of different ages can pass through smoothly. The preset period can be from a few seconds to a few minutes. The specific time depends on human design and safety requirements, and is not limited here.

[0121] For example, suppose there are two persons to be verified, whose age information is 25 and 55 respectively. 25 and 55 are not in the same age group. The age difference between 25 and 55 is 30 years old, which exceeds the preset threshold of 10 years old. Therefore, the opening mode is to continuously open Door A and Door B within 30 seconds to ensure that both persons to be verified can pass smoothly.

[0122] Optionally, the preset time period can be adjusted dynamically. For example, the continuous opening time can be adjusted according to the frequency of use of the door and the flow of people to be verified.

[0123] It can be seen that this embodiment can not only adjust the door opening behavior according to the age information of a single user, but also adopt a more flexible and adaptable operation mode when detecting diverse age groups, thereby improving the overall safety and user experience.

[0124] It should be noted that, in each of the above-mentioned embodiments, there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present application, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.

[0125] As another aspect of the embodiment of the present application, the embodiment of the present application provides a control device for an AB gate, wherein the control device for the AB gate can be a software module, the software module includes a number of instructions, which are stored in a memory, and the processor can access the memory and call the instructions for execution to complete the control method of the AB gate described in the above-mentioned various embodiments.

[0126] See also Figure 3 , Figure 3 Schematic diagram of the structure of a control device for an AB door provided in an embodiment of the present application. Figure 3 As shown, the control system applied to the AB door, the control device 300 of the AB door includes:

[0127] An acquisition unit 301 is used to acquire a face image of a person to be verified;

[0128] A determination unit 302, configured to determine the age information of the person to be verified based on the face image of the person to be verified;

[0129] The determining unit 302 is further configured to determine the switch instructions of the A door and the B door according to the age information and the AB door control strategy.

[0130] This embodiment obtains the facial image of the person to be verified and determines his / her age information. Firstly, identity authentication can be effectively performed to prevent unauthorized persons from entering specific areas. Secondly, the switch instructions of door A and door B can be determined according to the age information of the person to be verified and the AB door control strategy, so as to provide personalized services for people of different age groups, such as care measures for special groups such as the elderly and children. Further, entry and exit channels are reasonably allocated according to the age information of the people, so as to avoid AB door control system failure caused by improper operation of the people, thereby improving the response speed and efficiency of the AB door control system.

[0131] In one embodiment, in determining the age information of the person to be verified based on the facial image of the person to be verified, the determination unit 302 is further used to: perform key point recognition on the facial image to obtain a set of key points corresponding to each facial sub-region; perform facial analysis on the set of key points corresponding to each facial sub-region to obtain an age score corresponding to each facial sub-region; and perform data processing on the age score corresponding to each facial sub-region to obtain the age information of the person to be verified.

[0132] In one embodiment, in performing facial analysis on the key point set corresponding to each facial sub-region to obtain the age score corresponding to each facial sub-region, the determination unit 302 is further used to: perform texture simulation processing on the key point set corresponding to each facial sub-region to obtain a facial texture trend graph of each facial sub-region after simulation; and query the age score corresponding to the facial texture trend graph of each facial sub-region in a preset facial texture trend graph database to obtain the age score corresponding to each facial sub-region.

[0133] In one embodiment, in the data processing of the age score corresponding to each facial sub-region to obtain the age information of the person to be verified, the determination unit 302 is further used to: obtain a preset facial sub-region weight set, the preset facial sub-region weight set including the weight of each facial sub-region; perform weighted processing on the age score corresponding to each facial sub-region and the weight corresponding to each facial sub-region in the preset facial sub-region weight set to obtain a target age score corresponding to each facial sub-region; and perform mean calculation on the target age scores corresponding to all facial sub-regions to obtain the age information of the person to be verified.

[0134] In one embodiment, in determining the opening and closing instructions of door A and door B according to the age information and the AB door control strategy, the determination unit 302 is further used to: obtain a mapping table of preset ages and door opening control parameters; use the age information as a query identifier, query the mapping table of preset ages and door opening control parameters to obtain target door opening control parameters corresponding to the age information, the target door opening control parameters including door opening and closing speed and door opening duration; generate opening instructions for door A and door B according to the target door opening control parameters; perform pass authentication on the person to be verified to obtain a pass authentication result; if the pass authentication result is passed, generate closing instructions for door A and door B according to the door opening and closing speed in the opening instruction; or, if the pass authentication result is failed, close door B and open door A.

[0135] In one embodiment, after generating the opening instructions for the door A and the door B according to the target door opening control parameters, the determination unit 302 is further used to: collect the number of persons to be verified entering the first area corresponding to the door A; and determine the closing instructions for the door A and the door B according to the number of persons entering.

[0136] In one embodiment, in determining the closing instructions for the door A and the door B based on the number of people entering, the determination unit 302 is further used to: compare the number of people entering with the certified number of people to be verified; if the certified number of people to be verified is greater than or equal to the number of people entering, generate closing instructions for the door A and the door B according to the door opening and closing speed in the opening instruction; or, if the certified number of people to be verified is less than the number of people entering, keep the door A open according to the door opening and closing speed and the door opening and closing time in the opening instruction.

[0137] In one embodiment, the persons to be verified include at least two persons to be verified, and in determining the opening instructions of door A and door B according to the age information, the determination unit 302 is further used to: obtain the age information corresponding to the at least two persons to be verified; if the age information corresponding to the at least two persons to be verified are not in the same age group, and the age difference between the age information corresponding to the at least two persons to be verified exceeds a preset age threshold, trigger a preset opening mode, and the opening instruction corresponding to the preset opening mode is to continuously open the door A and the door B in a preset time period.

[0138] It should be noted that the above-mentioned AB gate control device can execute the AB gate control method provided in the embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in the embodiment of the AB gate control device, please refer to the AB gate control method provided in the embodiment of the present application.

[0139] See also Figure 4 , Figure 4 Schematic diagram of a control system of an AB door provided in an embodiment of the present application. Figure 4 As shown, the control system 400 of the AB door includes a processor 401 and a memory 402. The processor 401 is in communication connection with the memory 402.

[0140] The processor 401 is configured to support the control system of the AB gate to perform the corresponding functions in the control method of the AB gate in the above method embodiment. The processor 401 can be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof. The above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0141] Specifically, the processor 401 may include a sending card, a receiving card and a driving chip.

[0142] The memory 402 is used to store program codes, etc. The memory 402 may include a volatile memory (VM), such as a random access memory (RAM); the memory 402 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory 402 may also include a combination of the above-mentioned types of memories.

[0143] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the AB gate control method as described in the above embodiment.

[0144] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0145] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A control method for an AB gate, characterized in that: Applied to the control system of AB door, the method comprises: Obtaining a facial image of the person to be verified; Determining the age information of the person to be verified based on the facial image of the person to be verified; According to the age information and the AB door control strategy, the switch instructions of the A door and the B door are determined.

2. The method according to claim 1, characterized in that Determining the age information of the person to be verified based on the facial image of the person to be verified includes: Performing key point recognition on the face image to obtain a set of key points corresponding to each face sub-region; Performing facial analysis on the key point set corresponding to each face sub-region to obtain an age score corresponding to each face sub-region; The age score corresponding to each face sub-region is processed to obtain the age information of the person to be verified.

3. The method according to claim 2, characterized in that The performing facial analysis on the key point set corresponding to each face sub-region to obtain the age score corresponding to each face sub-region includes: Performing texture simulation processing on the key point set corresponding to each face sub-region to obtain a face texture trend graph of each face sub-region after simulation; In a preset facial line trend graph database, the age score corresponding to the facial line trend graph of each facial sub-region is queried to obtain the age score corresponding to each facial sub-region.

4. The method according to claim 2, characterized in that: The step of performing data processing on the age score corresponding to each face sub-region to obtain the age information of the person to be verified includes: Obtaining a preset face sub-region weight set, wherein the preset face sub-region weight set includes a weight of each face sub-region; Performing weighted processing on the age score corresponding to each face sub-region and the weight corresponding to each face sub-region in the preset face sub-region weight set to obtain a target age score corresponding to each face sub-region; The target age scores corresponding to all face sub-regions are averaged to obtain the age information of the person to be verified.

5. The method according to claim 1, characterized in that The switch instructions include an opening instruction and a closing instruction, and the determining of the switch instructions of door A and door B according to the age information and the AB door control strategy includes: Obtain a mapping table of preset ages and door opening control parameters; Using the age information as a query identifier, querying in the mapping table of the preset age and the door opening control parameter to obtain the target door opening control parameter corresponding to the age information, wherein the target door opening control parameter includes the door opening and closing speed and the door opening duration; Generate an opening instruction for the door A and the door B according to the target door opening control parameter; Performing pass authentication on the person to be authenticated to obtain a pass authentication result; If the pass authentication result is passed, a closing instruction for the door A and the door B is generated according to the door opening and closing speed in the opening instruction; or, If the pass authentication result is failure, the B door is closed and the A door is opened.

6. The method according to claim 5, characterized in that After generating the opening instructions for the door A and the door B according to the target door opening control parameter, the method further includes: Collecting the number of persons to be verified who have entered the first area corresponding to the gate A; According to the number of people entering the door, the closing instructions of the door A and the door B are determined.

7. The method according to claim 6, characterized in that The step of determining the closing instructions of the door A and the door B according to the number of people entering the door comprises: Comparing the number of people entering the site with the number of certified persons to be verified; If the number of persons to be verified is greater than or equal to the number of people entering, a closing instruction for the door A and the door B is generated according to the door opening and closing speed in the opening instruction; or, If the authenticated number of persons to be verified is less than the number of people entering, door A is continuously opened according to the door opening and closing speed and door opening and closing time in the opening instruction.

8. The method according to claim 1, characterized in that The persons to be verified include at least two persons to be verified. After determining the age information of the persons to be verified based on the facial images of the persons to be verified, the method further includes: Obtaining age information corresponding to the at least two persons to be verified; If the age information corresponding to the at least two persons to be verified are not in the same age group, and the age difference between the age information corresponding to the at least two persons to be verified exceeds the preset age threshold, the preset opening mode is triggered, and the opening instruction corresponding to the preset opening mode is to continuously open the A door and the B door in a preset time period.

9. A control device for an AB door, characterized in that: The control system applied to AB door comprises: An acquisition unit, used for acquiring a face image of a person to be verified; A determination unit, used to determine the age information of the person to be verified based on the facial image of the person to be verified; The determining unit is further used to determine the switch instructions of door A and door B according to the age information and the AB door control strategy.

10. A control system for an AB door, characterized in that: It includes a memory and a processor, the memory is connected to the processor, the processor is used to execute one or more computer programs stored in the memory, and when the processor executes the one or more computer programs, the control system of the AB gate implements the AB gate control method as described in any one of claims 1-8.

Citation Information

Cited By

  • Age prediction method and system based on facial fine granularity

    CN121686535A

  • A face-based fine-grained age prediction method and system

    CN121686535B