Airport security behavior pattern analysis and abnormal state detection method and system
By conducting multi-target detection and behavioral pattern analysis on the surveillance videos of airport security inspectors, establishing a behavioral pattern library, and using deep learning to detect abnormal states, the problem of inability to effectively detect security inspector fatigue in the existing technology has been solved, and more efficient exceptions have been achieved. Status detection improves the quality and safety of security inspections.
Patent Information
- Application Number
- CN202210462006.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-28
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-04-28
AI Technical Summary
Existing technology cannot effectively, timely and accurately detect abnormal conditions such as fatigue of airport security inspectors, resulting in missed inspections and incorrect inspections, affecting civil aviation safety.
By performing multi-target detection on the security inspector's surveillance video, dividing the work area, matching location information, performing frame processing and clustering, establishing a behavioral pattern library, and using deep learning long-short-term memory network to detect the similarity of behavioral pattern sequences and judge work state.
It achieves earlier, more efficient and more accurate abnormal status detection, reduces the missed detection rate of security inspectors, and improves the quality and safety of security inspections.
Smart Images

Figure CN114898257B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of airport security protection, and relates to an airport security behavior pattern analysis and abnormal state detection method and system. Background Art
[0002] In recent years, with the rapid development of my country's economy, the number and frequency of passenger travel have continued to increase, and airport throughput has continued to increase. Civil aviation transportation has gradually become the most important part of my country's transportation sector. Civil aviation security inspection is the first line of defense for civil aviation transportation safety. Limited security inspection personnel are facing tremendous pressure from the rapid growth of passenger flow. Improving the quality of security inspection is the core of ensuring and improving civil aviation safety and service quality.
[0003] The Statistical Bulletin of the Development of the Civil Aviation Industry states that the objects of civil aviation security inspection are mainly divided into two categories: passengers and security personnel. The traditional objects of security supervision have always been passengers, whose behaviors are complex and changeable. With the growth of airport passenger traffic and the rapid development of the civil aviation industry, the number of boarding passengers is not only large in scale, but also has the characteristics of diverse sources and different states caused by various factors such as different religious cultures, different educational levels, and different ages. What is more serious is that in the face of complex and changeable passenger behaviors, civil aviation security inspection is both a law enforcement department and a service department. This dual attribute has brought unprecedented internal and external dual pressures to civil aviation security inspection. In addition, the boring and tiring work positions make security inspectors generally prone to abnormal working conditions such as fatigue, which leads to missed inspections and wrong inspections, which will cause great safety hazards to civil aviation safety.
[0004] With the rapid development of artificial intelligence and machine learning, existing conventional anomaly detection technologies such as facial expressions, body movements, and physiological signals cannot meet the needs of early fatigue detection for security inspectors. However, the behavior pattern of security inspectors is a powerful way to express their working status. The behavior pattern information in the real world can be expressed by the time series captured by monitoring data. It has complex potential time dynamic characteristics and has great potential in abnormal state detection.
[0005] In 2020, Amir Markovitz and others proposed an anomaly detection method based on skeleton posture regularity learning, "Graph Embedded Pose Clustering for Anomaly Detection", at CVPR2020. Through posture estimation, feature encoding, unsupervised clustering and other steps, anomaly detection of behavioral actions of objects in normal frames and abnormal frames is achieved. However, for the special position of security inspectors, motion deformation is a sign of severe fatigue, which means that the abnormal state of the security inspector has occurred for some time from mental fatigue to motion deformation. The increase in the missed detection rate caused by this blank period of abnormal state may lead to serious safety accidents.
[0006] The 2018 Deep Facial Expression Recognition: A Survey summarizes the development of facial expression recognition in recent years. As the most direct and effective emotion recognition model, facial expression has many applications in human-computer interaction, such as the most typical fatigue driving detection. Most of these methods use face detection, facial feature point positioning and other technologies to extract and analyze facial features, thereby realizing the analysis and judgment of abnormal conditions such as fatigue. When detecting abnormal conditions of security inspectors, due to the limitations of their work positions, the degree of fatigue of security inspectors is relatively high. In addition to the shortcomings of traditional abnormal state detection methods, some security inspectors often have numb and stiff facial expressions. At this time, the accuracy of abnormal state detection methods based on facial expression recognition is greatly reduced, or even ineffective.
[0007] In 2020, "Ensemble emotion recognizing with multiple modalphysiological signals" proposed integrated emotion recognition based on multimodal physiological signals, that is, physiological characteristics such as brain wave signals (EEG) can be captured by instruments to detect and identify abnormal states. This type of method requires the use of specific equipment to collect physiological characteristic data, and then distinguish between normal working and abnormal working states according to data standards; in 2021, Shandong Zhongke Advanced Technology Research Institute Co., Ltd. proposed a fatigue detection method and system that integrates EEG, EOG, and heart rate in its patent document with application number CN202111534633.7. The invention can obtain three types of physiological information simultaneously and synchronously to achieve continuous detection of fatigue driving, solving the problem that existing fatigue detection methods cannot detect continuously and have low accuracy. Although this type of detection method has relatively high accuracy, security inspectors need to wear relevant physiological indicator detection equipment, which will affect the comfort and working status during work and bring inconvenience to security inspectors.
[0008] In summary, existing technical solutions face challenges such as untimely, inaccurate, and inconvenient detection of abnormal conditions for airport security inspectors, and cannot meet the needs and effectiveness of detecting abnormal conditions such as early fatigue of security inspectors. Summary of the invention
[0009] In order to solve the above problems existing in the prior art, the present invention provides a method and system for analyzing airport security behavior patterns and detecting abnormal conditions. The technical problem to be solved by the present invention is achieved through the following technical solutions:
[0010] An embodiment of the present invention provides a method for analyzing airport security behavior patterns and detecting abnormal conditions, the method comprising:
[0011] Step 1: Perform multi-target detection on objects in a preset surveillance video to obtain the location information of the security inspector, wherein the preset surveillance video is a video of the security inspector in a normal working state;
[0012] Step 2: Divide the working area of the security inspector into Q*Q sub-areas, wherein the working area covers the entire ground area during the daily work of the security inspector;
[0013] Step 3: Match the location information of the security inspector with each of the sub-areas to obtain the regional trajectory of the security inspector;
[0014] Step 4, performing frame processing on the regional trajectory of the security inspector and performing window analysis to obtain the first spectrum parameter of each frame;
[0015] Step 5: clustering all the first spectrum parameters to obtain a clustering result, wherein the clustering result includes g categories, wherein each category corresponds to a behavior pattern, and the g behavior patterns corresponding to the g categories constitute a behavior pattern library;
[0016] Step 6: obtaining a second spectrum parameter corresponding to the security inspector to be detected in the surveillance video to be detected, so as to match the second spectrum parameter with the behavior pattern library to obtain a first behavior pattern sequence;
[0017] Step 7: input at least a portion of the first behavior pattern sequence into a deep learning long short-term memory network to obtain a second behavior pattern sequence at a certain moment in the future;
[0018] Step 8: performing similarity measurement on the second behavior pattern sequence and the first behavior pattern sequence to obtain a short-term behavior pattern sequence order difference;
[0019] Step 9: Determine the working status result of the security inspector to be detected according to the relationship between the short-term behavior pattern sequence order difference and the preset threshold.
[0020] In one embodiment of the present invention, step 1 comprises:
[0021] Step 1.1, obtaining a plurality of first frames of images according to the preset monitoring video;
[0022] Step 1.2, dividing each frame of the first picture into S×S first cells, each first cell corresponds to B bounding boxes and confidences of the bounding boxes;
[0023] Step 1.3: input the segmented first image into a trained convolutional neural network to obtain a prediction value, where the prediction value is the location information of the security inspector.
[0024] In one embodiment of the present invention, step 2 comprises:
[0025] The security inspector's working area is divided into N*N sub-areas using a linear equal-area partitioning method.
[0026] In one embodiment of the present invention, step 3 comprises:
[0027] The position information of the security inspector corresponding to each frame of the first image is matched with each of the sub-regions, and the sub-region where the position information of the security inspector corresponding to each frame of the first image is located is determined to form a regional trajectory of the security inspector.
[0028] In one embodiment of the present invention, step 4 comprises:
[0029] Step 4.1, aggregate s regional trajectory points in the regional trajectory of the security inspector into a frame signal, with a time of Δt;
[0030] Step 4.2, multiply each frame signal by the Hamming window, and perform fast Fourier transform on each frame signal after windowing to obtain the spectrum of each frame;
[0031] Step 4.3, performing modulo square processing on the frequency spectrum to obtain a power spectrum;
[0032] Step 4.4, inputting the power spectrum into a filter bank to obtain logarithmic energy, wherein the filter bank includes M triangular bandpass filters;
[0033] Step 4.5: The logarithmic energy is transformed by discrete cosine to obtain the first spectrum parameter.
[0034] In one embodiment of the present invention, step 5 comprises:
[0035] All the first spectrum parameters are clustered using a K-means algorithm to obtain a clustering result.
[0036] In one embodiment of the present invention, step 6 comprises:
[0037] Step 6.1, performing multi-target detection on the objects in the surveillance video to be detected to obtain the location information of the security inspector to be detected;
[0038] Step 6.2, matching the position information of the security inspector to be detected with each of the sub-areas to obtain the regional trajectory of the security inspector to be detected;
[0039] Step 6.3, performing frame processing on the regional trajectory of the security inspector to be detected and performing window analysis to obtain the second spectrum parameters of each frame;
[0040] Step 6.4, calculate the Euclidean distance between the second spectrum parameter and each behavior pattern in the behavior pattern library, and take the behavior pattern with the smallest Euclidean distance as the behavior pattern of the second spectrum parameter. All behavior patterns corresponding to the second spectrum parameters constitute the first behavior pattern sequence.
[0041] In one embodiment of the present invention, the calculation formula of the short-term behavior pattern sequence order difference is:
[0042]
[0043] Among them, DIS ord (TD i ,TD k ) is the short-term behavior pattern sequence difference, DIS ord (TD i ,TD k )∈[0,1],TD i For the second behavior pattern sequence, TD k For at least a portion of the first behavior pattern sequence.
[0044] In one embodiment of the present invention, step 9 comprises:
[0045] Determine the relationship between the short-term behavior pattern sequence order difference and the preset threshold value. If the short-term behavior pattern sequence order difference is greater than the preset threshold value, then determine that the working status of the security inspector to be detected at this stage is normal; if the short-term behavior pattern sequence order difference is less than or equal to the preset threshold value, then determine that the working status of the security inspector to be detected at this stage is abnormal.
[0046] An embodiment of the present invention further provides an airport security behavior pattern analysis and abnormal state detection system for implementing the method described in any of the above embodiments.
[0047] Compared with the prior art, the present invention has the following beneficial effects:
[0048] 1. Breaking through the technical bottleneck of fatigue and irritability state detection. The present invention overcomes the bottleneck of traditional abnormal state detection technology, reduces the technical cost of detecting abnormal states such as early fatigue of security inspectors, and establishes a connection between security inspectors' security inspection behavior patterns and abnormal state detection by studying the theory and method of unified expression of abnormal states such as fatigue / irritability, thereby achieving earlier, more efficient and more accurate abnormal state detection and greatly improving efficiency.
[0049] 2. Optimize the implementation strategy of airport security technology prevention. The present invention changes the technical supervision object from the huge number of boarding passengers with different cultures and abnormally complex and changeable behaviors to the security personnel with limited scale and relatively single behavioral characteristics. By improving the service quality of security personnel, the efficiency of complex and changeable passenger security inspection work is ensured, providing a reliable solution for the protection of passenger safety and civil aviation safety.
[0050] 3. Realize the upgrading of the technical system of airport security services. Based on the latest big data behavior analysis theory and technology, this invention will build a new airport security big data analysis technology architecture, realize the sharing and collaborative analysis of multi-airport big data behavior pattern data, realize the innovation of airport security business models, functions, and technologies, and the upgrading of technical systems, and provide important technical support for airport safety and national security.
[0051] Other aspects and features of the present invention will become apparent from the following detailed description with reference to the accompanying drawings. It should be understood, however, that the drawings are designed for illustrative purposes only and are not intended to limit the scope of the present invention, as reference should be made to the appended claims. It should also be understood that, unless otherwise indicated, the drawings are not necessarily drawn to scale and are intended merely to conceptually illustrate the structures and processes described herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A flowchart of an airport security behavior pattern analysis and abnormal state detection method provided by an embodiment of the present invention;
[0053] Figure 2 A general flow chart of an airport security behavior pattern analysis and abnormal state detection method provided by an embodiment of the present invention;
[0054] Figure 3 An architectural diagram of an overall system provided for an embodiment of the present invention. DETAILED DESCRIPTION
[0055] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.
[0056] Embodiment 1
[0057] The technical problem that the present invention aims to solve is: the technical problem that the airport security personnel’s abnormal working state leads to missed inspections and wrong inspections. Specifically:
[0058] The existing conventional detection technologies such as facial expressions and body movements cannot meet the detection technology of abnormal states such as early fatigue of security inspectors, or only focus on abnormal behaviors caused by abnormal states such as fatigue, but rarely detect the state. The present invention will break through the bottleneck of fatigue and irritability detection technology and realize the upgrading of the technical system of airport security inspection business. For the key position of airport security inspectors, normal working conditions can greatly guarantee the two major indicators of safety and service in the field of civil aviation transportation. On the one hand, it can greatly reduce the missed detection rate of security inspectors, fully guarantee airport safety, and maintain social stability; on the other hand, it can also reduce friction and conflict between passengers and security inspectors, improve the service quality of security inspection and passenger satisfaction, and help shape the civilized image of civil aviation security inspection and win the trust and support of society.
[0059] The present invention focuses on solving technical problems from the following aspects: discovering abnormal behavior patterns from large-scale system monitoring data can be simplified to detecting abnormal short-time series from time series, which is very meaningful for ensuring safety and avoiding economic losses. However, abnormal data is usually rare and hidden by a large number of normal points, which makes data labeling difficult and expensive; and the parameters of many models need to be adjusted manually, and the models are not flexible enough; in addition, many time series models are trained according to each continuous time point, and their adjacent time information cannot be captured. The model accuracy is not high, resulting in the inability to effectively analyze abnormal short-time series, and it is also impossible to detect abnormal conditions such as early fatigue of security inspectors in real time.
[0060] Based on this, the present invention proposes an abnormal state detection method for airport security personnel, which aims to analyze the behavior patterns of security personnel at work more quickly and accurately, and to detect and warn their working status in real time. The present invention combines target detection, target tracking, behavior pattern detection and unsupervised learning technology to analyze the behavior pattern of real-time monitoring videos. Airport managers can check the working status of staff at any time through the system interface, and issue warnings and take relevant measures when abnormal conditions are detected.
[0061] Considering the above problems of the prior art, the present invention adopts the following technical solutions, see Figure 1 and Figure 2 , Figure 1 A flowchart of an airport security behavior pattern analysis and abnormal state detection method provided by an embodiment of the present invention is provided. Figure 2 The present invention provides an overall flow chart of an airport security behavior pattern analysis and abnormal state detection method provided in an embodiment of the present invention. The present invention provides an airport security behavior pattern analysis and abnormal state detection method, which includes steps 1 to 9, wherein:
[0062] Step 1: Perform multi-target detection on objects in a preset surveillance video to obtain the location information of the security inspector, wherein the preset surveillance video is a video of the security inspector in a normal working state.
[0063] In this application, a security inspector information database will be established in advance, including the security inspector's position information, identity information, on-the-job time, etc., where the identity is represented by {ID1, ID2, ID3, ..., ID q}.
[0064] Specifically, the preset surveillance video is the surveillance video of the security inspection channel, and the status of the security inspectors in the preset surveillance video is a normal working state, without abnormal behavior. The objects of the preliminary detection are mainly the hand inspectors in the airport security inspection link. Their work requirements require strict implementation of the whole set of inspection processes of "hand position etiquette" and "shift inspection". Through multi-target detection of objects in the video, the location information of the security inspectors is identified and recorded. The location information is: M = (x, y, W, H, t), where (x, y, W, H) represents the location information of the security inspector in the video frame at time t.
[0065] In a specific embodiment, step 1 may specifically include steps 1.1 to 1.3, wherein:
[0066] Step 1.1, obtaining multiple frames of first images according to a preset monitoring video.
[0067] Specifically, the preset monitoring video is divided into K frames of first pictures.
[0068] Step 1.2: Divide each frame of the first picture into S×S first cells, each first cell corresponds to B bounding boxes and the confidence score of the bounding box. The bounding box can be obtained by the YOLO (yolov5) algorithm.
[0069] Specifically, the confidence includes two aspects. The first is the possibility of the target contained in the bounding box, that is, Pr(object). When the bounding box is the background, that is, the bounding box does not contain the target, then Pr(object)=0. Conversely, when the bounding box contains the target, Pr(object)=1.
[0070] The second parameter of confidence is the accuracy of the bounding box That is, the IOU (intersection over union) of the predicted box and the actual box, so the confidence is defined as:
[0071]
[0072] In this embodiment, the size and position information of the bounding box is represented as (x, y, W, H), where (x, y) is the center coordinate of the bounding box, and (W, H) is the width and height of the bounding box. The predicted value of each bounding box actually contains 5 elements, namely: (x, y, W, H, C), of which the first 4 represent the size and position of the bounding box, and the last C value is the confidence.
[0073] The bounding box category confidence is used to characterize the probability that the target in the bounding box belongs to each category and the quality of the bounding box matching the target, that is:
[0074]
[0075] Among them, Pr(class i ) is the predicted probability value.
[0076] Step 1.3: Input the segmented first image into the trained convolutional neural network to obtain a prediction value, which is the location information of the security inspector.
[0077] Specifically, assuming that each cell predicts B targets, a tensor of S×S×(B*5+C) will be obtained, and each first picture will be input into the convolutional neural network for feature extraction, wherein the convolutional neural network is trained, and the loss function of the training is designed to minimize the difference between the output feature and the ground truth label (real value) of the target box, and the fully connected layer of the convolutional neural network outputs the predicted value.
[0078] Step 2: Divide the security inspector's working area into Q*Q sub-areas, where the working area covers the entire ground area where the security inspector works daily.
[0079] Specifically, the security inspector's working area is pre-divided into linear equal-area divisions, that is, the ground area where the security inspector works is divided into multiple sub-areas of equal area. Based on actual conditions, the security inspector's working area is divided into Q*Q areas, which are required to cover the entire area where the security inspector works daily.
[0080] Step 3: Match the location information of the security inspector with each sub-region to obtain the regional trajectory of the security inspector. The regional trajectory includes L regional trajectory points, and each matched sub-region is a regional trajectory point.
[0081] Specifically, the position information of the security inspector corresponding to each frame of the first image is matched with each sub-region, and the sub-region where the position information of the security inspector corresponding to each frame of the first image is located is determined to form a regional trajectory of the security inspector.
[0082] That is to say, through step 1, the position information of the security inspector in each frame of the first picture can be obtained, and it is determined in which sub-region the bottom center point of the bounding box of each frame of the first picture falls. Thus, the sub-region in which the bottom center point of the bounding box of each frame of the first picture falls can be obtained. After arranging all the sub-regions in chronological order, the regional trajectory of the security inspector can be formed.
[0083] Step 4: Frame the area trajectory of the security inspector and perform window analysis to obtain the first spectrum parameter of each frame.
[0084] In a specific embodiment, step 4 may specifically include steps 4.1 to 4.5, wherein:
[0085] Step 4.1: collect every s regional trajectory points in the regional trajectory of the security inspector into a frame signal, with a time of Δt, s <L。
[0086] Specifically, every s regional trajectory points in the regional trajectory of the security inspector are grouped into an observation unit, and one observation unit is one frame, and the time is Δt, wherein the overlap rate between consecutive frames is 20%.
[0087] Step 4.2: multiply each frame of signal by the Hamming window, and perform fast Fourier transform on each frame of signal after windowing to obtain the spectrum of each frame.
[0088] Specifically, each frame is multiplied by a Hamming window to increase the continuity of the left and right ends of the frame. Each frame signal is then subjected to a fast Fourier transform to obtain its energy distribution. The frequency spectrum of each frame is obtained by performing a fast Fourier transform on the framed and windowed signals. Assuming that the framed signal is S(n), n=0,1,…,N-1, and N is the size of the frame, then the signal after multiplying the Hamming window is S'(n)=S(n)xW(n), where W(n) is the Hamming window and W(n) is in the following form:
[0089]
[0090] Different a values will produce different Hamming windows. Generally, a is 0.46.
[0091] Step 4.3: Perform modulus square processing on the frequency spectrum to obtain the power spectrum, which is:
[0092]
[0093] Among them, X a (k) is the power spectrum, and x(n) is the input region trajectory sequence.
[0094] Step 4.4: Input the power spectrum into the filter bank, and the filter bank outputs logarithmic energy, wherein the filter bank includes M triangular bandpass filters.
[0095] Specifically, the power spectrum is passed through a set of Mel-scale triangular filter banks to define a filter bank with M filters (the number of filters is close to the number of critical bands). The filter used is a triangular bandpass filter, and M is usually 22-26. The interval between each f(m) decreases as the value of m decreases and widens as the value of m increases. 0≤m≤M, the frequency response of the triangular bandpass filter is defined as:
[0096]
[0097] Among them, H m (k) is the frequency of the triangular bandpass filter, and f(m) is the center frequency.
[0098] The logarithmic energy of each filter bank output is calculated as:
[0099]
[0100] Where s(m) is the logarithmic energy, N a is the number of Fourier transform points, X a (k) is the power spectrum, H m (k) is the frequency of the triangular bandpass filter.
[0101] Step 4.5: The logarithmic energy is subjected to discrete cosine transform (DCT) to obtain the first spectrum parameter.
[0102] Specifically, the MFCC coefficient is obtained by discrete cosine transform, and the MFCC coefficient is the first spectrum parameter. The MFCC coefficient is:
[0103]
[0104] Among them, C(n) is the MFCC coefficient, and L is the order of the MFCC coefficient, which is usually 12-16.
[0105] Step 5: Cluster all first spectrum parameters to obtain a clustering result, where the clustering result includes g categories, wherein each category corresponds to a behavior pattern, and the g behavior patterns corresponding to the g categories constitute a behavior pattern library.
[0106] Specifically, all the spectral parameters obtained in step 5 are clustered using the classic clustering algorithm K-means to obtain a total of g categories of clustering results, which are defined as 1, 2, 3, ... g-type behavior patterns in turn. The behavior patterns are recorded as M1, M2, M3, ..., M g , and thus form a behavioral pattern library for the normal work of security inspectors.
[0107] Step 6: Obtain the second spectrum parameters corresponding to the security inspector to be detected in the surveillance video to be detected, match the second spectrum parameters with the behavior pattern library, and obtain the first behavior pattern sequence.
[0108] In a specific embodiment, step 6 may specifically include steps 6.1 to 6.4, wherein:
[0109] Step 6.1: Perform multi-target detection on the objects in the surveillance video to be detected to obtain the location information of the security inspector to be detected.
[0110] Step 6.2: Match the location information of the security inspector to be detected with each sub-region to obtain the regional trajectory of the security inspector to be detected.
[0111] Step 6.3: The regional trajectory of the security inspector to be detected is processed into frames and windowed for analysis to obtain the second spectrum parameters of each frame.
[0112] It should be noted that the method for obtaining the location information of the security inspector to be detected, the regional trajectory of the security inspector to be detected and the second spectral parameters in this step is the same as the method for obtaining the location information of the security inspector, the regional trajectory of the security inspector and the first spectral parameters in the above steps, and will not be repeated here.
[0113] Step 6.4, calculate the Euclidean distance between the second spectrum parameter and each behavior pattern in the behavior pattern library, and take the behavior pattern with the smallest Euclidean distance as the behavior pattern of the second spectrum parameter. The behavior patterns corresponding to all the second spectrum parameters constitute the first behavior pattern sequence, and the first behavior pattern sequence is recorded as TD = {M1, M2, ..., M i}.
[0114] Step 7: Input at least a portion of the first behavior pattern sequence into a deep learning long short-term memory (LSTM) network to obtain {T i ,T i+n The second behavior pattern sequence TD i .
[0115] Among them, the input to the deep learning long short-term memory network can be the entire first behavior pattern sequence, or it can be a part of the first behavior pattern sequence, for example, 2 / 3 of the entire first behavior pattern sequence.
[0116] Step 8: perform similarity measurement on the second behavior pattern sequence and the first behavior pattern sequence to obtain the short-term behavior pattern sequence order difference. The calculation formula of the short-term behavior pattern sequence order difference is:
[0117]
[0118] Among them, DISord (TD i ,TD k ) is the short-term behavior pattern sequence difference, DIS ord (TD i ,TD k )∈[0,1], the smaller the value, the shorter the behavior pattern sequence TD i and TD k The higher the similarity, the higher the TD i is the second behavioral pattern sequence, TD k For at least a portion of the first behavioral pattern sequence, TD k It can be all the first behavior pattern sequences, or it can be the remaining first behavior pattern sequences that have not been input into the deep learning long short-term memory network.
[0119] Step 9: Determine the status result of the security inspector to be detected based on the relationship between the short-term behavior pattern sequence order difference and the preset threshold.
[0120] Specifically, the relationship between the short-term behavior pattern sequence order difference and the preset threshold is judged. If the short-term behavior pattern sequence order difference is greater than the preset threshold, the working status of the security inspector to be detected at this stage is judged to be normal. If the short-term behavior pattern sequence order difference is less than or equal to the preset threshold, the working status of the security inspector to be detected at this stage is judged to be abnormal.
[0121] Preferably, the preset threshold value ranges from 0 to 1, preferably 0.8.
[0122] When a security inspector is in an abnormal working state, a timely warning will be issued to the relevant management personnel, and the security inspector's identity information, on-the-job information, etc. will be fed back, and relevant suggestions will be made for the security inspection management personnel to adopt.
[0123] The present invention firstly utilizes the video data set collected by the monitoring equipment, matches the security information database through the target detection algorithm, locks the identity information and location information of the security personnel, and uses the target tracking algorithm to extract the behavior trajectory data of the security personnel at work. After converting it into a regional trajectory, an unsupervised learning method is used to analyze and obtain the normal behavior pattern library of the security personnel. Then, the video of the security personnel collected in real time is matched with the pattern library to obtain the behavior pattern sequence, and the sequence is input into the security personnel abnormal state detection module to determine whether their behavior pattern and working state are abnormal.
[0124] 1. Business innovation: The present invention changes the security supervision strategy of traditional security inspection business and optimizes the implementation strategy of security inspection technology prevention: the technical supervision object is changed from boarding passengers with huge scale, different cultures, abnormal and complex behaviors, to security inspectors with limited scale and relatively single behavioral characteristics. Under the monitoring of the "Airport Security Behavior Pattern Analysis and Abnormal State Detection System", the security inspector is no longer a "black box". Relevant personnel can always perceive the working status of the security inspector and the changes in their potential behavior patterns through the method of the present invention. Even if the security inspector himself is in an imperceptible paralysis state, the present invention can clearly perceive his abnormal state and remind relevant departments to take a series of more accurate and forward-looking measures to ensure the work quality and efficiency of the security inspectors and eliminate safety hazards in a timely manner.
[0125] 2. Functional innovation: The present invention realizes functional innovation based on core technology, including non-invasiveness of the system, that is, it can ensure the analysis and detection of the behavior pattern of security inspectors without intrusion; timeliness, that is, this product can detect abnormal working conditions such as fatigue of security inspectors at an early stage based on the identification of the behavior pattern of security inspectors; accuracy, that is, this product can identify based on the behavior pattern of security inspectors, and can synchronously judge the degree of fatigue of the brain based on the subconscious behavior pattern of security inspectors, so as to judge whether the working state of security inspectors is abnormal, with extremely high accuracy. The method of the present invention can also detect the working state of security inspectors in real time, dynamically display the state changes, and timely and effectively carry out abnormal warnings. These innovative functions will also provide strong support for the safety assurance business of civil aviation transportation.
[0126] 3. Technological innovation: The present invention is based on "computational behavioral science" and uses behavioral tracking data for measurement. That is, by drawing on scientific measurement and its principles, it creates a technology for structured representation and quantification of human behavior, breaking through the technical bottleneck of fatigue and irritability detection: the technical supervision method is transformed from the traditional movement, expression, and physiological state detection mode to the big data behavior pattern analysis of security inspectors, and the theory and method of unified expression of security inspectors' behavior patterns and their abnormal states such as fatigue / irritability are studied. The security inspection behavior patterns of security inspectors and abnormal state detection are linked to achieve earlier, more efficient, and more accurate abnormal state detection.
[0127] Embodiment 2
[0128] The present invention further provides an airport security behavior pattern analysis and abnormal state detection system based on the first embodiment, which is used to implement the airport security behavior pattern analysis and abnormal state detection method described in the first embodiment, for example, see Figure 2 ,The overall workflow based on airport security behavior pattern analysis and abnormal state detection system can be as follows:
[0129] Security inspection managers can request access to the system through mobile and PC devices. The request first passes through the server's firewall, and then is distributed to the load balancing servers of nodes in each region through CDN (content distribution network), and then the load balancing server distributes the request to the corresponding server.
[0130] The program in the server will continuously and in real time pull the video stream from the camera group, and process and analyze the pulled surveillance video in real time (please refer to the above method for the specific implementation of processing and analysis). After the processing and analysis is completed, the system will save the final results to the database and provide real-time feedback to the terminal device interface for reference and adoption by security inspection managers.
[0131] The purpose of the present invention is to transform the technical supervision mode from the traditional action, expression, and physiological state detection mode to the big data behavior pattern analysis of security personnel. Based on the unsupervised learning method, the short-time frame division, clustering, and autoencoder model methods are combined to extract and analyze the behavior pattern information of airport security personnel according to their time activity sequence, and detect their abnormal state. By studying the theory and method of unified expression of the behavior pattern of security inspectors and their abnormal states such as fatigue / irritability, the security behavior pattern of security inspectors and abnormal state detection are linked to achieve earlier, more efficient, and more accurate abnormal state detection, breaking through the key technical bottleneck of airport security inspection, and the method is simple and easy to implement, with low computational complexity.
[0132] In the description of the invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the invention, "plurality" means two or more, unless otherwise clearly and specifically defined.
[0133] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristic data points described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristic data points described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification.
[0134] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A method for analyzing airport security behavior patterns and detecting abnormal conditions, characterized in that: The method comprises: Step 1: Perform multi-target detection on objects in a preset surveillance video to obtain the location information of the security inspector, wherein the preset surveillance video is a video of the security inspector in a normal working state; Step 2: Divide the working area of the security inspector into Q*Q sub-areas, wherein the working area covers the entire ground area during the daily work of the security inspector; Step 3: Match the location information of the security inspector with each of the sub-areas to obtain the regional trajectory of the security inspector; Step 4, performing frame processing on the regional trajectory of the security inspector and performing window analysis to obtain the first spectrum parameter of each frame; Step 5: clustering all the first spectrum parameters to obtain a clustering result, wherein the clustering result includes g categories, wherein each category corresponds to a behavior pattern, and the g behavior patterns corresponding to the g categories constitute a behavior pattern library; Step 6: obtaining a second spectrum parameter corresponding to the security inspector to be detected in the surveillance video to be detected, so as to match the second spectrum parameter with the behavior pattern library to obtain a first behavior pattern sequence; Step 7: input at least a portion of the first behavior pattern sequence into a deep learning long short-term memory network to obtain a second behavior pattern sequence at a certain moment in the future; Step 8: performing similarity measurement on the second behavior pattern sequence and the first behavior pattern sequence to obtain a short-term behavior pattern sequence order difference; Step 9: Determine the working status result of the security inspector to be detected according to the relationship between the short-term behavior pattern sequence order difference and the preset threshold.
2. The airport security behavior pattern analysis and abnormal state detection method according to claim 1 is characterized in that: The step 1 comprises: Step 1.1, obtaining a plurality of first frames of images according to the preset monitoring video; Step 1.2, dividing each frame of the first picture into S×S first cells, each first cell corresponds to B bounding boxes and confidences of the bounding boxes; Step 1.3: input the segmented first image into a trained convolutional neural network to obtain a prediction value, where the prediction value is the location information of the security inspector.
3. The airport security behavior pattern analysis and abnormal state detection method according to claim 1 is characterized in that: The step 2 comprises: The security inspector's working area is divided into N*N sub-areas using a linear equal-area partitioning method.
4. The airport security behavior pattern analysis and abnormal state detection method according to claim 2 is characterized in that: The step 3 comprises: The position information of the security inspector corresponding to each frame of the first image is matched with each of the sub-regions, and the sub-region where the position information of the security inspector corresponding to each frame of the first image is located is determined to form a regional trajectory of the security inspector.
5. The airport security behavior pattern analysis and abnormal state detection method according to claim 1, characterized in that: The step 4 comprises: Step 4.1, aggregate s regional trajectory points in the regional trajectory of the security inspector into a frame signal, with a time of Δt; Step 4.2, multiply each frame signal by the Hamming window, and perform fast Fourier transform on each frame signal after windowing to obtain the spectrum of each frame; Step 4.3, performing modulo square processing on the frequency spectrum to obtain a power spectrum; Step 4.4, inputting the power spectrum into a filter bank to obtain logarithmic energy, wherein the filter bank includes M triangular bandpass filters; Step 4.5: The logarithmic energy is transformed by discrete cosine to obtain the first spectrum parameter.
6. The airport security behavior pattern analysis and abnormal state detection method according to claim 1, characterized in that: The step 5 comprises: All the first spectrum parameters are clustered using a K-means algorithm to obtain a clustering result.
7. The airport security behavior pattern analysis and abnormal state detection method according to claim 1, characterized in that: The step 6 comprises: Step 6.1, performing multi-target detection on the objects in the surveillance video to be detected to obtain the location information of the security inspector to be detected; Step 6.2, matching the position information of the security inspector to be detected with each of the sub-areas to obtain the regional trajectory of the security inspector to be detected; Step 6.3, performing frame processing on the regional trajectory of the security inspector to be detected and performing window analysis to obtain the second spectrum parameters of each frame; Step 6.4, calculate the Euclidean distance between the second spectrum parameter and each behavior pattern in the behavior pattern library, and take the behavior pattern with the smallest Euclidean distance as the behavior pattern of the second spectrum parameter. All behavior patterns corresponding to the second spectrum parameters constitute the first behavior pattern sequence.
8. The airport security behavior pattern analysis and abnormal state detection method according to claim 1, characterized in that: The calculation formula of the short-term behavior pattern sequence order difference is: Among them, DIS ord (TD i ,TD k ) is the short-term behavior pattern sequence difference, DIS ord (TD i ,TD k )∈[0,1],TD i For the second behavior pattern sequence, TD k For at least a portion of the first behavior pattern sequence.
9. The airport security behavior pattern analysis and abnormal state detection method according to claim 1, characterized in that: The step 9 comprises: Determine the relationship between the short-term behavior pattern sequence order difference and the preset threshold value. If the short-term behavior pattern sequence order difference is greater than the preset threshold value, then determine that the working status of the security inspector to be detected at this stage is normal; if the short-term behavior pattern sequence order difference is less than or equal to the preset threshold value, then determine that the working status of the security inspector to be detected at this stage is abnormal.
10. An airport security behavior pattern analysis and abnormal state detection system, characterized in that: Used to implement the method according to any one of claims 1 to 9.
