A smart security monitoring method and system
By dividing different areas in the community and setting up different levels of monitoring equipment, and using AI intelligent analysis algorithms for real-time monitoring and comparison, the existing community security system has solved the problem of insufficient protection against unknown external persons, and improved the community's security capabilities and Security.
Patent Information
- Application Number
- CN202410404221.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-07
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-04-07
AI Technical Summary
The existing community security system is insufficient in preventing unknown external persons and cannot stop potentially dangerous behaviors in a timely manner, resulting in greater safety hazards.
Adopt smart security monitoring methods and systems to divide the community into community boundaries, community entrances, residential areas and public areas, place third-level, second-level and first-level monitoring equipment respectively, and use AI intelligent analysis algorithms for real-time monitoring and comparison. According to Set up monitoring equipment at different levels according to environmental complexity and security threats to improve security capabilities.
It effectively improves the security monitoring capabilities of the community. By rationally allocating computing power and adapting the data density and processing accuracy of the environment where the equipment is located, it can promptly identify and alert suspicious foreign persons and abnormal behaviors of local residents, thereby enhancing the security of the community.
Smart Images

Figure CN118450087B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of community security data processing, and in particular to a smart security monitoring method and system. Background Art
[0002] With the continuous acceleration of urbanization, more and more people are moving into residential communities planned and built by the government. With the improvement of safety awareness, residential security has gradually become an important indicator that people must consider when making selective purchases, and it has attracted more and more attention from community owners. For people who already have a good life materially, safety is naturally the most important factor besides material things.
[0003] However, existing security systems are usually focused on home security, with insufficient management of the community and insufficient prevention of unknown external personnel. If outsiders make dangerous actions in the community and cannot be stopped in time, the security system will be in a dangerous state, posing a considerable safety hazard. Summary of the invention
[0004] The embodiment of the present invention provides a smart security monitoring method and system, which sets three monitoring levels of monitoring equipment from the outside to the inside of the community as a whole, thereby improving the security monitoring capabilities of the entire community in different environments.
[0005] A first aspect of an embodiment of the present application provides a smart security monitoring method, including:
[0006] Establish a community face database based on owner information;
[0007] Identify the community boundaries, community entrances, residential areas and public areas, install third-level monitoring equipment at the community entrance according to the number of access control points, install second-level monitoring equipment at the community boundaries at preset distances, and install first-level monitoring equipment at the IoT devices in residential areas and public areas;
[0008] Each level 3 monitoring device is connected to the community face database as the main level 3 comparison database, and is connected to the external suspicious person database and highly suspicious molecule database as the backup level 3 comparison database. Each level 3 monitoring device compares the real-time monitoring results with the main level 3 comparison database and the backup level 3 comparison database in turn, and reminds the staff to alarm when the comparison results meet the alarm conditions;
[0009] Each secondary monitoring device is connected to the community face database as the main secondary comparison database, and is connected to the preset human posture database as the backup secondary comparison database. Each secondary monitoring device compares the real-time monitoring results with the main secondary comparison database and the backup secondary comparison database, and reminds the staff to confirm when the comparison result meets the first abnormal condition;
[0010] Each first-level monitoring device is connected to the community face database as the main first-level comparison database, and is connected to the preset human posture database as the backup first-level comparison database. Each first-level monitoring device compares the real-time monitoring results with the main first-level comparison database and the backup first-level comparison database, and reminds the staff to confirm when the comparison results meet the second abnormal condition.
[0011] In a possible implementation of the first aspect, each of the three-level monitoring devices compares the real-time monitoring results with the main three-level comparison library and the backup three-level comparison library in sequence, and reminds a staff member to issue an alarm when the comparison result meets the alarm condition, specifically including:
[0012] Set the minimum face size of the image pyramid according to the average face size in the historical records of the three-level monitoring equipment, the factor of the image pyramid is less than 1, and the cube of the minimum face size is ≥ the side length of the input box of P-Net;
[0013] Each three-level monitoring device inputs the real-time monitoring results into the image pyramid to obtain a multi-scale three-level monitoring image;
[0014] Input the multi-scale three-level monitoring image into P-Net, R-Net and O-Net in sequence;
[0015] According to the coordinate information, score and key point positions of the N3 bounding boxes output by O-Net, N3 facial feature vectors are generated to form a three-level feature matrix; N3 is a natural number;
[0016] Generate multiple main three-level comparison library matrices and multiple secondary three-level comparison library matrices in sequence according to the main three-level comparison library and the backup three-level comparison library;
[0017] If the three-level feature matrix, multiple main three-level comparison library matrices and multiple secondary three-level comparison library matrices meet similar conditions, the staff is reminded to issue an alarm.
[0018] In a possible implementation of the first aspect, if the three-level feature matrix, the plurality of primary three-level comparison library matrices, and the plurality of secondary three-level comparison library matrices meet a similarity condition, a staff member is reminded to issue an alarm, specifically including:
[0019] If the three-level characteristic matrix is not similar to multiple main three-level comparison library matrices, and the three-level characteristic matrix is similar to one of the three-level comparison library matrices among multiple secondary three-level comparison library matrices, the alarm condition is met and the staff is reminded to issue an alarm.
[0020] In a possible implementation of the first aspect, each secondary monitoring device compares the real-time monitoring result with the primary secondary comparison library and the backup secondary comparison library, and when the comparison result meets the first abnormal condition, prompts a staff member to confirm, specifically including:
[0021] Set the minimum face size of the image pyramid according to the average face size in the historical records of the secondary monitoring device, the factor of the image pyramid is less than 1, and the square value of the minimum face size is ≥ the side length of the R-Net input box;
[0022] Each secondary monitoring device inputs the real-time monitoring results into the image pyramid to obtain a multi-scale secondary monitoring image;
[0023] Input the multi-scale three-level monitoring image into P-Net and R-Net in sequence;
[0024] According to the coordinate information, score and key point positions of the N2 bounding boxes output by R-Net, N2 facial feature vectors are generated to form a secondary feature matrix; N2 is a natural number;
[0025] Generate multiple primary and secondary comparison library matrices according to the primary and secondary comparison libraries;
[0026] If the secondary feature matrix is similar to one of the secondary comparison library matrices in the plurality of primary secondary comparison library matrices, extracting a secondary video of a preset length corresponding to the person in the secondary feature matrix;
[0027] The behavior of the corresponding community person is identified based on the secondary video and the backup secondary comparison library, and if the first abnormal condition is met, the staff is reminded to confirm.
[0028] In a possible implementation of the first aspect, the identifying the behavior of the corresponding person according to the secondary video and the backup secondary comparison library, if the first abnormal condition is met, prompting a staff member to confirm, specifically includes:
[0029] Sampling the secondary video at equal intervals to obtain a plurality of secondary behavior images;
[0030] Multiple secondary behavior images are sequentially input into the OKS model improved by YOLO-Pose to obtain the similarity between each secondary behavior image and the target key points of each target behavior in the secondary comparison library. If the similarity between the target key points of the secondary behavior images greater than a preset number threshold and a target behavior in the secondary comparison library is greater than the first similarity threshold, the first abnormal condition is met and the staff is reminded to confirm.
[0031] In a possible implementation of the first aspect, each secondary monitoring device compares the real-time monitoring result with the primary secondary comparison library and the backup secondary comparison library, and when the comparison result meets the first abnormal condition, prompts a staff member to confirm, specifically including:
[0032] Set the minimum face size of the image pyramid according to the average face size in the historical records of the secondary monitoring device, the factor of the image pyramid is less than 1, and the square value of the minimum face size is ≥ the side length of the R-Net input box;
[0033] Each secondary monitoring device inputs the real-time monitoring results into the image pyramid to obtain a multi-scale secondary monitoring image;
[0034] Input the multi-scale secondary monitoring image into P-Net and R-Net in sequence;
[0035] According to the coordinate information, score and key point positions of the N2 bounding boxes output by R-Net, N2 facial feature vectors are generated to form a secondary feature matrix; N2 is a natural number;
[0036] Generate multiple primary and secondary comparison library matrices according to the primary and secondary comparison libraries;
[0037] If the secondary feature matrix is not similar to all the secondary comparison library matrices in the plurality of primary secondary comparison library matrices, extracting a secondary video of a preset length corresponding to the person in the secondary feature matrix;
[0038] The behavior of the corresponding stranger is identified according to the secondary video and the backup secondary comparison library, and if the first abnormal condition is met, the staff is reminded to confirm.
[0039] In a possible implementation of the first aspect, each of the first-level monitoring devices compares the real-time monitoring result with the main first-level comparison library and the backup first-level comparison library, and when the comparison result meets the second abnormal condition, prompts a staff member to confirm, specifically including:
[0040] Set the minimum face size of the image pyramid according to the average face size in the historical records of the first-level monitoring device, the factor of the image pyramid is less than 1, and the minimum face size is ≥ the side length of the input box of P-Net;
[0041] Each first-level monitoring device inputs the real-time monitoring results into the image pyramid to obtain a multi-scale first-level monitoring image;
[0042] Input the multi-scale primary monitoring image into P-Net;
[0043] According to the coordinate information, score and key point positions of the N1 bounding boxes output by P-Net, N1 facial feature vectors are generated to form a first-level feature matrix; N1 is a natural number;
[0044] Generate multiple primary comparison library matrices according to the primary comparison library;
[0045] If the primary feature matrix is similar to one of the primary comparison library matrices in the plurality of primary comparison library matrices, extracting a primary video of a preset length corresponding to the person in the primary feature matrix;
[0046] The behavior of the corresponding community person is identified based on the first-level video and the backup first-level comparison library, and if the second abnormal condition is met, the staff is reminded to confirm.
[0047] In a possible implementation of the first aspect, identifying the behavior of the corresponding community person according to the first-level video and the backup first-level comparison library, and if the second abnormal condition is met, reminding the staff to confirm, specifically includes:
[0048] Sampling the first-level video at equal intervals to obtain a plurality of first-level behavior images;
[0049] Multiple first-level behavior images are sequentially input into the OKS model improved by YOLO-Pose to obtain the similarity between each first-level behavior image and the target key points of each target behavior in the backup first-level comparison library. If the similarity between the first-level behavior images greater than a preset number threshold and the target key points of a target behavior in the backup first-level comparison library is greater than a second similarity threshold, the second abnormal condition is met and the staff is reminded to confirm.
[0050] In a possible implementation of the first aspect, each of the first-level monitoring devices compares the real-time monitoring result with the main first-level comparison library and the backup first-level comparison library, and when the comparison result meets the second abnormal condition, prompts a staff member to confirm, specifically including:
[0051] Set the minimum face size of the image pyramid according to the average face size in the historical records of the first-level monitoring device, the factor of the image pyramid is less than 1, and the minimum face size is ≥ the side length of the input box of P-Net;
[0052] Each first-level monitoring device inputs the real-time monitoring results into the image pyramid to obtain a multi-scale first-level monitoring image;
[0053] Input the multi-scale primary monitoring image into P-Net;
[0054] According to the coordinate information, score and key point positions of the N1 bounding boxes output by P-Net, N1 facial feature vectors are generated to form a first-level feature matrix; N1 is a natural number;
[0055] Generate multiple primary comparison library matrices according to the primary comparison library;
[0056] If the primary feature matrix is not similar to all primary comparison library matrices in the plurality of primary comparison library matrices, extracting a primary video of a preset length of the person corresponding to the primary feature matrix;
[0057] The behavior of the corresponding stranger is identified based on the first-level video and the backup first-level comparison library. If the second abnormal condition is met, the staff is reminded to confirm.
[0058] A second aspect of the embodiment of the present application provides a smart security monitoring system, including:
[0059] A database building module is used to build a community face database based on owner information;
[0060] The placement module is used to confirm the community boundaries, community entrances, residential areas and public areas, place third-level monitoring equipment at the community entrance according to the number of access control, place second-level monitoring equipment at the community boundary according to the preset distance, and place first-level monitoring equipment at the IoT devices in residential areas and public areas;
[0061] The alarm module is used for each third-level monitoring device to access the community face database as the main third-level comparison database, and access the external suspicious person database and highly suspicious molecule database as the backup third-level comparison database. Each third-level monitoring device compares the real-time monitoring results with the main third-level comparison database and the backup third-level comparison database in turn, and reminds the staff to alarm when the comparison results meet the alarm conditions;
[0062] The first abnormal confirmation module is used for each secondary monitoring device to access the community face database as the main secondary comparison database, and access the preset human posture database as the backup secondary comparison database. Each secondary monitoring device compares the real-time monitoring results with the main secondary comparison database and the backup secondary comparison database, and reminds the staff to confirm when the comparison result meets the first abnormal condition;
[0063] The second abnormal confirmation module is used for each first-level monitoring device to access the community face library as the main first-level comparison library, and access the preset human posture library as the backup first-level comparison library. Each first-level monitoring device compares the real-time monitoring results with the main first-level comparison library and the backup first-level comparison library. When the comparison results meet the second abnormal condition, the staff is reminded to confirm.
[0064] Compared with the prior art, the embodiment of the present invention provides a smart security monitoring method and system, which divides the smart community into four parts according to the complexity of the environment and the security threat - community boundary, community entrance, residential area and public area, and sets the different levels of monitoring equipment required for each part. The resolution fineness (number of convolution layers) of the AI intelligent analysis algorithm used by different levels of monitoring equipment is different, which is conducive to the reasonable allocation of computing power and the data density and processing accuracy of the community environment where the equipment is located. The third-level monitoring equipment is placed at the entrance of the community according to the number of access control, the second-level monitoring equipment is placed at the preset distance at the community boundary, and the first-level monitoring equipment is placed at the Internet of Things devices in residential areas and public areas. The environmental data density processed by the third-level monitoring equipment, the second-level monitoring equipment and the first-level monitoring equipment are all from large to small. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 It is a flowchart of a smart security monitoring method provided by an embodiment of the present invention;
[0066] Figure 2 It is a structural schematic diagram of a smart security monitoring system provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0067] 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.
[0068] Please refer to Figure 1 , an embodiment of the present invention provides a smart security monitoring method, comprising:
[0069] S10. Establish a community face database based on the owner information.
[0070] S11. Confirm the community boundaries, community entrances, residential areas and public areas, install third-level monitoring equipment at the community entrance according to the number of access control systems, install second-level monitoring equipment at the community boundaries at preset distances, and install first-level monitoring equipment at the IoT devices in residential areas and public areas.
[0071] S12. Each level-3 monitoring device is connected to the community face database as the main level-3 comparison database, and is connected to the external suspicious person database and highly suspicious molecule database as the backup level-3 comparison database. Each level-3 monitoring device compares the real-time monitoring results with the main level-3 comparison database and the backup level-3 comparison database in turn, and reminds the staff to sound an alarm when the comparison results meet the alarm conditions.
[0072] S13. Each secondary monitoring device is connected to the community face database as the main secondary comparison database, and is connected to the preset human posture database as the backup secondary comparison database. Each secondary monitoring device compares the real-time monitoring results with the main secondary comparison database and the backup secondary comparison database, and reminds the staff to confirm when the comparison results meet the first abnormal condition.
[0073] S14. Each first-level monitoring device is connected to the community face database as the main first-level comparison database, and is connected to the preset human posture database as the backup first-level comparison database. Each first-level monitoring device compares the real-time monitoring results with the main first-level comparison database and the backup first-level comparison database, and when the comparison results meet the second abnormal condition, the staff is reminded to confirm.
[0074] In S11, since the entrance to the community is the normal flow of people in the smart community project, the total number of people passing through every day is the largest and relatively dense, and outsiders also need to register here. Therefore, the amount of data that needs to be processed by the monitoring equipment here is the largest and relatively dense, so the third-level monitoring equipment with the highest precision of the built-in AI processing algorithm is chosen to be placed here. The placement of second-level monitoring equipment at a preset distance at the community boundary is more to monitor the suspicious behavior of non-local residents and the abnormal behavior of local residents. Therefore, the second-level monitoring equipment with a higher precision of the built-in AI processing algorithm is chosen to be placed here. Since the residential area and public area are inside the community and have higher security, the amount of data that each monitoring device needs to process is generally for a few households, and the data volume is small, so the first-level monitoring equipment with a lower precision of the built-in AI processing algorithm is chosen to be placed here.
[0075] The third-level monitoring equipment in S12 uses the suspicious person database and the highly suspicious element database to screen outsiders to prevent dangerous outsiders from entering the community. It should be noted that if a local resident of the community is suspected of making highly suspicious actions or has made highly suspicious actions, the system will delete the suspicious person or highly suspicious element from the community face database.
[0076] In S13 and S14, the secondary monitoring device and the primary monitoring device call the built-in AI algorithm to process the collected data to different degrees, aiming to identify the abnormal behavior of local residents and the suspicious behavior of non-local residents. The action set of suspicious behavior of non-local residents is larger than the action set of abnormal behavior of local residents, that is, in this embodiment, non-local residents will have more actions classified as suspicious behavior, and the monitoring intensity will be greater than that of local residents.
[0077] Compared with the prior art, the embodiment of the present invention provides a smart security monitoring method, which divides the smart community into four parts according to the complexity of the environment and the security threat - community boundary, community entrance, residential area and public area, and determines the different levels of monitoring equipment required for each part. The resolution fineness (number of convolution layers) of the AI intelligent analysis algorithm used by different levels of monitoring equipment is different, which is conducive to the reasonable allocation of computing power and the data density and processing accuracy of the community environment where the equipment is located. The third-level monitoring equipment is placed at the entrance of the community according to the number of access control, the second-level monitoring equipment is placed at the preset distance at the community boundary, and the first-level monitoring equipment is placed at the Internet of Things devices in residential areas and public areas. The environmental data density processed by the third-level monitoring equipment, the second-level monitoring equipment and the first-level monitoring equipment are all from large to small. The processing accuracy of the required analysis technology is from large to small.
[0078] Exemplarily, each of the three-level monitoring devices compares the real-time monitoring results with the main three-level comparison library and the backup three-level comparison library in sequence, and reminds the staff to issue an alarm when the comparison results meet the alarm conditions, specifically including:
[0079] Set the minimum face size of the image pyramid according to the average face size in the historical records of the three-level monitoring equipment, the factor of the image pyramid is less than 1, and the cube of the minimum face size is ≥ the side length of the input box of P-Net;
[0080] Each three-level monitoring device inputs the real-time monitoring results into the image pyramid to obtain a multi-scale three-level monitoring image;
[0081] Input the multi-scale three-level monitoring image into P-Net, R-Net and O-Net in sequence;
[0082] According to the coordinate information, score and key point positions of the N3 bounding boxes output by O-Net, N3 facial feature vectors are generated to form a three-level feature matrix; N3 is a natural number;
[0083] Generate multiple main three-level comparison library matrices and multiple secondary three-level comparison library matrices in sequence according to the main three-level comparison library and the backup three-level comparison library;
[0084] If the three-level feature matrix, multiple main three-level comparison library matrices and multiple secondary three-level comparison library matrices meet similar conditions, the staff is reminded to issue an alarm.
[0085] In this embodiment, the real-time monitoring results are used to generate an image pyramid, and then images of different scales are input into the three sub-networks of P-Net, R-Net and O-Net for training, in order to detect faces of different sizes, thereby realizing multi-scale target detection. The construction method is to scale the image by different scaling factors.
[0086] The reason for performing a "pyramid" transformation on the image is that the faces in the image vary in size, and it has always been a challenge to prevent the recognition algorithm from being affected by the target scale.
[0087] MTCNN uses an image pyramid to solve the multi-scale problem of targets. That is, the original image is scaled multiple times in a certain ratio (such as 0.707) to obtain a multi-scale image, which looks like a pyramid.
[0088] The P-Net model is trained with single-scale 12×12 images. During inference, the minimum length and width after reduction cannot be less than 12. Training input images of multiple scales is very time-consuming. Therefore, the image pyramid is usually only used in the inference stage to improve the accuracy of the algorithm. Setting an appropriate minimum face size and scaling factor can optimize computing efficiency. Since the image pyramid, P-Net, R-Net and O-Net are all arranged on the three-level monitoring equipment, due to the demand for computing efficiency, this embodiment chooses to set the minimum face size of the image pyramid according to the average face size in the historical records of the three-level monitoring equipment (the minimum face size refers to the minimum size of the face that needs to be recognized in the picture, in px), the image pyramid factor = 0.707, and the cube of the minimum face size is ≥ the length of the input box of P-Net.
[0089] The first layer P-Net will output classification (whether there is a face at the corresponding pixel) and regression (regression box) results after convolution and pooling operations. The second layer network uses non-maximum suppression (NMS) to remove highly overlapping candidate boxes from the first layer output, and puts these candidate boxes into R-Net for fine operations, rejecting a large number of wrong boxes, and then corrects the regression mine, and uses NMS to remove overlapping boxes. The output branch also has two classifications and regressions; finally, the candidate boxes that R-Net outputs as faces are input into O-Net for fine operations again, rejecting the wrong boxes. At this time, the output branch contains three classifications: a) whether there is a face, 2 outputs; b) regression: the xy coordinates of the starting point of the box obtained by regression and the length and width of the box, 4 outputs; c) facial feature point positioning: the xy coordinates of 5 facial feature points, 10 outputs. All three networks have NMS, but the thresholds are set differently.
[0090] The three-level feature matrix is formed by feature extraction through MTCNN, and then the feature distance (the smaller the better) or similarity (the larger the better) between different faces (multiple main three-level comparison library matrices and multiple secondary three-level comparison library matrices) is used. Then, the matrix similarity is judged based on a certain threshold, and then the similarity judgment result is used to determine whether the two faces are the same person.
[0091] Exemplarily, if the three-level feature matrix, multiple main three-level comparison library matrices, and multiple secondary three-level comparison library matrices meet similarity conditions, the staff is reminded to issue an alarm, specifically including:
[0092] If the three-level characteristic matrix is not similar to multiple main three-level comparison library matrices, and the three-level characteristic matrix is similar to one of the three-level comparison library matrices among multiple secondary three-level comparison library matrices, the alarm condition is met and the staff is reminded to issue an alarm.
[0093] The primary three-level comparison library matrix represents the facial information of local residents, and the secondary three-level comparison library matrix represents the facial information of suspicious people and highly suspicious people. When highly suspicious information is matched, the staff will be reminded to call the police. The local residents' information is matched first because in most cases, only local residents enter and leave the smart community, so giving priority to judgment can avoid unnecessary hardware computing overhead.
[0094] Exemplarily, each secondary monitoring device compares the real-time monitoring result with the primary secondary comparison library and the backup secondary comparison library, and reminds the staff to confirm when the comparison result meets the first abnormal condition, specifically including:
[0095] Set the minimum face size of the image pyramid according to the average face size in the historical records of the secondary monitoring device, the factor of the image pyramid is less than 1, and the square value of the minimum face size is ≥ the side length of the R-Net input box;
[0096] Each secondary monitoring device inputs the real-time monitoring results into the image pyramid to obtain a multi-scale secondary monitoring image;
[0097] Input the multi-scale three-level monitoring image into P-Net and R-Net in sequence;
[0098] According to the coordinate information, score and key point positions of the N2 bounding boxes output by R-Net, N2 facial feature vectors are generated to form a secondary feature matrix; N2 is a natural number;
[0099] Generate multiple primary and secondary comparison library matrices according to the primary and secondary comparison libraries;
[0100] If the secondary feature matrix is similar to one of the secondary comparison library matrices in the plurality of primary secondary comparison library matrices, extracting a secondary video of a preset length corresponding to the person in the secondary feature matrix;
[0101] The behavior of the corresponding community person is identified based on the secondary video and the backup secondary comparison library, and if the first abnormal condition is met, the staff is reminded to confirm.
[0102] In this embodiment, the real-time monitoring results are used to generate an image pyramid, and then images of different scales are input into the two sub-networks of P-Net and R-Net for training, in order to detect faces of different sizes, thereby realizing multi-scale target detection. The construction method is to scale the image by different scaling factors.
[0103] CNN uses an image pyramid to solve the multi-scale problem of targets, that is, the original image is scaled multiple times in a certain ratio (such as 0.707) to obtain a multi-scale image, which looks like a pyramid.
[0104] The P-Net model is trained with single-scale 12×12 images. During inference, the minimum length and width after reduction cannot be less than 12. Training input images of multiple scales is very time-consuming. Therefore, the image pyramid is usually only used in the inference stage to improve the accuracy of the algorithm. Setting an appropriate minimum face size and scaling factor can optimize computing efficiency. Since the image pyramid, P-Net and R-Net are all arranged on the secondary monitoring device, due to the demand for computing efficiency, this embodiment chooses to set the minimum face size of the image pyramid according to the average face size in the historical records of the secondary monitoring device (the minimum face size refers to the minimum size of the face that needs to be recognized in the picture, in px), the image pyramid factor = 0.707, and the square value of the minimum face size ≥ the side length of the input box of P-Net.
[0105] The first layer P-Net will go through convolution and pooling operations and then output classification (whether there is a face at the corresponding pixel) and regression (regression box) results. The second layer of the network uses non-maximum suppression (NMS) to remove highly overlapping candidate boxes from the output of the first layer, and puts these candidate boxes into R-Net for fine operations, rejecting a large number of error boxes, and then corrects the regression mine, and uses NMS to remove overlapping boxes. The output branch also has two classifications and regressions; at this time, the output branch contains three classifications: a) whether there is a face, 2 outputs; b) regression: the xy coordinates of the starting point of the box obtained by regression and the length and width of the box, 4 outputs; c) facial feature point positioning: the xy coordinates of 5 facial feature points, 10 outputs. Both networks have NMS, but the thresholds are set differently.
[0106] The secondary feature matrix is formed by feature extraction through CNN, and then the feature distance (the smaller the better) or similarity (the larger the better) between different faces (multiple main secondary comparison library matrices and multiple secondary comparison library matrices) is used. Then, the matrix similarity is judged based on a certain threshold, and then the similarity judgment result is used to determine whether the two faces are the same person.
[0107] Exemplarily, the identifying the behavior of the corresponding person according to the secondary video and the backup secondary comparison library, if the first abnormal condition is met, prompting the staff to confirm, specifically includes:
[0108] Sampling the secondary video at equal intervals to obtain a plurality of secondary behavior images;
[0109] Multiple secondary behavior images are sequentially input into the OKS model improved by YOLO-Pose to obtain the similarity between each secondary behavior image and the target key points of each target behavior in the secondary comparison library. If the similarity between the target key points of the secondary behavior images greater than a preset number threshold and a target behavior in the secondary comparison library is greater than the first similarity threshold, the first abnormal condition is met and the staff is reminded to confirm.
[0110] YOLO-Pose is a new heatmap-free joint detection method based on the pose estimation of the YOLO object detection framework. Existing heatmap-based two-stage methods are not optimal because they are not end-to-end trained and the training relies on the alternative L1 loss, which is not equivalent to maximizing the evaluation metric, namely the object keypoint similarity (OKS). YOLO-Pose can train the model end-to-end and optimize the OKS metric itself.
[0111] When the secondary video is sampled at equal intervals, the interval can be set to 0.1s, and the preset quantity threshold can be set to 7. If more than 7 of the 10 secondary behavior images obtained from the secondary video with a length of 1s are greater than the first similarity threshold when the target key point similarity comparison is performed, the first abnormal condition is met and the staff is reminded to confirm.
[0112] Exemplarily, each secondary monitoring device compares the real-time monitoring result with the primary secondary comparison library and the backup secondary comparison library, and reminds the staff to confirm when the comparison result meets the first abnormal condition, specifically including:
[0113] Set the minimum face size of the image pyramid according to the average face size in the historical records of the secondary monitoring device, the factor of the image pyramid is less than 1, and the square value of the minimum face size is ≥ the side length of the R-Net input box;
[0114] Each secondary monitoring device inputs the real-time monitoring results into the image pyramid to obtain a multi-scale secondary monitoring image;
[0115] Input the multi-scale secondary monitoring image into P-Net and R-Net in sequence;
[0116] According to the coordinate information, score and key point positions of the N2 bounding boxes output by R-Net, N2 facial feature vectors are generated to form a secondary feature matrix; N2 is a natural number;
[0117] Generate multiple primary and secondary comparison library matrices according to the primary and secondary comparison libraries;
[0118] If the secondary feature matrix is not similar to all the secondary comparison library matrices in the plurality of primary secondary comparison library matrices, extracting a secondary video of a preset length corresponding to the person in the secondary feature matrix;
[0119] The behavior of the corresponding stranger is identified according to the secondary video and the backup secondary comparison library, and if the first abnormal condition is met, the staff is reminded to confirm.
[0120] Different from the above embodiment, after identifying that the target person is from a foreign population, this embodiment uses the secondary comparison library to compare actions, and more actions will be compared, that is, the target behavior set composed of each target behavior will be larger.
[0121] Exemplarily, each of the first-level monitoring devices compares the real-time monitoring results with the main first-level comparison library and the backup first-level comparison library, and when the comparison result meets the second abnormal condition, reminds the staff to confirm, specifically including:
[0122] Set the minimum face size of the image pyramid according to the average face size in the historical records of the first-level monitoring device, the factor of the image pyramid is less than 1, and the minimum face size is ≥ the side length of the input box of P-Net;
[0123] Each first-level monitoring device inputs the real-time monitoring results into the image pyramid to obtain a multi-scale first-level monitoring image;
[0124] Input the multi-scale primary monitoring image into P-Net;
[0125] According to the coordinate information, score and key point positions of the N1 bounding boxes output by P-Net, N1 facial feature vectors are generated to form a first-level feature matrix; N1 is a natural number;
[0126] Generate multiple primary comparison library matrices according to the primary comparison library;
[0127] If the primary feature matrix is similar to one of the primary comparison library matrices in the plurality of primary comparison library matrices, extracting a primary video of a preset length corresponding to the person in the primary feature matrix;
[0128] The behavior of the corresponding community person is identified based on the first-level video and the backup first-level comparison library, and if the second abnormal condition is met, the staff is reminded to confirm.
[0129] In this embodiment, the real-time monitoring results are used to generate an image pyramid, and then images of different scales are input into the P-Net sub-network for training, so as to detect faces of different sizes, thereby realizing multi-scale target detection. The construction method is to scale the image by different scaling factors.
[0130] CNN uses an image pyramid to solve the multi-scale problem of targets, that is, the original image is scaled multiple times in a certain ratio (such as 0.707) to obtain a multi-scale image, which looks like a pyramid.
[0131] The P-Net model is trained with single-scale 12×12 images. During inference, the minimum length and width after reduction cannot be less than 12. Training input images of multiple scales is very time-consuming. Therefore, the image pyramid is usually only used in the inference stage to improve the accuracy of the algorithm. Setting an appropriate minimum face size and scaling factor can optimize computing efficiency. Since the image pyramid and P-Net are both arranged on the secondary monitoring device, for the purpose of computing efficiency, this embodiment chooses to set the minimum face size of the image pyramid according to the average face size in the historical records of the secondary monitoring device (the minimum face size refers to the minimum size of the face that needs to be recognized in the picture, in px), the image pyramid factor = 0.707, and makes (minimum face size) ≥ the side length of the input box of P-Net.
[0132] P-Net will output classification (whether there is a face at the corresponding pixel) and regression (regression box) results after convolution and pooling operations, and then correct the regression mine and use NMS to remove overlapping boxes. The output branch also has two classifications and regressions; at this time, the output branch contains three classifications: a) whether there is a face, 2 outputs; b) regression: the xy coordinates of the starting point of the box obtained by regression and the length and width of the box, 4 outputs; c) facial feature point positioning: the xy coordinates of 5 facial feature points, 10 outputs. The network has NMS, and the threshold needs to be set as needed.
[0133] The first-level feature matrix is formed by feature extraction through CNN, and then the feature distance (the smaller the better) or similarity (the larger the better) between different faces (multiple main first-level comparison library matrices and multiple secondary first-level comparison library matrices) is used. Then, the matrix similarity is judged based on a certain threshold, and then the similarity judgment result is used to determine whether the two faces are the same person.
[0134] Exemplarily, the behavior of the corresponding community person is identified based on the first-level video and the backup first-level comparison library, and if the second abnormal condition is met, the staff is reminded to confirm, specifically including:
[0135] Sampling the first-level video at equal intervals to obtain a plurality of first-level behavior images;
[0136] Multiple first-level behavior images are sequentially input into the OKS model improved by YOLO-Pose to obtain the similarity between each first-level behavior image and the target key points of each target behavior in the backup first-level comparison library. If the similarity between the first-level behavior images greater than a preset number threshold and the target key points of a target behavior in the backup first-level comparison library is greater than a second similarity threshold, the second abnormal condition is met and the staff is reminded to confirm.
[0137] Exemplarily, each of the first-level monitoring devices compares the real-time monitoring results with the main first-level comparison library and the backup first-level comparison library, and when the comparison result meets the second abnormal condition, reminds the staff to confirm, specifically including:
[0138] Set the minimum face size of the image pyramid according to the average face size in the historical records of the first-level monitoring device, the factor of the image pyramid is less than 1, and the minimum face size is ≥ the side length of the input box of P-Net;
[0139] Each first-level monitoring device inputs the real-time monitoring results into the image pyramid to obtain a multi-scale first-level monitoring image;
[0140] Input the multi-scale primary monitoring image into P-Net;
[0141] According to the coordinate information, score and key point positions of the N1 bounding boxes output by P-Net, N1 facial feature vectors are generated to form a first-level feature matrix; N1 is a natural number;
[0142] Generate multiple primary comparison library matrices according to the primary comparison library;
[0143] If the primary feature matrix is not similar to all primary comparison library matrices in the plurality of primary comparison library matrices, extracting a primary video of a preset length of the person corresponding to the primary feature matrix;
[0144] The behavior of the corresponding stranger is identified based on the first-level video and the backup first-level comparison library. If the second abnormal condition is met, the staff is reminded to confirm.
[0145] Compared with the prior art, the embodiment of the present invention provides a smart security monitoring method, which divides the smart community into four parts according to the complexity of the environment and the security threat - community boundary, community entrance, residential area and public area, and determines the different levels of monitoring equipment required for each part. The resolution fineness (number of convolution layers) of the AI intelligent analysis algorithm used by different levels of monitoring equipment is different, which is conducive to the reasonable allocation of computing power and the data density and processing accuracy of the community environment where the equipment is located. The third-level monitoring equipment is placed at the entrance of the community according to the number of access control, the second-level monitoring equipment is placed at the preset distance at the community boundary, and the first-level monitoring equipment is placed at the Internet of Things devices in residential areas and public areas. The environmental data density processed by the third-level monitoring equipment, the second-level monitoring equipment and the first-level monitoring equipment are all from large to small. The processing accuracy of the required analysis technology is from large to small.
[0146] Another embodiment of the present application provides a smart security monitoring system, including: a library establishment module 20, a placement module 21, an alarm module 22, a first abnormality confirmation module 23 and a second abnormality confirmation module 24.
[0147] The database establishment module 20 is used to establish a community face database based on the owner information.
[0148] The placement module 21 is used to confirm the community boundaries, community entrances, residential areas and public areas, place third-level monitoring equipment at the community entrance according to the number of access control, place second-level monitoring equipment at the community boundary at a preset distance, and place first-level monitoring equipment at the Internet of Things devices in residential areas and public areas.
[0149] The alarm module 22 is used for each third-level monitoring device to access the community face database as the main third-level comparison database, and to access the external suspicious person database and highly suspicious molecule database as the backup third-level comparison database. Each third-level monitoring device will compare the real-time monitoring results with the main third-level comparison database and the backup third-level comparison database in turn, and remind the staff to sound an alarm when the comparison results meet the alarm conditions.
[0150] The first abnormal confirmation module 23 is used for each secondary monitoring device to access the community face library as the main secondary comparison library, and access the preset human posture library as the backup secondary comparison library. Each secondary monitoring device compares the real-time monitoring results with the main secondary comparison library and the backup secondary comparison library, and reminds the staff to confirm when the comparison results meet the first abnormal condition.
[0151] The second abnormal confirmation module 24 is used for each first-level monitoring device to access the community face library as the main first-level comparison library, and access the preset human posture library as the backup first-level comparison library. Each first-level monitoring device compares the real-time monitoring results with the main first-level comparison library and the backup first-level comparison library, and reminds the staff to confirm when the comparison results meet the second abnormal condition.
[0152] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the identification system described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0153] Compared with the prior art, the embodiment of the present invention provides a smart security monitoring system, which divides the smart community into four parts according to the complexity of the environment and the security threat - community boundary, community entrance, residential area and public area, and sets the different levels of monitoring equipment required for each part. The resolution fineness (number of convolution layers) of the AI intelligent analysis algorithm used by different levels of monitoring equipment is different, which is conducive to the reasonable allocation of computing power and the data density and processing accuracy of the community environment where the equipment is located. The third-level monitoring equipment is placed at the entrance of the community according to the number of access control, the second-level monitoring equipment is placed at the preset distance at the community boundary, and the first-level monitoring equipment is placed at the Internet of Things devices in residential areas and public areas. The environmental data density processed by the third-level monitoring equipment, the second-level monitoring equipment and the first-level monitoring equipment are all from large to small.
[0154] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A smart security monitoring method, characterized in that: include: Establish a community face database based on owner information; Identify the community boundaries, community entrances, residential areas and public areas, install third-level monitoring equipment at the community entrance according to the number of access control points, install second-level monitoring equipment at the community boundaries at preset distances, and install first-level monitoring equipment at the IoT devices in residential areas and public areas; Each level 3 monitoring device is connected to the community face database as the main level 3 comparison database, and is connected to the external suspicious person database and the highly suspicious element database as the backup level 3 comparison database. Each level 3 monitoring device compares the real-time monitoring results with the main level 3 comparison database and the backup level 3 comparison database in turn, and reminds the staff to alarm when the comparison results meet the alarm conditions, specifically including: setting the minimum face size of the image pyramid according to the average face size in the historical records of the level 3 monitoring device, the factor of the image pyramid is less than 1, and the value of the cube of the minimum face size is ≥ the side length of the input box of P-Net; each level 3 monitoring device compares the real-time monitoring results with the main level 3 comparison database and the backup level 3 comparison database in turn, and reminds the staff to alarm when the comparison results meet the alarm conditions, specifically including: setting the minimum face size of the image pyramid according to the average face size in the historical records of the level 3 monitoring device, the factor of the image pyramid is less than 1, and the value of the cube of the minimum face size is greater than or equal to ... and reminds the staff to alarm when the comparison results meet the alarm conditions, and reminds the staff to alarm when the comparison results meet the alarm conditions, and reminds the staff to alarm when the comparison results meet the alarm conditions, and reminds the staff to alarm when the comparison results The monitoring results are input into the image pyramid to obtain a multi-scale three-level monitoring image; the multi-scale three-level monitoring image is input into P-Net, R-Net and O-Net in sequence; according to the coordinate information, score and key point positions of N3 bounding boxes output by O-Net, N3 face feature vectors are generated to form a three-level feature matrix; N3 is a natural number; according to the main three-level comparison library and the backup three-level comparison library, multiple main three-level comparison library matrices and multiple secondary three-level comparison library matrices are generated in sequence; if the three-level feature matrix, multiple main three-level comparison library matrices and multiple secondary three-level comparison library matrices meet the similarity condition, the staff is reminded to alarm; Each secondary monitoring device is connected to the community face database as the main secondary comparison database, and is connected to the preset human posture database as the backup secondary comparison database. Each secondary monitoring device compares the real-time monitoring results with the main secondary comparison database and the backup secondary comparison database. When the comparison result meets the first abnormal condition, the staff is reminded to confirm, which specifically includes: setting the minimum face size of the image pyramid according to the average face size in the historical records of the secondary monitoring device, the factor of the image pyramid is less than 1, and the value of the square of the minimum face size is ≥ the side length of the input box of R-Net; each secondary monitoring device inputs the real-time monitoring results into the image pyramid to obtain a multi-scale secondary monitoring map image; input the multi-scale secondary surveillance image into P-Net and R-Net in sequence; generate N2 facial feature vectors to form a secondary feature matrix according to the coordinate information, score and key point positions of the N2 bounding boxes output by R-Net; N2 is a natural number; generate multiple main secondary comparison library matrices according to the main secondary comparison library; if the secondary feature matrix is similar to a secondary comparison library matrix in the multiple main secondary comparison library matrices, extract the secondary video of the preset length corresponding to the person in the secondary feature matrix; identify the behavior of the corresponding community person according to the secondary video and the backup secondary comparison library, and if the first abnormal condition is met, remind the staff to confirm; Each first-level monitoring device accesses the community face database as the main first-level comparison database, and accesses the preset human posture database as the backup first-level comparison database. Each first-level monitoring device compares the real-time monitoring results with the main first-level comparison database and the backup first-level comparison database. When the comparison result meets the second abnormal condition, the staff is reminded to confirm, which specifically includes: setting the minimum face size of the image pyramid according to the average face size in the historical records of the first-level monitoring device, the factor of the image pyramid is less than 1, and the minimum face size is ≥ the side length of the input box of P-Net; Each first-level monitoring device inputs the real-time monitoring result into the image pyramid to obtain a multi-scale first-level monitoring image; the multi-scale first-level monitoring image is input into P-Net; according to the coordinate information, score and key point positions of N1 bounding boxes output by P-Net, N1 facial feature vectors are generated to form a first-level feature matrix; N1 is a natural number; multiple main first-level comparison library matrices are generated according to the main first-level comparison library; if the first-level feature matrix is similar to a first-level comparison library matrix in the multiple main first-level comparison library matrices, a first-level video of a preset length corresponding to the person in the first-level feature matrix is extracted; the behavior of the corresponding community person is identified according to the first-level video and the backup first-level comparison library, and if the second abnormal condition is met, the staff is reminded to confirm.
2. The intelligent security monitoring method according to claim 1, characterized in that: If the three-level feature matrix, multiple primary three-level comparison library matrices, and multiple secondary three-level comparison library matrices meet similar conditions, the staff is reminded to issue an alarm, specifically including: If the three-level characteristic matrix is not similar to multiple main three-level comparison library matrices, and the three-level characteristic matrix is similar to one of the three-level comparison library matrices among multiple secondary three-level comparison library matrices, the alarm condition is met and the staff is reminded to issue an alarm.
3. The intelligent security monitoring method according to claim 1, characterized in that: The identifying the corresponding person's behavior according to the secondary video and the secondary comparison library, if the first abnormal condition is met, prompting the staff to confirm, specifically includes: Sampling the secondary video at equal intervals to obtain a plurality of secondary behavior images; Multiple secondary behavior images are sequentially input into the OKS model improved by YOLO-Pose to obtain the similarity between each secondary behavior image and the target key points of each target behavior in the secondary comparison library. If the similarity between the target key points of the secondary behavior images greater than a preset number threshold and a target behavior in the secondary comparison library is greater than the first similarity threshold, the first abnormal condition is met and the staff is reminded to confirm.
4. The intelligent security monitoring method according to claim 1, characterized in that: Each secondary monitoring device compares the real-time monitoring result with the primary secondary comparison library and the backup secondary comparison library, and reminds the staff to confirm when the comparison result meets the first abnormal condition, specifically including: Set the minimum face size of the image pyramid according to the average face size in the historical records of the secondary monitoring device, the factor of the image pyramid is less than 1, and the square value of the minimum face size is ≥ the side length of the R-Net input box; Each secondary monitoring device inputs the real-time monitoring results into the image pyramid to obtain a multi-scale secondary monitoring image; Input the multi-scale secondary monitoring image into P-Net and R-Net in sequence; According to the coordinate information, score and key point positions of N2' bounding boxes output by R-Net, N2' facial feature vectors are generated to form a secondary feature matrix; N2' is a natural number; Generate multiple primary and secondary comparison library matrices according to the primary and secondary comparison libraries; If the secondary feature matrix is not similar to all the secondary comparison library matrices in the plurality of primary secondary comparison library matrices, extracting a secondary video of a preset length corresponding to the person in the secondary feature matrix; The behavior of the corresponding stranger is identified according to the secondary video and the backup secondary comparison library, and if the first abnormal condition is met, the staff is reminded to confirm.
5. The intelligent security monitoring method according to claim 1, characterized in that: According to the first-level video and the first-level comparison library, the behavior of the corresponding community person is identified, and if the second abnormal condition is met, the staff is reminded to confirm, specifically including: Sampling the first-level video at equal intervals to obtain a plurality of first-level behavior images; Multiple first-level behavior images are sequentially input into the OKS model improved by YOLO-Pose to obtain the similarity between each first-level behavior image and the target key points of each target behavior in the backup first-level comparison library. If the similarity between the first-level behavior images greater than a preset number threshold and the target key points of a target behavior in the backup first-level comparison library is greater than a second similarity threshold, the second abnormal condition is met and the staff is reminded to confirm.
6. The intelligent security monitoring method according to claim 1, characterized in that: Each of the first-level monitoring devices compares the real-time monitoring results with the main first-level comparison library and the backup first-level comparison library, and when the comparison results meet the second abnormal condition, reminds the staff to confirm, specifically including: Set the minimum face size of the image pyramid according to the average face size in the historical records of the first-level monitoring device, the factor of the image pyramid is less than 1, and the minimum face size is ≥ the side length of the input box of P-Net; Each first-level monitoring device inputs the real-time monitoring results into the image pyramid to obtain a multi-scale first-level monitoring image; Input the multi-scale primary monitoring image into P-Net; According to the coordinate information, score and key point positions of N1' bounding boxes output by P-Net, N1' individual face feature vectors are generated to form a first-level feature matrix; N1' is a natural number; Generate multiple primary comparison library matrices according to the primary comparison library; If the primary feature matrix is not similar to all primary comparison library matrices in the plurality of primary comparison library matrices, extracting a primary video of a preset length of the person corresponding to the primary feature matrix; The behavior of the corresponding stranger is identified based on the first-level video and the backup first-level comparison library. If the second abnormal condition is met, the staff is reminded to confirm.
7. A smart security monitoring system, characterized in that: include: A database building module is used to build a community face database based on owner information; The placement module is used to confirm the community boundary, community entrance, residential area and public area, place the third-level monitoring equipment at the community entrance according to the number of access control, place the second-level monitoring equipment at the community boundary according to the preset distance, and place the first-level monitoring equipment at the IoT devices in the residential area and public area; The alarm module is used for each third-level monitoring device to access the community face database as the main third-level comparison database, access the external suspicious person database and the highly suspicious molecule database as the backup third-level comparison database, and each third-level monitoring device will compare the real-time monitoring results with the main third-level comparison database and the backup third-level comparison database in turn, and remind the staff to alarm when the comparison result meets the alarm condition, specifically including: setting the minimum face size of the image pyramid according to the average face size in the historical records of the third-level monitoring device, the factor of the image pyramid is less than 1, and the value of the cube of the minimum face size is ≥ the side length of the input box of P-Net; each third-level monitoring device The preparation inputs the real-time monitoring result into the image pyramid to obtain a multi-scale three-level monitoring image; the multi-scale three-level monitoring image is sequentially input into P-Net, R-Net and O-Net; according to the coordinate information, score and key point positions of N3 bounding boxes output by O-Net, N3 facial feature vectors are generated to form a three-level feature matrix; N3 is a natural number; according to the main three-level comparison library and the preparation three-level comparison library, multiple main three-level comparison library matrices and multiple secondary three-level comparison library matrices are sequentially generated; if the three-level feature matrix, multiple main three-level comparison library matrices and multiple secondary three-level comparison library matrices meet similar conditions, the staff is reminded to alarm; The first abnormal confirmation module is used for each secondary monitoring device to access the community face database as the main secondary comparison database, and access the preset human posture database as the backup secondary comparison database. Each secondary monitoring device compares the real-time monitoring result with the main secondary comparison database and the backup secondary comparison database. When the comparison result meets the first abnormal condition, the staff is reminded to confirm, which specifically includes: setting the minimum face size of the image pyramid according to the average face size in the historical records of the secondary monitoring device, the factor of the image pyramid is less than 1, and the value of the square of the minimum face size is ≥ the side length of the input box of R-Net; each secondary monitoring device inputs the real-time monitoring result into the image pyramid to obtain the multi-size The multi-scale secondary surveillance image is input into P-Net and R-Net in sequence; according to the coordinate information, score and key point positions of N2 bounding boxes output by R-Net, N2 facial feature vectors are generated to form a secondary feature matrix; N2 is a natural number; multiple main secondary comparison library matrices are generated according to the main secondary comparison library; if the secondary feature matrix is similar to a secondary comparison library matrix in the multiple main secondary comparison library matrices, a secondary video of a preset length corresponding to the person in the secondary feature matrix is extracted; the behavior of the corresponding community person is identified according to the secondary video and the backup secondary comparison library, and if the first abnormal condition is met, the staff is reminded to confirm; The second abnormal confirmation module is used for each first-level monitoring device to access the community face database as the main first-level comparison database, and access the preset human posture database as the backup first-level comparison database. Each first-level monitoring device compares the real-time monitoring results with the main first-level comparison database and the backup first-level comparison database. When the comparison result meets the second abnormal condition, the staff is reminded to confirm, which specifically includes: setting the minimum face size of the image pyramid according to the average face size in the historical records of the first-level monitoring device, the factor of the image pyramid is less than 1, and the minimum face size is ≥ the input box side length of P-Net; each first-level monitoring device inputs the real-time monitoring results into the image pyramid, and obtains multiple The multi-scale first-level surveillance image is input into P-Net; according to the coordinate information, score and key point positions of N1 bounding boxes output by P-Net, N1 facial feature vectors are generated to form a first-level feature matrix; N1 is a natural number; multiple main first-level comparison library matrices are generated according to the main first-level comparison library; if the first-level feature matrix is similar to a first-level comparison library matrix in the multiple main first-level comparison library matrices, a first-level video of a preset length corresponding to the person in the first-level feature matrix is extracted; the behavior of the corresponding community person is identified according to the first-level video and the backup first-level comparison library, and if the second abnormal condition is met, the staff is reminded to confirm.
