Station escalator passenger abnormal behavior detection system based on deep learning

The station escalator passenger abnormal behavior detection system, which utilizes deep learning, constructs a graph structure using video stream processing and occlusion analysis modules. Combined with the GAT model, it distinguishes between occlusion and real anomalies, solving the problem of false alarms caused by occlusion during peak hours and achieving accurate identification and early warning of abnormal passenger behavior on escalators.

CN123182155APending Publication Date: 2026-11-27CENT SOUTH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611673358.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The existing passenger abnormal behavior detection system for escalators in stations often experiences obstruction due to high passenger volume during peak hours, causing the tracking algorithm trajectory to break down, making it difficult to accurately identify abnormal passenger behavior and prone to false alarms.

Method used

The station escalator passenger abnormal behavior detection system adopts deep learning. It extracts the movement vector of the passenger area through the video stream processing module, calculates the movement anomaly value by combining the distribution consistency, constructs the graph structure by using the occlusion analysis module, distinguishes between occluded passengers and real abnormal passengers by using the GAT model, and calculates the warning index by combining the confidence and movement disorder.

Benefits of technology

In complex and dense passenger flow scenarios, it can effectively eliminate obstruction and interference, accurately identify abnormal passenger behavior, reduce false alarm rate, and achieve efficient early warning and identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182155A_ABST
    Figure CN123182155A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of image processing, in particular to a station escalator passenger abnormal behavior detection system based on deep learning. The system obtains the moving vector of the passenger area in the video frame, determines the moving abnormal value by combining the distribution consistency and passenger distribution characteristics, thereby marking the abnormal passengers and delimiting the detection period; the degree of moving confusion is obtained by analyzing the relative distribution of the newly added abnormal passengers, the abnormal passengers are constructed as graph nodes, and the bidirectional edge weight value between the nodes is given by combining the first marking time, the abnormal value and the confusion degree, the GAT model is used to process the graph structure to accurately distinguish the visual occlusion and the real behavior abnormality; the warning index is calculated and the corresponding area is marked by combining the GAT model confidence of the real abnormal passenger, the abnormal value distribution and the moving confusion degree. The present application effectively eliminates the occlusion false alarm caused by dense passenger flow, and realizes the accurate early warning of real abnormal behavior of escalator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image processing technology, and more specifically to a deep learning-based system for detecting abnormal passenger behavior on escalators in train stations. Background Technology

[0002] As a crucial node for passenger flow distribution in urban rail transit, the operational safety of escalators directly impacts passenger safety and station operational order. Abnormal behaviors such as passenger falls, wrong-way movement, and overcrowding frequently occur in escalator areas. Failure to identify and intervene promptly can easily lead to secondary stampedes or mechanical injuries. Therefore, continuous and accurate monitoring and early warning of passenger behavior in escalator areas are essential.

[0003] Existing passenger abnormal behavior detection systems for escalators and stations mostly rely on general human posture recognition models and unified abnormal thresholds to detect abnormal behavior at all times. For example, a single surveillance camera collects the entire video stream of the escalator, extracts human movement features frame by frame, and outputs abnormal warnings based on fixed behavior judgment rules.

[0004] However, in actual station operations, passenger flow exhibits significant tidal fluctuations, with frequent passenger obstruction during peak hours. General tracking algorithms, relying solely on the target's appearance and posture features, are prone to issues such as trajectory breaks. In other words, the fixed-precision detection of existing methods may make it difficult to accurately identify abnormal passenger behavior when escalator passenger flow is high. Summary of the Invention

[0005] To address the technical problem in existing technologies where high passenger volume during peak hours leads to obstruction between passengers, causing false alarms in tracking algorithms due to trajectory breaks and other factors, the present invention aims to provide a deep learning-based passenger abnormal behavior detection system for escalators in railway stations. The specific technical solution adopted is as follows: This invention proposes a deep learning-based system for detecting abnormal passenger behavior on escalators in train stations. The system includes: The station escalator video stream processing module is used to identify passenger areas in the real-time monitoring video frames of the escalator based on the target detection network and obtain the movement vector of each passenger area; based on the consistency of the movement vector distribution in the video stream and the passenger distribution in the frames where the passenger area is located, it determines the abnormal movement values ​​of passengers and marks the abnormally moving passengers; starting from the monitoring video frame where the abnormally moving passengers are first marked, it continues until the real-time monitoring video frames constitute the period to be detected; The occlusion analysis module is used to analyze the distribution of newly added abnormal passengers relative to the target abnormal passengers in each frame to be detected during the detection period, and to obtain the degree of movement disorder of the target abnormal passengers in each frame to be detected. During the detection period, each abnormal passenger is regarded as a node. If two nodes are located in the same detection frame and are adjacent, a bidirectional edge is connected. The edge weight is obtained by comparing the first marking time, movement anomaly value and movement disorder degree of the common marking period between the nodes. The graph structure is processed by the GAT model to classify abnormal passengers into occluded passengers and passengers with real abnormal behavior. The abnormal behavior alarm module is used to obtain the warning index of passengers with abnormal behavior in real-time monitoring video frames based on the confidence level of passengers with abnormal behavior in the GAT model, as well as the distribution of abnormal movement values ​​and the degree of movement disorder during the detection period, and to mark the corresponding passenger area in the real-time monitoring video frames.

[0006] Furthermore, the method for obtaining the moving outlier includes: For a target passenger area in a target surveillance video frame, the sum of the movement vectors in each frame between the first detection of the target passenger area and the target surveillance video frame is calculated. A first cosine similarity between the movement vector of the target passenger area and the sum vector, and a second cosine similarity with the escalator's direction of movement are obtained. The average distance between the first centroids of each pair of passenger areas in the target surveillance video frame is calculated. Based on the first cosine similarity, the second cosine similarity, and the average distance between the first centroids, the abnormal movement value of the target passenger area in the target surveillance video frame is obtained.

[0007] Furthermore, the method for obtaining the degree of movement disorder includes: For a target passenger with abnormal movement in a target detection frame, if the target detection frame is the first calibration frame for the target passenger with abnormal movement, the degree of movement disorder is set to a preset minimum value; otherwise, the number of newly added passengers with abnormal movement in the target detection frame relative to the previous detection frame is counted; the average increment of the movement disorder value of the newly added passengers with abnormal movement between the previous detection frame and the target detection frame is counted; the average distance between the second centroid of the newly added passengers with abnormal movement and the target passengers with abnormal movement is counted; the degree of movement disorder is obtained by comparing the number of passengers with abnormal movement between the previous detection frame and the target detection frame, combined with the average increment of the movement disorder value and the average distance between the second centroid.

[0008] Furthermore, if the two nodes are located in the same detection frame and are adjacent to each other, a bidirectional edge is connected between them, including: If two nodes are marked simultaneously in at least one of the detected frames, and the distance between the two nodes in the detected frames marked simultaneously is less than a preset distance threshold, then a bidirectional edge is constructed between the two nodes.

[0009] Furthermore, the method for obtaining the edge weights includes: For a bidirectional edge, the two nodes are divided into a starting node and an ending node. The first ratio is obtained by using the initial marking time of the starting node as the denominator and the initial marking time of the ending node as the numerator. The second ratio is obtained by using the range of abnormal movement values ​​of the ending node during the detection period as the denominator and the range of abnormal movement values ​​of the starting node as the numerator. The intersection of the surveillance video frames where the two nodes are marked as passengers with abnormal movement is calculated. The degree of movement disorder of the starting node in the first surveillance video frame of the intersection is used as the denominator, and the degree of movement disorder of the starting node in the last surveillance video frame is used as the numerator to obtain a third ratio. The product of the first, second, and third ratios is used as the edge weight.

[0010] Furthermore, the process of processing graph structures using the GAT model includes: The GAT model is a model pre-trained based on historical samples. The initial attention coefficient of each edge is adjusted based on the edge weights to obtain the adjusted attention coefficient, which is then used for confidence output.

[0011] Furthermore, the classification of passengers with abnormal movement into passengers with obstructed vision and passengers with actual abnormal behavior includes: If the confidence level is greater than the preset classification threshold, the node is determined to be a passenger with real abnormal behavior; otherwise, it is determined to be a passenger with obstructed vision.

[0012] Furthermore, the method for obtaining the early warning index includes: The product of the confidence level, the distribution of the maximum movement anomaly during the detection period, and the degree of maximum movement disorder is used as the early warning index.

[0013] Furthermore, marking the corresponding passenger area in the real-time monitoring video frame includes: Three warning index ranges are preset. Based on the warning index range in which the actual abnormal passenger falls, the corresponding level is visually marked in the real-time monitoring video frame.

[0014] Furthermore, the target detection network consists of the YOLOv8n algorithm and a multi-target tracking algorithm.

[0015] The present invention has the following beneficial effects: This invention extracts movement vectors from passenger areas using a station escalator video stream processing module and calculates movement anomaly values ​​based on distribution consistency and passenger distribution status, thereby dynamically defining the detection time period. This method overcomes the limitations of traditional single fixed rules, flexibly adapting to the tidal fluctuations of passenger flow in stations and effectively capturing suspected anomalies. The occlusion analysis module uses the relative distribution of newly added abnormally moving passengers in the detection frame to quantify the degree of movement disorder, accurately depicting the chain reaction of the crowd triggered when an anomaly occurs. Furthermore, this module constructs abnormal passengers as graph nodes and dynamically assigns edge weights based on the initial marking time, movement anomaly values, and the degree of movement disorder, using a GAT model to process the graph structure. This mechanism fully explores the temporal diffusion and spatial transmission characteristics of abnormal behavior in the crowd, thereby accurately distinguishing between visually occluded passengers and passengers with genuine abnormal behavior, significantly reducing the system's false alarm rate caused by dense passenger flow and occlusion during peak periods. The abnormal behavior alarm module calculates a warning index by integrating the confidence level output by the GAT model, the distribution of anomalies within the time period, and the degree of movement disorder, and marks it intuitively in the video, ensuring the targeted nature of the response. In summary, this invention effectively eliminates normal obstruction interference in complex and dense passenger flow scenarios, and achieves efficient identification and accurate early warning of real abnormal behavior of passengers on station escalators. Attached Figure Description

[0016] To more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a structural block diagram of a deep learning-based passenger abnormal behavior detection system for escalators in a station, provided as an embodiment of the present invention. Detailed Implementation

[0018] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.

[0019] The following description, in conjunction with the accompanying drawings, details a specific solution for a deep learning-based passenger abnormal behavior detection system for station escalators provided by the present invention.

[0020] Please see Figure 1This document illustrates a block diagram of a deep learning-based passenger abnormal behavior detection system for escalators in a railway station, according to an embodiment of the present invention. The system includes: an escalator video stream processing module 101, an occlusion analysis module 102, and an abnormal behavior alarm module 103. This system can be directly connected to the existing security monitoring network of the escalator in the station. The front-end acquisition directly calls the real-time video stream from existing standard IP cameras, eliminating the need for customized hardware such as depth cameras. The algorithm runs on edge computing boxes or local servers deployed in the station. The detection end uses the lightweight YOLOv8n network, which has low memory usage. DeepSORT and optical flow are mature and lightweight tracking algorithms, and the computing power of ordinary industrial control computer GPUs fully supports real-time inference. The GAT model does not cause a computing power bottleneck. The graph structure is constructed only for a small number of passengers initially screened as having abnormal movement, with a very small number of nodes and edges, avoiding high-concurrency, full-time graph computation on all people in the full frame. Existing conventional hardware computing power is sufficient to support real-time processing. The system output seamlessly connects to the existing scheduling network. The generated warning index and marker box are pushed to the station's existing operation and maintenance monitoring terminal through standard network protocols, and are directly overlaid and rendered on the original monitoring screen. The hardware interaction is only the regular data stream transmission and reception.

[0021] The station escalator video stream processing module 101 receives the monitoring video stream transmitted from the escalator monitoring camera. It can identify passenger areas in the real-time monitoring video frames of the escalator using a target detection network and obtain the movement vector of each passenger area. The target detection network is a target recognition algorithm well-known to those skilled in the art, and can include target detection and target tracking algorithms simultaneously, so that each passenger has a unique identifier, facilitating subsequent modules for passenger statistics and analysis.

[0022] Preferably, in some implementations of the present invention, the target detection network consists of the YOLOv8n algorithm and a multi-target tracking algorithm. Specifically, the multi-target tracking algorithm can be the DeepSORT algorithm to associate adjacent frame detection boxes, thereby ensuring that each passenger area has a unique identifier. It should be noted that when a target box is lost due to short-term visual occlusion, the trajectory preservation mechanism built into the DeepSORT algorithm (such as Kalman filtering for position estimation) is used to maintain its identifier.

[0023] It should be noted that the motion vector of the passenger area in a single frame can be obtained through optical flow. This, along with the aforementioned target detection networks and other techniques, are all conventional preprocessing feature extraction techniques in the field of image processing, and will not be elaborated upon here.

[0024] In a station escalator scenario, under normal circumstances, all passengers should maintain a high degree of consistency in their movement speed and direction with the escalator. Therefore, the station escalator video stream processing module further analyzes the consistency of a passenger's movement vector within the video stream. This consistency characterizes whether the individual's movement has deviated from the steady-state physical constraints of the escalator. If the consistency is disrupted (e.g., a sudden change in vector direction), it means that the passenger has experienced a sudden stop, fallen, or reversed movement, which is the basic signal triggering an anomaly. Furthermore, the module analyzes the passenger distribution within the frames containing the passenger area. In a given frame, a higher passenger density indicates a greater likelihood of obstruction due to overcrowding, or the transmission and impact of abnormal behavior. Therefore, combining these two characteristics, when passenger flow is sparse, vector deviation is likely a genuine anomaly; when passenger flow is dense, the distribution characteristics are used to calibrate the judgment scale, thereby quantifying an objective movement anomaly value. This movement anomaly value is then used to mark passengers with abnormal movement in the monitoring video frames. The process of marking passengers with abnormal movement applies to any frame. Therefore, this embodiment of the invention should be a real-time early warning system. That is, if a passenger with abnormal movement is detected, the passenger's behavior should be statistically analyzed backward in each subsequent real-time monitoring video frame to determine whether it is occlusion or genuine abnormal behavior. Therefore, this process takes the real-time monitoring video frame as its perspective, starting from the monitoring video frame where the passenger with abnormal movement is first marked, and continuing until the real-time monitoring video frames constitute the detection period.

[0025] It should be noted that, for ease of description, the term "target" in the following description refers to any one of them.

[0026] Preferably, in some implementations of the embodiments of the present invention, the method for obtaining moving outliers includes: For a target passenger area in a target surveillance video frame, the sum of the motion vectors in each frame from the first detection of the target passenger area in the video stream to the target surveillance video frame is calculated. This sum vector represents the overall motion level exhibited by the target passenger area before the target surveillance video frame, and therefore can serve as the basis for consistency analysis. It should be noted that since the first frame of the surveillance video stream has no preceding video frames, this frame will not participate in the anomaly marking process.

[0027] The first cosine similarity between the movement vector of the target passenger area and the sum vector, and the second cosine similarity with the escalator's direction of motion, are obtained. This embodiment of the invention not only uses the sum vector as the basis for consistency analysis but also incorporates the escalator's motion vector. The more consistent the movement vector is with the escalator's motion vector, the more the passenger's movement conforms to a normal movement trend. That is, the greater the first cosine similarity and the second cosine similarity, the stronger the consistency of movement in the target passenger area and the smaller the abnormal movement values.

[0028] The average distance between the first centroids of passenger areas in each pair of surveillance video frames is calculated. Since passenger areas appear as boxes in the video frame after being identified by the object detection network, their centroids are used as reference points to analyze area distribution. A smaller average distance between the first centroids indicates more crowded conditions and a higher probability of occlusion and abnormal behavior. Conversely, a larger average distance indicates a lower probability of occlusion and anomalies in the surveillance video frame, resulting in a smaller value for motion anomalies.

[0029] Based on the above logic, the movement anomaly value of the target passenger area in the target monitoring video frame can be obtained by using the first cosine similarity, the second cosine similarity, and the average distance of the first centroid point.

[0030] In one specific implementation of this invention, considering that cosine similarity is a value between -1 and 1, the distance of the first centroid point can be normalized for ease of calculation. The distance of the first centroid point can be used as the numerator, and the length of the escalator area in the monitoring video frame as the denominator, resulting in a normalized value between 0 and 1, thus eliminating the dimension. Finally, the three values ​​are multiplied together; the product is also a value between -1 and 1, and it has a negative correlation with the anomaly value. The positive integer 1 can be subtracted from this product to obtain the anomaly value. The resulting anomaly value is a value between 0 and 2. Dividing this value by 2 yields an anomaly value between 0 and 1. An anomaly threshold can be set. If the anomaly value is greater than this threshold, the target passenger area in the target monitoring video frame should be marked as an anomaly passenger. In one specific implementation of this invention, this anomaly threshold is set to 0.5 after data statistics.

[0031] The occlusion analysis module 102 is responsible for the main functions of the system proposed in this embodiment of the invention. This module accurately identifies occluded passengers and passengers with real abnormal behavior by statistically analyzing the specific behaviors of passengers with abnormal movement between monitoring video frames and using a deep learning model. In the occlusion analysis module, the degree of movement disorder is first analyzed. This process relies on the detection period divided by the previous module. For a certain passenger with abnormal movement, a real abnormality on a crowded escalator will trigger a "domino effect," and surrounding passengers will inevitably take evasive or sudden actions, forming a physical disorder zone that spreads outward from the perpetrator. Visual occlusion, on the other hand, only obstructs the camera's line of sight, and passengers around the obstructed person will still maintain a normal escalator posture. Therefore, by analyzing the distribution of newly added passengers with abnormal movement relative to the target passenger with abnormal movement in each frame of the detection period, the degree of movement disorder of the target passenger with abnormal movement in each frame can be obtained. By tracking the spatial distance and clustering of newly added passengers with abnormal movement and the target passenger, this diffusion effect is quantified, providing a core physical basis for distinguishing isolated occlusion errors from real group abnormalities.

[0032] To comprehensively identify detected passengers with abnormal movement, this embodiment of the invention employs the GAT model as an analysis tool. First, during the detection period, each passenger with abnormal movement is considered a node. Two nodes located in the same detection frame and adjacent to each other are connected by a bidirectional edge. In this graph structure, the physically adjacent affected individuals on the escalator are transformed into mathematical topological relationships. Given the narrow space of the escalator and the strong physical coupling of the movement states of adjacent passengers, the graph structure avoids indiscriminate analysis of everyone in the entire frame, establishing connections only for passengers in abnormal states and spatially adjacent to each other. This focus on the local propagation of abnormal behavior makes the analysis results more accurate. Furthermore, edge weights are set. Since the edges between nodes are bidirectional, their direction can be considered as the propagation direction; that is, two nodes will receive corresponding edge weights if they are considered as propagation starting points from different nodes. In other words, the edge weights numerically represent the intensity of the contagion of abnormal behavior between passengers, and the direction of the edge represents the causal sequence. When determining edge weights, the first consideration is the comparison of the initial marking times between nodes. The initial marking time reflects the sequence of anomaly propagation; in the current propagation direction, the earlier the anomaly occurs at the propagation starting point, the more likely it conforms to standard propagation logic. Further comparison is made of the degree of movement disorder in moving anomalies and the shared marking period. Both of these indicators reflect the intensity of events occurring between two nodes. Finally, by combining these comparative analysis results, the edge weights can be obtained. It should be noted that the graph structure is updated accordingly as the real-time monitoring video frames are updated.

[0033] Ultimately, the GAT model is essentially an attention mechanism model that aggregates information from neighboring nodes. For genuine anomalies, high-weighted edges effectively transmit the features of surrounding passengers avoiding the anomaly to the central node, allowing the model to classify it as a genuine physical anomaly. For occlusions, due to the lack of neighboring responses, low-weighted edges block information transmission, leading the model to classify them as isolated visual occlusions, thus achieving the algorithmic distinction between false positives and true negatives. This allows for the classification of passengers with abnormal movement during the detection period into occluded passengers and passengers with genuine behavioral anomalies.

[0034] Preferably, in some implementations of the embodiments of the present invention, the method for obtaining the degree of movement disorder includes: For a passenger with abnormal movement in a target detection frame, if the target detection frame is the first calibration frame for that passenger, the degree of movement disorder is set to a preset minimum value. This step ensures that no algorithm logic error will occur if there are no preceding detection frames to analyze. In a specific implementation of this invention, this minimum value can be set to 0.

[0035] Otherwise, the system counts the number of newly added abnormal passengers in the target frame relative to the previous frame. The presence of newly added abnormal passengers is a crucial reference for determining whether these passengers have triggered abnormal propagation, and will be compared across three dimensions in subsequent steps. If no new abnormal passengers are found, the level of movement disorder is set to 1.

[0036] First, the average increment of motion anomaly values ​​for newly added abnormal passengers is calculated between the previous detection frame and the target detection frame. This average increment is the difference between the motion anomaly value of the newly added abnormal passenger in the target detection frame and the motion anomaly value of the corresponding passenger area in the previous detection frame, and the average of the differences for all newly added abnormal passengers. This feature characterizes the intensity and suddenness of the surrounding crowd's response, because a real sudden danger will force nearby normal passengers to stop abruptly or change their body posture significantly, causing their own motion anomaly values ​​to increase abruptly. If the false detection is caused by occlusion, the loss or displacement of the target will mostly result in slight jitter, and the increment of the anomaly value will be relatively gradual.

[0037] The average distance between the newly added abnormally moving passenger and the target abnormally moving passenger is calculated. This average distance between the second centroids represents the average distance between the centroids of the corresponding passenger areas. This feature can define the causal relationship of abnormal behavior in physical space. Because escalator space is relatively fixed and has strong physical constraints, avoidance triggered by a genuine anomaly will inevitably radiate outwards from the "incident passenger" as the center. The closer the newly added abnormally moving passenger is to the target, the stronger the causal relationship between them and the target; if the distance is far, it is very likely to be irrelevant noise. Introducing distance features can accurately pinpoint the local chain reaction triggered by the target.

[0038] The number of passengers with abnormal movement is compared between the previous frame to be detected and the target frame to be detected. The comparison result intuitively reflects the scale and evolution trend of the abnormal state in the crowd. Real safety events (such as falls) will inevitably trigger a chain reaction of avoidance by the surrounding crowd, resulting in a significant increase in the number of abnormal people in the same area over time; while visual occlusion is usually an isolated phenomenon, and the number of abnormal boxes will only fluctuate randomly, without a regular surge in the group.

[0039] Finally, the degree of motion disorder is obtained by combining the average increment of the motion anomaly values ​​and the average distance to the second centroid. That is, the larger the average increment of the motion anomaly values ​​and the smaller the average distance to the second centroid, the greater the degree of motion disorder of the target motion anomaly passengers in the target detection frames, indicating that the more target frames there are, the greater the degree of motion disorder of the target motion anomaly passengers in the target detection frames.

[0040] In one specific implementation of this invention, because the motion anomalies have been normalized, the average increment of the motion anomalies should be a number between 0 and 1 (the increment will not be negative). Similarly, the average distance to the first centroid point is normalized, and the distance to the second centroid point is subtracted from the normalization result by a positive integer 1 to obtain normalized data that is positively correlated with the degree of motion disorder. The number of motion-abnormal passengers in the target frame to be detected is used as the numerator, and the number of motion-abnormal passengers in the previous frame to be detected is used as the denominator. The resulting ratio is used as the comparison result. It should be noted that the frame to be detected already has a marked result within the detection period, therefore the number of motion-abnormal passengers in the previous frame to be detected cannot be 0. Finally, the three results are added together to obtain the degree of motion disorder.

[0041] Preferably, in some implementations of the embodiments of the present invention, if two nodes are located in the same detection frame and are adjacent, a bidirectional edge is connected, including: If two nodes are simultaneously marked in at least one of all detected frames, and the distance between the two nodes in the simultaneously marked frames is less than a preset distance threshold, then a bidirectional edge is constructed between the two nodes. This distance is also the centroid distance, and the distance threshold can be set to twice the width of the bounding box corresponding to the passenger area; that is, nodes within this range are considered adjacent, and the propagation of abnormal behavior may occur.

[0042] Preferably, in some implementations of the present invention, the method for obtaining the edge weights includes: For a bidirectional edge, the two nodes are designated as the starting node and the ending node. It should be noted that the starting and ending points are relative; in the other direction, they can be analyzed interchangeably.

[0043] The first ratio is obtained by using the initial labeling time of the starting node as the denominator and the initial labeling time of the ending node as the numerator. It should be noted that the initial labeling time is the number of frames between the first labeled frame and the initial frame to be detected. That is, the smaller the initial labeling time of the starting node, the larger the first ratio, indicating that the starting node is more likely to be the starting point of behavior propagation. This first ratio can quantify the "temporal causality" and reaction delay of abnormal state propagation among individuals. Specifically, a first ratio greater than 1 and larger indicates a more significant temporal follow-up characteristic, consistent with the causal transmission laws of the physical world. A smaller first ratio, or one close to 1, may indicate that visual occlusion usually occurs at the moment two people pass each other, with the abnormality triggered almost simultaneously, indicating extremely weak temporal causality.

[0044] The second ratio is obtained by using the range of anomalies in the movement of the endpoint node during the detection period as the denominator and the range of anomalies in the movement of the starting node as the numerator. This second ratio defines the "source dominance" and severity difference of the abnormal movement in the propagation chain. In real safety incidents, the amplitude of posture changes at the source of the accident (such as a fall or a person moving in the wrong direction, i.e., the starting point) is often much greater than that of those around who merely make evasive maneuvers (the endpoint). Therefore, the range of anomalies at the starting point is significantly greater than that at the endpoint, making this second ratio larger and highlighting the core attribute of the starting node as the propagation source. If it is a system occlusion error, the amplitude of the jumps and jitters of the two nodes is usually similar, lacking this dominant difference.

[0045] The intersection of surveillance video frames from two nodes marked as having abnormal passenger movement is analyzed. The degree of movement disorder at the starting node in the first video frame of the intersection is used as the denominator, and the degree of movement disorder at the starting node in the last video frame is used as the numerator to obtain a third ratio. This third ratio characterizes the worsening trend of abnormal behavior during the overlap of abnormal states between the two nodes. If there is a real physical connection between the two nodes, the degree of local movement disorder will increase over time as the event occurs, meaning the third ratio will increase. If it is only normal mutual occlusion, the crowd order remains normal during the overlap, and the degree of movement disorder will not show a significant trend of deterioration.

[0046] Ultimately, based on the above logic, the product of the first ratio, the second ratio, and the third ratio can be used as the edge weight.

[0047] It should be noted that, based on the specific implementation of the relevant technical features in the embodiments of the present invention, the above three ratios will generally not have a denominator of 0. If a denominator of 0 exists, it can be determined that the data acquisition of the current real-time monitoring video frame is abnormal and should be discarded without processing.

[0048] Preferably, in some implementations of the embodiments of the present invention, processing the graph structure through the GAT model includes: The GAT model is a model pre-trained based on historical samples. The initial attention coefficient of each edge is adjusted based on the edge weights to obtain the adjusted attention coefficient, which is then used for confidence output. In a specific implementation of this invention, since a larger edge weight indicates a higher probability of abnormal behavior propagation, the edge weights can be normalized. The normalization result is added to a positive integer 1 to obtain a gain factor. This gain factor is then multiplied by the initial attention coefficient to achieve the adjustment result; that is, the larger the edge weight, the greater the attention weight of the relevant structure should be. It should be noted that normalization can be achieved using range standardization, which uses historical maximum and minimum values ​​to achieve linear normalization. Furthermore, the initial attention coefficients are the initial parameters of the GAT model. The training and structure of this model are techniques well-known to those skilled in the art and will not be elaborated upon here.

[0049] Furthermore, passengers exhibiting abnormal movement are categorized into passengers with obstructed vision and passengers exhibiting genuine abnormal behavior, including: If the confidence level is greater than a preset classification threshold, the node is determined to be a passenger with genuine abnormal behavior; otherwise, it is determined to be an obstructing passenger. Since the confidence level output by the GAT model is a normalized data point, it can be set to 0.6 in one implementation of this invention.

[0050] Finally, in the abnormal behavior alarm module 103, based on the confidence level of the passenger exhibiting abnormal behavior in the GAT model within the real-time monitoring video frame, as well as the distribution of movement anomalies and the degree of movement disorder during the detection period, a warning index for the passenger exhibiting abnormal behavior is obtained and marked in the corresponding passenger area within the real-time monitoring video frame. This is because the confidence level in the GAT model characterizes the degree to which the passenger exhibiting abnormal behavior is identified as exhibiting genuine behavior; the distribution of movement anomalies during the detection period can characterize the severity of the passenger's abnormal actions, providing a direct assessment of the direct danger of the individual's actions; and the degree of movement disorder can assess the extent and scale of the impact of the abnormal behavior generated by the passenger exhibiting abnormal behavior on the escalator environment. Combining these three characteristics yields the warning index and enables effective marking.

[0051] Preferably, in some implementations of the embodiments of the present invention, the method for obtaining the early warning index includes: The warning index is calculated by multiplying the confidence level, the distribution of the maximum movement anomalies within the detection period, and the degree of maximum movement disorder. All three features should be positively correlated with the warning index; therefore, they can be directly multiplied to obtain the final warning index.

[0052] Preferably, in some implementations of the embodiments of the present invention, marking the corresponding passenger area in the real-time monitoring video frame includes: Three warning index ranges are preset. Based on the warning index range in which the actual abnormal behavior of passengers falls, the corresponding level is visually marked in the real-time monitoring video frame. Specifically, in the specific implementation of this embodiment, three levels—low, medium, and high—are set. After linearly normalizing the warning index (the method has been described above and will not be repeated), the warning index range for high-level passengers is set to (0.7, 1], with the corresponding passenger area marked in red, and the data is promptly pushed to the station maintenance terminal; the warning index range for medium-level passengers is set to [0.4, 0.7], with the corresponding passenger area marked in orange, and the data is stored in the monitoring log; the warning index range for low-level passengers is the remaining range, which is not marked and is only stored in the background. Ultimately, differentiated and refined graded warning outputs for abnormal escalator passenger behavior are achieved.

[0053] In summary, the system proposed in this invention includes a video stream processing module for acquiring movement vectors of passenger areas in video frames, determining movement anomalies by combining distribution consistency and passenger distribution characteristics, thereby marking abnormal passengers and defining detection time periods; an occlusion analysis module for obtaining the degree of movement disorder by analyzing the relative distribution of newly added abnormal passengers, constructing abnormal passengers as graph nodes, and assigning bidirectional edge weights between nodes based on the initial marking time, anomaly value, and disorder degree, using a GAT model to process the graph structure to accurately distinguish between visual occlusion and actual behavioral anomalies; and an abnormal behavior alarm module for calculating a warning index by comprehensively considering the GAT model confidence of actual abnormal passengers, anomaly value distribution, and movement disorder degree, and marking the corresponding area on the screen. This invention effectively eliminates false alarms caused by occlusion due to dense passenger flow and achieves accurate early warning of actual abnormal behavior on escalators.

[0054] The various embodiments in this specification are described in a progressive manner. The same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments.

Claims

1. A deep learning-based passenger abnormal behavior detection system for station escalators, characterized in that, The system includes: The station escalator video stream processing module is used to identify passenger areas in the real-time monitoring video frames of the escalator based on the target detection network and obtain the movement vector of each passenger area; based on the consistency of the movement vector distribution in the video stream and the passenger distribution in the frames where the passenger area is located, it determines the abnormal movement values ​​of passengers and marks the abnormally moving passengers; starting from the monitoring video frame where the abnormally moving passengers are first marked, it continues until the real-time monitoring video frames constitute the period to be detected; The occlusion analysis module is used to analyze the distribution of newly added abnormal passengers relative to the target abnormal passengers in each frame to be detected during the detection period, and to obtain the degree of movement disorder of the target abnormal passengers in each frame to be detected. During the detection period, each abnormal passenger is regarded as a node. If two nodes are located in the same detection frame and are adjacent, a bidirectional edge is connected. The edge weight is obtained by comparing the first marking time, movement anomaly value and movement disorder degree of the common marking period between the nodes. The graph structure is processed by the GAT model to classify abnormal passengers into occluded passengers and passengers with real abnormal behavior. The abnormal behavior alarm module is used to obtain the warning index of passengers with abnormal behavior in real-time monitoring video frames based on the confidence level of passengers with abnormal behavior in the GAT model, as well as the distribution of abnormal movement values ​​and the degree of movement disorder during the detection period, and to mark the corresponding passenger area in the real-time monitoring video frames.

2. The deep learning-based passenger abnormal behavior detection system for station escalators according to claim 1, characterized in that, The method for obtaining the moving anomaly value includes: For a target passenger area in a target surveillance video frame, the sum of the movement vectors in each frame between the first detection of the target passenger area and the target surveillance video frame is calculated. A first cosine similarity between the movement vector of the target passenger area and the sum vector, and a second cosine similarity with the escalator's direction of movement are obtained. The average distance between the first centroids of each pair of passenger areas in the target surveillance video frame is calculated. Based on the first cosine similarity, the second cosine similarity, and the average distance between the first centroids, the abnormal movement value of the target passenger area in the target surveillance video frame is obtained.

3. The deep learning-based passenger abnormal behavior detection system for station escalators according to claim 1, characterized in that, The methods for obtaining the degree of movement disorder include: For a target passenger with abnormal movement in a target detection frame, if the target detection frame is the first calibration frame for the target passenger with abnormal movement, the degree of movement disorder is set to a preset minimum value; otherwise, the number of newly added passengers with abnormal movement in the target detection frame relative to the previous detection frame is counted; the average increment of the movement disorder value of the newly added passengers with abnormal movement between the previous detection frame and the target detection frame is counted; the average distance between the second centroid of the newly added passengers with abnormal movement and the target passengers with abnormal movement is counted; the degree of movement disorder is obtained by comparing the number of passengers with abnormal movement between the previous detection frame and the target detection frame, combined with the average increment of the movement disorder value and the average distance between the second centroid.

4. The deep learning-based passenger abnormal behavior detection system for station escalators according to claim 1, characterized in that, If two nodes are located in the same detection frame and are adjacent to each other, a bidirectional edge is connected, including: If two nodes are marked simultaneously in at least one of the detected frames, and the distance between the two nodes in the detected frames marked simultaneously is less than a preset distance threshold, then a bidirectional edge is constructed between the two nodes.

5. The deep learning-based passenger abnormal behavior detection system for station escalators according to claim 1, characterized in that, The method for obtaining the edge weights includes: For a bidirectional edge, the two nodes are divided into a starting node and an ending node. The first ratio is obtained by using the initial marking time of the starting node as the denominator and the initial marking time of the ending node as the numerator. The second ratio is obtained by using the range of abnormal movement values ​​of the ending node during the detection period as the denominator and the range of abnormal movement values ​​of the starting node as the numerator. The intersection of the surveillance video frames where the two nodes are marked as passengers with abnormal movement is calculated. The degree of movement disorder of the starting node in the first surveillance video frame of the intersection is used as the denominator, and the degree of movement disorder of the starting node in the last surveillance video frame is used as the numerator to obtain a third ratio. The product of the first, second, and third ratios is used as the edge weight.

6. The deep learning-based passenger abnormal behavior detection system for station escalators according to claim 1, characterized in that, The process of processing graph structures using the GAT model includes: The GAT model is a model pre-trained based on historical samples. The initial attention coefficient of each edge is adjusted based on the edge weights to obtain the adjusted attention coefficient, which is then used for confidence output.

7. The deep learning-based passenger abnormal behavior detection system for station escalators according to claim 1, characterized in that, The classification of passengers with abnormal movement into passengers with obstructed vision and passengers with actual abnormal behavior includes: If the confidence level is greater than the preset classification threshold, the node is determined to be a passenger with real abnormal behavior; otherwise, it is determined to be a passenger with obstructed vision.

8. The deep learning-based passenger abnormal behavior detection system for station escalators according to claim 1, characterized in that, The methods for obtaining the early warning index include: The product of the confidence level, the distribution of the maximum movement anomaly during the detection period, and the degree of maximum movement disorder is used as the early warning index.

9. A deep learning-based passenger abnormal behavior detection system for station escalators according to claim 1, characterized in that, The marking of the corresponding passenger area in the real-time monitoring video frame includes: Three warning index ranges are preset. Based on the warning index range in which the actual abnormal passenger falls, the corresponding level is visually marked in the real-time monitoring video frame.

10. A deep learning-based passenger abnormal behavior detection system for station escalators according to claim 1, characterized in that, The target detection network consists of the YOLOv8n algorithm and a multi-target tracking algorithm.