Park abnormal behavior detection monitoring method and system
By acquiring park image data in real time, analyzing behavioral characteristics and time characteristics, and combining deep learning model analysis to identify abnormal behaviors, it solves the problem of frequent misjudgments in existing technologies and improves the accuracy and efficiency of park security monitoring.
Patent Information
- Application Number
- CN202410738721.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing park monitoring system is prone to misjudgment when identifying and judging abnormal behaviors, and it is difficult to accurately distinguish between normal behaviors and abnormal behaviors, especially when the behavior boundaries are blurred.
By acquiring the park image data in real time, analyzing the frame sequence to extract the behavioral characteristics of the target object, and classifying the behavior based on time characteristics to determine whether abnormal behavior conditions are met, including sports behavior, daily behavior and traffic behavior, using a deep learning model to analyze the movement trajectory and The degree of difference in standard trajectories, identifying physical contact and carrying dangerous items, establishing aggregation behavior models, and analyzing conversation data to determine abnormal topics.
It achieves a more precise judgment of whether the target object's behavior is abnormal, reduces false positives and false negatives, avoids the overly broad abnormal behavior judgment in the existing technology, and improves the accuracy and efficiency of park security monitoring.
Smart Images

Figure CN118570874A
Abstract
Description
Technical Field
[0001] The present application relates to the field of park monitoring technology, and in particular to a method and system for detecting and monitoring abnormal behavior in a park. Background Art
[0002] The purpose of park abnormal monitoring is to ensure the safety and order of the park and protect the personal and property safety in the park. By monitoring and analyzing activities in the park, the park abnormal monitoring system can help a specific park to timely discover and deal with potential security risks and improve the safety management level of the park.
[0003] There are a variety of behaviors in the park, and these behaviors are often complex and changeable. Therefore, how to accurately identify and judge whether the behavior is abnormal is a challenging technical problem. Specifically. In addition, existing technical means often adopt a fixed threshold judgment method. Once certain parameters exceed the set threshold, the system will judge it as abnormal behavior. However, this judgment method is prone to misjudgment because the behavior of people is highly diverse and uncertain. Therefore, how to design a monitoring system that can accurately identify various human behaviors in the park and effectively distinguish between normal and abnormal behaviors is a technical problem that needs to be solved urgently. Summary of the invention
[0004] In order to solve one or several problems in the prior art, the main purpose of the present application is to provide a method and system for detecting and monitoring abnormal behavior in a park.
[0005] In order to achieve the above-mentioned invention object, the present application proposes a method for detecting and monitoring abnormal behavior in a park, the method comprising: Acquire image data within the park in real time; When a target object appears in the image data, parsing a frame sequence of the current image data to extract behavioral features of the target object; Extracting the time feature of the behavior feature according to the frame sequence of the image data, wherein the time feature includes the frequency and duration of the behavior feature; Combining the behavior characteristics and the time characteristics, classifying the behavior of the target object, wherein the behavior classification includes sports behavior, daily behavior and traffic behavior; According to the result of the target object behavior classification, determining whether the target object behavior meets the condition of abnormal behavior; When the target feature meets the condition of abnormal behavior, abnormal information and abnormal location are sent to the management end.
[0006] Further, judging whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification includes: When the target object behavior classification category is sports behavior, establishing a sports data model; Acquiring motion data during the motion behavior, the motion data including motion speed, motion trajectory, and motion acceleration calculated according to the motion speed; Inputting the motion data into the motion data model, analyzing the difference between the motion speed and the speed standard value, analyzing the difference between the motion acceleration and the acceleration standard value, analyzing the difference between the motion trajectory and the standard trajectory through the motion data model, and quantifying and converting each difference to obtain an abnormality score; When the abnormal score is greater than a preset threshold, it is determined that the movement behavior of the target object meets the abnormal behavior.
[0007] Furthermore, the method for analyzing the difference between the motion trajectory and the standard trajectory includes: Extracting coordinates of all actual track points of the motion track according to a frame sequence of the image data; Analyze the distance between the coordinates of each actual trajectory point and the coordinates of the standard trajectory point through the motion data model to obtain a total position deviation value; Calculate the average position deviation ratio by comparing the total position deviation value with the total length of the actual track; Based on the average position deviation ratio, the degree of difference between the motion trajectory and the standard trajectory is determined.
[0008] Furthermore, judging whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification, the method further includes: When the target object's behavior classification category is daily behavior; Acquire daily data of the daily behavior, and determine whether the target object has physical contact in the daily data; When the target object has physical contact, obtaining the duration, frequency and intensity of the physical contact; When any one of the parameters of the duration, contact frequency and contact intensity in the property classification is greater than a preset contact threshold, it is determined that the daily behavior of the target object meets the conditions of hostile conflict abnormal behavior.
[0009] Furthermore, judging whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification, the method further includes: When the target object's behavior classification category is daily behavior; Acquire daily data of the daily behavior, and when the target object in the daily data appears to be carrying an item, extract the shape and size features of the item; Determine whether the item is a dangerous item based on its shape and size characteristics; Matching the shape and size features of the object with a preset dangerous goods database, and when the shape and size features of the object successfully match the dangerous goods database, determining that the object is a dangerous object; Based on dangerous goods, analyze whether the identity information of the target object carrying dangerous goods meets the conditions of abnormal behavior; When the target object is a minor, it is determined that the target object carries dangerous items that meet the condition of abnormal behavior.
[0010] Furthermore, judging whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification, the method further includes: When the target object's behavior classification category is daily behavior; Acquire daily data of the daily behavior, and when multiple target objects appear in the daily data, establish a clustered behavior model; Obtaining the gathering data, including gathering time, gathering location and gathering form; The aggregation data is input into the aggregation behavior model, and the aggregation data is analyzed by the aggregation behavior model to determine whether it is abnormal aggregation data, including: analyzing whether the aggregation time is the preset class time; analyzing whether the number of people at the aggregation location exceeds the number threshold of the aggregation location; when the aggregation time is not within the preset class time, and the number of people at the aggregation location exceeds the number threshold of the aggregation location, determining whether the aggregation data is abnormal aggregation data; Based on the abnormal aggregated data, it is determined that the daily behavior of the target object meets the condition of abnormal behavior.
[0011] Furthermore, when the gathering time is a preset class time and the number of people at the gathering place exceeds the number threshold of the gathering place, the method further includes: Acquire the conversation data of the target object, and determine whether abnormal topics appear in the conversation data; When an abnormal topic appears in the conversation data, determining whether the aggregated data is abnormal aggregated data; Based on the abnormal aggregated data, it is determined that the daily behavior of the target object meets the condition of abnormal behavior.
[0012] The embodiment of the present application also provides a park abnormal behavior detection and monitoring system, including: An acquisition module is used to acquire image data within the park in real time; A parsing module, used for parsing a frame sequence of current image data and extracting behavioral features of the target object when the target object appears in the image data; An extraction module, used for extracting the time feature of the behavior feature according to the frame sequence of the image data, wherein the time feature includes the frequency and duration of the behavior feature; A classification module, used to classify the behavior of the target object by combining the behavior characteristics and the time characteristics, wherein the behavior classification includes sports behavior, daily behavior and traffic behavior; A judgment module, used to judge whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification; The sending module is used to send abnormal information and abnormal position to the management end when the target feature meets the condition of abnormal behavior.
[0013] The present application also provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
[0014] The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods are implemented.
[0015] The abnormal behavior detection and monitoring method and system of the park in the embodiment of the present application, based on the real-time acquisition of image data in the park, extracts the behavior characteristics of the target object by parsing the frame sequence, and classifies the behavior in combination with the time characteristics, so as to determine whether abnormal behavior has occurred. By extracting the time characteristics of the behavior characteristics and combining them with the behavior classification of the target object, it is possible to more finely judge whether the behavior of the target object is abnormal; at the same time, for situations where the behavior boundaries are blurred, such as fast walking being misjudged as motion behavior. By accurately distinguishing between motion behavior, daily behavior and traffic behavior, even in cases where the behavior boundaries are blurred, such as fast walking, accurate judgments can be made, avoiding the problems of false alarms and missed reports. Intelligently judge whether the behavior meets the conditions of abnormal behavior, avoiding the overly broad abnormal behavior judgment in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of a process flow of a method for detecting and monitoring abnormal behavior in a park according to an embodiment of the present application; Figure 2 A schematic diagram of a process flow of a method for detecting and monitoring abnormal behavior in a park according to an embodiment of the present application; Figure 3 This is a schematic block diagram of the structure of a park abnormal behavior detection and monitoring system according to an embodiment of the present application; Figure 4 A schematic block diagram of the structure of a computer device according to an embodiment of the present application.
[0017] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0019] It should be noted that all information and data collected by this application are strictly in accordance with the provisions of laws and regulations, and have been explicitly authorized by the owner of the information.
[0020] Reference Figure 1 In an embodiment of the present application, a method for detecting and monitoring abnormal behavior in a park is provided, the method comprising: S1, real-time acquisition of image data within the park; S2. When a target object appears in the image data, parse the frame sequence of the current image data to extract the behavior characteristics of the target object; S3, extracting the time feature of the behavior feature according to the frame sequence of the image data, wherein the time feature includes the frequency and duration of the behavior feature; S4, combining the behavior characteristics and the time characteristics, classifying the behavior of the target object, wherein the behavior classification includes sports behavior, daily behavior and traffic behavior; S5. judging whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification; S6. When the target feature meets the condition of abnormal behavior, abnormal information and abnormal location are sent to the management end.
[0021] As described in steps S1-S2 above, high-definition cameras and image transmission networks can be used to capture real-time video streams in the park. Real-time is the key to park security monitoring, ensuring that the monitoring system can respond quickly and capture the dynamics in the park in a timely manner. Through computer vision technology, such as target detection algorithms (such as YOLO, Faster R-CNN, etc.), the target object in the image is identified and its behavioral features are extracted. By extracting behavioral features, individuals in the park can be accurately identified and tracked, providing a basis for subsequent behavioral analysis.
[0022] As described in step S3 above, in the frame sequence of the image data, video processing techniques such as optical flow method, motion estimation, etc. can be used to calculate the changes between frames and extract the time features. By analyzing the time features, the dynamic changes of the behavior, such as fast movement, long-term stillness, etc., can be understood. By analyzing the changes in the behavior features of the target object over time and calculating the frequency and duration of the behavior, the behavior pattern of the target object can be more comprehensively understood, which helps to distinguish normal behavior from abnormal behavior.
[0023] As described in step S4 above, based on the extracted behavioral features and time features, the behaviors are classified using machine learning or deep learning models, which can effectively classify the behaviors of the target objects and facilitate the subsequent judgment and processing of abnormal behaviors.
[0024] As described in the above steps S5-S6, by setting the conditional threshold of abnormal behavior and comparing the behavior classification results of the target object, potential abnormal behavior can be discovered in time, and abnormal information can be sent to the management end, which is conducive to safety management and monitoring. For example, speed threshold, duration threshold, etc., compared with the classification results, abnormal behavior can be discovered and alarmed in time, improving the safety management level of the park. Through the park security management system, abnormal information and location are pushed to the management end in real time. Managers can respond quickly, handle abnormal situations in time, and ensure the safety of the park. The entire system effectively improves the efficiency and accuracy of park security monitoring through real-time monitoring, behavior analysis, abnormal judgment and rapid response, and provides a strong guarantee for park safety.
[0025] Specifically, based on the real-time acquisition of image data within the park, the behavior features of the target object are extracted by parsing the frame sequence, and the behavior is classified in combination with the time features to determine whether abnormal behavior has occurred. By extracting the time features of the behavior features and combining them with the behavior classification of the target object, it is possible to more accurately determine whether the behavior of the target object is abnormal; at the same time, for situations where the behavior boundaries are blurred, such as fast walking being misjudged as motion behavior. By accurately distinguishing between motion behavior, daily behavior, and traffic behavior, even in situations where the behavior boundaries are blurred, such as fast walking, accurate judgments can be made, avoiding the problems of false alarms and missed alarms. Intelligently judging whether the behavior meets the conditions for abnormal behavior avoids the overly broad abnormal behavior judgment in the prior art.
[0026] In a feasible embodiment, a person is running in a sports field, but his running trajectory obviously deviates from the normal running path, and there are unnatural bends and wandering. The system captures this behavior in real time and extracts relevant features, including the person's motion trajectory, speed, acceleration, etc. After analyzing through a deep learning model, the system believes that this behavior meets the abnormal conditions of motion behavior (because the person's motion trajectory does not match the normal running trajectory, showing unnatural bends and wandering). The system immediately sends an alarm message to the park security management center, including a description of the behavior, the time and place of occurrence, and the characteristics of the person involved. After receiving the alarm message, the park security management center immediately dispatches personnel to conduct on-site confirmation and processing, while paying attention to protecting the privacy of the person involved. From the above analysis, the system not only focuses on a single behavioral feature, such as speed or duration, but also comprehensively considers the environment of the behavior, the behavior pattern of the target object, and the interaction with other objects, so as to more accurately judge abnormal behavior. This analysis method is more comprehensive and helps to reduce false positives and false negatives. At the same time, judging the abnormality of motion behavior by the abnormality of the trajectory can more accurately identify potential safety risks.
[0027] Reference Figure 2 In one embodiment, the encryption algorithm includes a quantum encryption algorithm, and judging whether the behavior of the target object meets the abnormal behavior condition according to the result of the target object behavior classification includes: S51, when the target object behavior classification category is sports behavior, establishing a sports data model; S52, obtaining motion data of the motion behavior, wherein the motion data includes motion speed, motion trajectory, and motion acceleration calculated according to the motion speed; S53, inputting the motion data into the motion data model, analyzing the difference between the motion speed and the speed standard value, analyzing the difference between the motion acceleration and the acceleration standard value, analyzing the difference between the motion trajectory and the standard trajectory through the motion data model, and quantifying and converting each difference to obtain an abnormality score; S54: When the abnormality score is greater than a preset threshold, it is determined that the movement behavior of the target object meets the abnormal behavior.
[0028] As described in the above steps, by collecting and analyzing a large amount of normal motion behavior data, a statistical model of motion behavior is established, including normal speed range, acceleration range and trajectory pattern. The model provides a benchmark for the subsequent comparison of motion data with standard values, which helps to accurately identify abnormal motion behavior. Using video analysis and target tracking technology, the motion data of the target object, including speed, trajectory and acceleration, are extracted from the surveillance video. These data are the basis for judging whether the motion behavior is abnormal, and provide a practical basis for subsequent analysis and classification. By comparing the real-time speed data with the speed standard model, the percentage or absolute value of the speed difference is calculated. It is possible to identify behaviors with abnormal speed, such as speeding or moving too slowly, which may be potential safety risks. By comparing the real-time acceleration data with the acceleration standard model, the percentage or absolute value of the acceleration difference is calculated. It is possible to identify behaviors with abnormal acceleration, such as sudden acceleration or deceleration, which may be signs of emergency or abnormal behavior. By comparing the real-time motion trajectory with the standard trajectory model, indicators of trajectory differences, such as curvature change, direction deviation, etc., are calculated. It is possible to identify behaviors with abnormal trajectories, such as unnatural bending, wandering or sudden changes in direction, which may be signs of abnormal behavior. By setting weights and calculation formulas, all the above differences are combined to form a quantitative indicator, namely the anomaly score. The anomaly score provides a unified metric for judging whether the behavior is abnormal, which simplifies the process of abnormal behavior identification. A threshold for the anomaly score is set. When the calculated anomaly score exceeds this threshold, the system determines that the behavior is abnormal. The threshold provides a clear criterion to help the system make accurate judgments in complex environments, while reducing the possibility of false positives and false negatives. It is worth mentioning that the use of parameters in multiple directions for comprehensive analysis can provide a more comprehensive understanding of the motion behavior of the target object. By considering multiple aspects such as speed, acceleration and trajectory, the motion state of the target object can be more accurately described to avoid misjudgment caused by a single parameter. By analyzing the difference degree in multiple directions and quantifying it into anomaly scores, it is possible to comprehensively evaluate whether the motion behavior of the target object is abnormal. Not only the abnormality of a single parameter is considered, but also the degree of abnormality in various aspects can be comprehensively considered, which improves the accuracy and reliability of abnormal behavior detection. Comprehensive consideration of parameters in multiple directions can reduce the possibility of misjudgment. Due to the complexity of motion behavior, it is difficult for parameters in a single direction to fully describe the motion state, which is easy to cause misjudgment. Combining parameters from multiple directions can more objectively evaluate the abnormality of motion behavior and reduce false positives or negatives. By carefully studying parameters from multiple directions, the conditions of abnormal behavior can be more precisely defined and a more accurate motion data model can be established. This comprehensive analysis method can improve the accuracy of detection and make the judgment of abnormal behavior more reliable and effective.
[0029] In another embodiment, through deep learning and other artificial intelligence technologies, different human behaviors can be identified and distinguished, such as normal walking, running, fighting, chasing, etc. This intelligent recognition capability significantly reduces the misjudgment rate and improves the accuracy of monitoring. The monitoring system no longer relies on fixed thresholds, but can dynamically adjust the thresholds according to changes in the real-time environment and human behavior. This adaptive threshold adjustment mechanism can better adapt to the complex and changeable behavior patterns in the park. The system can process and analyze image data in real time, quickly extract information such as motion trajectory, speed, acceleration, and immediately analyze this information to determine whether there is abnormal behavior. Due to the high intelligence of the system, the need for manual monitoring is greatly reduced. The monitoring system can run automatically, and manual intervention is only required when abnormal behavior is detected, which greatly saves human resources. When the monitoring system detects abnormal behavior, an alarm can be immediately issued to notify management personnel. This rapid response capability helps to deal with potential safety issues in a timely manner and reduce the occurrence of accidents. The large amount of data collected by the monitoring system can be used for further analysis and research, helping management to better understand human behavior patterns, so as to formulate more effective safety policies and countermeasures. By accurately identifying and responding to abnormal behavior in a timely manner, the monitoring system helps to create a safer park environment and improve the sense of security of personnel.
[0030] In yet another embodiment, after the step of classifying the target object behavior as a sports behavior, the method further comprises: Real-time access to weather data within the park, including rainfall and wind speed data; Analyze the influence of weather conditions on personnel behavior based on the weather data, such as when it rains, personnel may run quickly to avoid rain; Receive current time data in real time; Analyze the campus timetable and class time and end time according to the event data; and analyze the impact on the movement behavior of the personnel according to the class time and end time; Establishing a multi-factor decision model, inputting the weather data, time data and motion acceleration into the multi-factor decision model, and calculating the acceleration standard value through the multi-factor decision model; According to the difference between the motion acceleration and the acceleration standard value, the difference between the motion trajectory and the standard trajectory is analyzed, and each difference is quantified and converted to obtain an abnormal score; When the abnormal score is greater than a preset threshold, it is determined that the movement behavior of the target object meets the abnormal behavior.
[0031] As mentioned above, the system obtains weather conditions in the park in real time, such as rainfall and wind speed, through APIs or other data interfaces. Understanding weather conditions helps explain the movement patterns of people. For example, when it rains, people may run quickly to avoid the rain. In this case, fast movement is not necessarily abnormal behavior. Analyze the impact of weather data on people's behavior and adjust the judgment criteria for abnormal behavior. The system can adaptively adjust the standards for behavior recognition according to weather conditions to reduce false alarms. The system synchronizes real-time time data to analyze the time characteristics of people's behavior. Time data helps understand the time pattern of people's behavior. For example, people may move quickly during get out of class time. The system analyzes the class schedule and time data to identify the peak hours of get out of class time. During get out of class time, fast movement of people may be normal behavior, and the system can adjust the standards for behavior recognition accordingly. Combine multi-dimensional data such as weather, time, and motion acceleration to establish a decision model and calculate the standard value of acceleration. The multi-factor decision model can consider various factors more comprehensively and improve the accuracy of behavior recognition. Compare the actual motion acceleration with the standard value predicted by the model to quantify the degree of difference. It can identify abnormal changes in acceleration and thus more accurately judge abnormal behavior. Compare the actual motion trajectory with the standard trajectory predicted by the model and quantify the degree of difference. It can identify abnormal patterns in the trajectory and improve the ability to detect abnormal behavior. Quantify the degree of difference into a score to evaluate the degree of abnormality of the behavior. Provide a quantitative evaluation standard to make the judgment of abnormal behavior more objective and consistent. Set a threshold as the boundary for judging abnormal behavior. Through threshold setting, the system can distinguish between normal and abnormal behavior and reduce false positives and false negatives.
[0032] In one embodiment, the method of analyzing the difference between the motion trajectory and the standard trajectory includes: Extracting coordinates of all actual track points of the motion track according to a frame sequence of the image data; Analyze the distance between the coordinates of each actual trajectory point and the coordinates of the standard trajectory point through the motion data model to obtain a total position deviation value; Calculate the average position deviation ratio by comparing the total position deviation value with the total length of the actual track; Based on the average position deviation ratio, the degree of difference between the motion trajectory and the standard trajectory is determined.
[0033] As mentioned above, computer vision technology, such as target tracking algorithm, is used to extract the target's motion trajectory from the video frame and record the coordinates of each trajectory point. This provides a data basis for comparing the actual trajectory with the standard trajectory, which is helpful for subsequent difference analysis. The total position deviation value is obtained by calculating the Euclidean distance between each actual trajectory point and the corresponding standard trajectory point. Distance analysis can intuitively reflect the difference between the actual trajectory and the standard trajectory, providing a quantitative basis for judging abnormal behavior. The total position deviation value is divided by the total length of the actual trajectory to obtain the average position deviation ratio, that is, the average deviation per unit trajectory length. The average position deviation ratio provides a more refined indicator, which helps to identify minor anomalies in the trajectory and improve the accuracy of abnormal behavior detection. According to the average position deviation ratio, combined with the preset threshold or rule, the degree of difference between the motion trajectory and the standard trajectory is judged, thereby judging whether the behavior is abnormal. The determination of the degree of difference provides a clear judgment standard, which helps to reduce false positives and false negatives and improve the system's ability to identify abnormal behavior.
[0034] In one embodiment, judging whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification, the method further includes: When the target object's behavior classification category is daily behavior; Acquire daily data of the daily behavior, and determine whether the target object has physical contact in the daily data; When the target object has physical contact, the duration, frequency and intensity of the physical contact are obtained, and according to the duration, frequency and intensity of the physical contact; When any one of the parameters of the duration, contact frequency and contact intensity is greater than a preset contact threshold, it is determined that the daily behavior of the target object meets the condition of abnormal behavior.
[0035] As mentioned above, duration is an important parameter for evaluating the persistence of physical contact behavior. Long-term contact may indicate hostile conflict or fighting behavior. Monitoring the duration of physical contact can help identify abnormal intimate or intense contact behavior and discover potential conflict situations in a timely manner. Contact frequency reflects the number of times physical contact behavior occurs. High-frequency contact may mean that the target object is nervous or aggressive. By monitoring the contact frequency, it can be found whether the target object frequently participates in physical contact, which helps identify potential hostile conflict behavior. Contact intensity describes the strength or degree of physical contact. Strong contact may indicate hostile behavior or aggressive behavior. Monitoring contact intensity helps to distinguish friendly interactions from hostile conflicts, discover possible violent tendencies in a timely manner, and effectively prevent potential fighting incidents. By comprehensively considering the three parameters of physical contact duration, contact frequency, and contact intensity, when any set of parameters is greater than the preset contact threshold, it is determined that the target object's daily behavior meets the conditions of abnormal hostile conflict behavior. This comprehensive judgment method based on multiple feature parameters helps to improve the accuracy and reliability of abnormal behavior and effectively warn and respond to potential hostile conflict events.
[0036] In one embodiment, judging whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification, the method further includes: When the target object's behavior classification category is daily behavior; Acquire daily data of the daily behavior, and when the target object in the daily data appears to be carrying an item, extract the shape and size features of the item; Determine whether the item is a dangerous item based on its shape and size characteristics; Matching the shape and size features of the object with a preset dangerous goods database, and when the shape and size features of the object successfully match the dangerous goods database, determining that the object is a dangerous object; Based on dangerous goods, analyze whether the identity information of the target object carrying dangerous goods meets the conditions of abnormal behavior; When the target object is a minor, it is determined that the target object carries dangerous items that meet the condition of abnormal behavior.
[0037] As mentioned above, it is detected in the daily data whether the target object is carrying an item, and the characteristic information such as the shape and size of the item is extracted. By extracting the shape and size characteristics of the item, the properties of the item can be further analyzed to provide key information for the subsequent identification of dangerous items. According to the shape and size characteristics of the item, it is judged whether the item is dangerous and may pose a threat to the surrounding environment or others. Identifying dangerous items helps to quickly discover potential safety risks and ensure public safety and order. The extracted shape and size characteristics of the item are compared with the pre-established dangerous item database to confirm whether the item is a dangerous item. Through database matching, dangerous items can be quickly identified, the error of manual judgment can be reduced, and the efficiency of safety detection can be improved. Analyze the identity information of the target object, especially when the target object is a minor, carrying dangerous items may indicate abnormal behavior. Combining the identity information of the target object for analysis helps to more accurately determine whether there is abnormal behavior and take corresponding measures in time to ensure safety.
[0038] In one embodiment, judging whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification, the method further includes: When the target object's behavior classification category is daily behavior; Acquire daily data of the daily behavior, and when multiple target objects appear in the daily data, establish a clustered behavior model; Obtaining the gathering data, including gathering time, gathering location and gathering form; The aggregation data is input into the aggregation behavior model, and the aggregation data is analyzed by the aggregation behavior model to determine whether it is abnormal aggregation data, including: analyzing whether the aggregation time is the preset class time; analyzing whether the number of people at the aggregation location exceeds the number threshold of the aggregation location; when the aggregation time is not within the preset class time, and the number of people at the aggregation location exceeds the number threshold of the aggregation location, determining whether the aggregation data is abnormal aggregation data; Based on the abnormal aggregated data, it is determined that the daily behavior of the target object meets the condition of abnormal behavior.
[0039] As described above, by classifying the behavior of the target object, when the classification result is daily behavior, it is further determined whether there are conditions for abnormal behavior. According to the classification result of the target object behavior, it is possible to analyze whether the daily behavior meets the conditions for abnormal behavior in a targeted manner, thereby improving the accuracy of abnormal behavior detection. When multiple target objects appear in daily data, the collective behavior of the target objects is analyzed by establishing an aggregation behavior model. Establishing an aggregation behavior model can help identify the regularities and abnormalities in group behavior and improve the monitoring and management efficiency of collective behavior. The aggregation data including the gathering time, gathering place and gathering form are input into the aggregation behavior model, and the model is used to analyze whether it is abnormal aggregation data. By analyzing abnormal aggregation data, abnormal collective behavior can be quickly discovered, such as gatherings during non-class time or when the number of people exceeds the threshold, which helps to intervene and deal with potential risks in a timely manner. According to the analysis results of abnormal aggregation data, it is determined whether the daily behavior of the target object meets the conditions for abnormal behavior. By determining whether the daily behavior of the target object is abnormal, potential abnormalities can be identified in a timely manner, which helps to take necessary safety measures and management measures.
[0040] In one embodiment, when the gathering time is a preset class time and the number of people at the gathering location exceeds a threshold number of people at the gathering location, the method further includes: Acquire the conversation data of the target object, and determine whether abnormal topics appear in the conversation data; When an abnormal topic appears in the conversation data, determining whether the aggregated data is abnormal aggregated data; Based on the abnormal aggregated data, it is determined that the daily behavior of the target object meets the condition of abnormal behavior.
[0041] As mentioned above, when the gathering time meets the preset class time and the number of people at the gathering location exceeds the threshold of the number of people at the location, the system further analyzes the conversation data of the target object. This method helps to identify abnormal gathering behaviors during class time and provides an effective monitoring method for park safety management. Through speech recognition technology, the voice content in the video is converted into text data, namely conversation data. The acquisition of conversation data provides a basis for subsequent abnormal topic detection, which helps the system to accurately determine whether the conversation content in the gathering behavior is abnormal. Through natural language processing technology, such as keyword recognition and sentiment analysis, it is determined whether abnormal topics appear in the conversation data. The determination of abnormal topics helps to identify conversations that may involve sensitive content or violate park regulations, providing an effective early warning mechanism for park safety management. When abnormal topics appear in the conversation data, the system determines that the gathering data is abnormal gathering data. This judgment method helps to timely discover and deal with potential security risks and provides strong support for park safety management. Based on abnormal aggregation data, the system determines that the daily behavior of the target object meets the conditions of abnormal behavior. This judgment method helps to timely discover and deal with potential security risks and provides strong support for park safety management. It is worth mentioning that it is first determined whether the gathering occurs during the preset class time. This helps exclude normal classroom activities, such as physical education classes or group activities, which may require people to gather at specific times. Obtain the conversation data of the target object and determine whether abnormal topics appear. The content of the conversation can provide additional information to help the system distinguish between normal and abnormal gatherings. The presence of abnormal topics may indicate that the gathering behavior is potentially risky. Combine the gathering time and the conversation content to determine whether the gathering data is abnormal gathering data. This comprehensive judgment method can more accurately identify abnormal gathering behavior, even if it occurs during class time. Based on the abnormal gathering data, determine whether the target object's daily behavior meets the conditions of abnormal behavior. This judgment method ensures that during class time, only when the gathering behavior is indeed abnormal will it be identified as abnormal behavior, thereby reducing false positives. Through these methods, the system can accurately distinguish between normal and abnormal gatherings during class time, for the following reasons: During class time, most gatherings may be normal teaching activities. Through the above methods, the system can distinguish those abnormal gatherings that are beyond the scope of normal teaching activities. By comprehensively considering the gathering time, location, form and conversation content, the system can more accurately determine the nature of the gathering, thereby improving the accuracy of abnormal behavior monitoring. Identifying abnormal gathering behavior during class time can avoid misjudging normal teaching activities as abnormal behavior, reducing unnecessary alarms and resource waste. When the system identifies abnormal gathering behavior, it can notify administrators in time so that potential safety risks can be evaluated and handled.
[0042] The abnormal behavior detection and monitoring method of the park of the present application, based on the real-time acquisition of image data in the park, extracts the behavior characteristics of the target object by parsing the frame sequence, and classifies the behavior in combination with the time characteristics, so as to determine whether abnormal behavior has occurred. By extracting the time characteristics of the behavior characteristics and combining them with the behavior classification of the target object, it is possible to more accurately judge whether the behavior of the target object is abnormal; at the same time, for situations where the behavior boundaries are blurred, such as fast walking being misjudged as sports behavior. By accurately distinguishing between sports behavior, daily behavior and traffic behavior, even in cases where the behavior boundaries are blurred, such as fast walking, accurate judgments can be made, avoiding the problems of false alarms and missed reports. Intelligently judge whether the behavior meets the conditions of abnormal behavior, avoiding the overly broad abnormal behavior judgment in the prior art.
[0043] Reference Figure 3 In an embodiment of the present application, a park abnormal behavior detection and monitoring system is also provided, including: An acquisition module is used to acquire image data within the park in real time; A parsing module, used for parsing a frame sequence of current image data and extracting behavioral features of the target object when the target object appears in the image data; An extraction module, used for extracting the time feature of the behavior feature according to the frame sequence of the image data, wherein the time feature includes the frequency and duration of the behavior feature; A classification module, used to classify the behavior of the target object by combining the behavior characteristics and the time characteristics, wherein the behavior classification includes sports behavior, daily behavior and traffic behavior; A judgment module, used to judge whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification; The sending module is used to send abnormal information and abnormal position to the management end when the target feature meets the condition of abnormal behavior.
[0044] As described above, it can be understood that the various components of the park abnormal behavior detection and monitoring system proposed in this application can realize the functions of any one of the park abnormal behavior detection and monitoring methods described above, and the specific structure will not be repeated.
[0045] Reference Figure 4 In an embodiment of the present application, a computer device is also provided. The computer device may be a server, and its internal structure may be as follows: Figure 4As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store monitoring data and other data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for detecting and monitoring abnormal behavior in a park is implemented.
[0046] The processor executes the abnormal behavior detection and monitoring method in the park, including: acquiring image data in the park in real time; when a target object appears in the image data, parsing the frame sequence of the current image data and extracting the behavior characteristics of the target object; extracting the time characteristics of the behavior characteristics according to the frame sequence of the image data, the time characteristics including the frequency and duration of the behavior characteristics; combining the behavior characteristics and the time characteristics to classify the behavior of the target object, the behavior classification including sports behavior, daily behavior and traffic behavior; judging whether the behavior of the target object meets the abnormal behavior conditions according to the result of the target object behavior classification; when the target characteristics meet the abnormal behavior conditions, sending abnormal information and abnormal location to the management end.
[0047] The above-mentioned abnormal behavior detection and monitoring method in the park, based on the real-time acquisition of image data in the park, extracts the behavior characteristics of the target object by parsing the frame sequence, and classifies the behavior in combination with the time characteristics, so as to determine whether abnormal behavior has occurred. By extracting the time characteristics of the behavior characteristics and combining them with the behavior classification of the target object, it is possible to more accurately judge whether the behavior of the target object is abnormal; at the same time, for situations where the behavior boundaries are blurred, such as fast walking being misjudged as sports behavior. By accurately distinguishing between sports behavior, daily behavior and traffic behavior, even in cases where the behavior boundaries are blurred, such as fast walking, accurate judgments can be made, avoiding the problems of false alarms and missed reports. Intelligently judging whether the behavior meets the conditions of abnormal behavior avoids the overly broad abnormal behavior judgment in the prior art.
[0048] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, a method for detecting and monitoring abnormal behavior in a park is implemented, comprising the following steps: acquiring image data in the park in real time; when a target object appears in the image data, parsing the frame sequence of the current image data and extracting the behavior characteristics of the target object; extracting the time characteristics of the behavior characteristics based on the frame sequence of the image data, wherein the time characteristics include the frequency and duration of the behavior characteristics; classifying the behavior of the target object based on the behavior characteristics and the time characteristics, wherein the behavior classification includes exercise behavior, daily behavior and traffic behavior; judging whether the behavior of the target object meets the condition of abnormal behavior based on the result of the target object behavior classification; and sending abnormal information and abnormal location to the management end when the target characteristic meets the condition of abnormal behavior.
[0049] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0050] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, device, article or method including the element.
[0051] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for detecting and monitoring abnormal behavior in a park, characterized in that: The method comprises: Acquire image data within the park in real time; When a target object appears in the image data, parsing a frame sequence of the current image data to extract behavioral features of the target object; Extracting the time feature of the behavior feature according to the frame sequence of the image data, wherein the time feature includes the frequency and duration of the behavior feature; Combining the behavior characteristics and the time characteristics, classifying the behavior of the target object, wherein the behavior classification includes sports behavior, daily behavior and traffic behavior; According to the result of the target object behavior classification, determining whether the target object behavior meets the condition of abnormal behavior; When the target feature meets the condition of abnormal behavior, abnormal information and abnormal location are sent to the management end.
2. The method for detecting and monitoring abnormal behavior in a park according to claim 1, characterized in that: The step of judging whether the behavior of the target object satisfies the abnormal behavior condition according to the result of the target object behavior classification includes: When the target object behavior classification category is sports behavior, establishing a sports data model; Acquiring motion data during the motion behavior, the motion data including motion speed, motion trajectory, and motion acceleration calculated according to the motion speed; Inputting the motion data into the motion data model, analyzing the difference between the motion speed and the speed standard value, analyzing the difference between the motion acceleration and the acceleration standard value, analyzing the difference between the motion trajectory and the standard trajectory through the motion data model, and quantifying and converting each difference to obtain an abnormality score; When the abnormal score is greater than a preset threshold, it is determined that the movement behavior of the target object meets the abnormal behavior.
3. The method for detecting and monitoring abnormal behavior in a park according to claim 2, characterized in that: The method for analyzing the difference between the motion trajectory and the standard trajectory includes: Extracting coordinates of all actual track points of the motion track according to a frame sequence of the image data; Analyze the distance between the coordinates of each actual trajectory point and the coordinates of the standard trajectory point through the motion data model to obtain a total position deviation value; Calculate the average position deviation ratio by comparing the total position deviation value with the total length of the actual track; Based on the average position deviation ratio, the degree of difference between the motion trajectory and the standard trajectory is determined.
4. The method for detecting and monitoring abnormal behavior in a park according to claim 2, characterized in that: The method further comprises: judging whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification. When the target object's behavior classification category is daily behavior; Acquire daily data of the daily behavior, and determine whether the target object has physical contact in the daily data; When the target object has physical contact, obtaining the duration, frequency and intensity of the physical contact; When any one of the parameters of the duration, contact frequency and contact intensity in the property classification is greater than a preset contact threshold, it is determined that the daily behavior of the target object meets the conditions of hostile conflict abnormal behavior.
5. The method for detecting and monitoring abnormal behavior in a park according to claim 4, characterized in that: The method further comprises: judging whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification. When the target object's behavior classification category is daily behavior; Acquire daily data of the daily behavior, and when the target object in the daily data appears to be carrying an item, extract the shape and size features of the item; Determine whether the item is a dangerous item based on its shape and size characteristics; Matching the shape and size features of the object with a preset dangerous goods database, and when the shape and size features of the object successfully match the dangerous goods database, determining that the object is a dangerous object; Based on dangerous goods, analyze whether the identity information of the target object carrying dangerous goods meets the conditions of abnormal behavior; When the target object is a minor, it is determined that the target object carries dangerous items that meet the condition of abnormal behavior.
6. The method for detecting and monitoring abnormal behavior in a park according to claim 2, characterized in that: The method further comprises: judging whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification. When the target object's behavior classification category is daily behavior; Acquire daily data of the daily behavior, and when multiple target objects appear in the daily data, establish a clustered behavior model; Obtaining the gathering data, including gathering time, gathering location and gathering form; The aggregation data is input into the aggregation behavior model, and the aggregation data is analyzed by the aggregation behavior model to determine whether it is abnormal aggregation data, including: analyzing whether the aggregation time is the preset class time; analyzing whether the number of people at the aggregation location exceeds the number threshold of the aggregation location; when the aggregation time is not within the preset class time, and the number of people at the aggregation location exceeds the number threshold of the aggregation location, determining whether the aggregation data is abnormal aggregation data; Based on the abnormal aggregated data, it is determined that the daily behavior of the target object meets the condition of abnormal behavior.
7. The method for detecting and monitoring abnormal behavior in a park according to claim 6, characterized in that: When the gathering time is a preset class time and the number of people at the gathering place exceeds the number threshold of the gathering place, the method further includes: Acquire the conversation data of the target object, and determine whether abnormal topics appear in the conversation data; When an abnormal topic appears in the conversation data, determining whether the aggregated data is abnormal aggregated data; Based on the abnormal aggregated data, it is determined that the daily behavior of the target object meets the condition of abnormal behavior.
8. A park abnormal behavior detection and monitoring system, characterized in that: include: An acquisition module is used to acquire image data within the park in real time; A parsing module, used for parsing a frame sequence of current image data and extracting behavioral features of the target object when the target object appears in the image data; An extraction module, used for extracting the time feature of the behavior feature according to the frame sequence of the image data, wherein the time feature includes the frequency and duration of the behavior feature; A classification module, used to classify the behavior of the target object by combining the behavior characteristics and the time characteristics, wherein the behavior classification includes sports behavior, daily behavior and traffic behavior; A judgment module, used to judge whether the behavior of the target object meets the condition of abnormal behavior according to the result of the target object behavior classification; The sending module is used to send abnormal information and abnormal position to the management end when the target feature meets the condition of abnormal behavior.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Behavior recognition method and device and computer readable storage medium
CN110738101A
Campus abnormal behavior identification method and system
CN116152930A
Smart park operation management system and method
CN116962460A
Smart city monitoring system and method based on AI
CN117312801A
Risk early warning method, system and equipment
CN118072253A
Cited By
Cultivation monitoring method and system for intelligent agricultural orchard
CN119622587A
Road target monitoring method, system and device and storage medium
CN119625659A
Method, system and equipment for analyzing operation training data of laparoscopic surgery robot
CN119648487A
Security and protection method and device based on full-range feature recognition and four-dimensional trajectory tracking
CN119720064A
Security method and device based on full-range feature recognition and four-dimensional trajectory tracking
CN119720064B
