Violent behavior detection method, electronic equipment and storage medium
By combining object detection and attitude detection, the YOLOv7 model and YOLOv8 network of the spatial attention mechanism are used to conduct dual judgment and timing analysis of violent behavior, and the problems of high misjudgment rate and insufficient real-time performance in the existing technology are solved, and the problem of high error judgment rate and insufficient real-time performance is achieved. Violent behavior detection with high accuracy and low misjudgment rate.
Patent Information
- Application Number
- CN202410943948.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-15
AI Technical Summary
The prior art has problems in the detection of violent behaviors with high misjudgment rates, high missed detection rates and insufficient real-time performance, especially in dynamic sequential behaviors and complex scenarios, and it is difficult to accurately judge by relying solely on target detection or posture detection.
Combining object detection and posture detection, by constructing a brawl behavior data set and a human posture data set, training the YOLOv7 model and YOLOv8 posture detection network that introduces a spatial attention mechanism, setting the brawl count and threshold, and performing area of interest detection and posture feature matching. Achieve dual judgment and timing analysis of violent behavior.
Improve the accuracy and real-time detection, reduce the misjudgment rate, is suitable for various scenarios, and realizes timing judgment of dynamic behavior through fighting counting, avoids the calculation of complex optical flow methods, and meets the needs of lightweight deployment. .
Smart Images

Figure CN118898869A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer vision technology and is applicable to various occasions where personnel safety needs to be monitored. It involves the judgment of whether there is violent behavior among the people in the picture, fighting behavior detection based on deep neural networks, and detection and mining of human postures. It is a fighting behavior detection method based on target detection and posture detection. Background Art
[0002] Identification and recognition of violent behavior is one of the hot topics in current research. If someone is found to be engaging in violent behavior through video surveillance, corresponding measures can be taken in time to avoid casualties. However, there are still some problems with the current violent behavior identification algorithm. If only general target detection is used, a large misjudgment rate will be generated. For example, normal behaviors such as two people talking together, passing by each other, or holding sundries will also be misjudged as fighting. If only posture algorithms are used, there will be missed judgments and a large number of key points with low confidence because of the fuzzy postures during fighting and the large proportion of the input image background. On the other hand, many postures may have certain similarities with fighting postures, such as two people passing objects, which will lead to misjudgments. If detection is based on a relatively complex large model, there will be problems such as too much calculation and the real-time performance cannot meet expectations. In addition, violent behavior is a dynamic and sequential behavior. It is also easy to make misjudgments by simply relying on posture detection of each frame. The continuous actions of people calculated by optical flow methods are highly sensitive to light brightness. The target moves quickly during fighting, which is not easy to use and is not conducive to the deployment of ordinary surveillance cameras.
[0003] At the same time, the complexity of application scenarios and the lack of datasets in corresponding scenarios also bring challenges to ordinary single-stage detection. Summary of the invention
[0004] The problem to be solved by the present invention is that the existing methods for detecting specific behaviors of people are inaccurate in detecting violent behaviors that rely solely on target detection, and inaccurate in detecting violent behaviors that rely solely on posture detection. In addition, the movements of people are dynamic, and the motion information calculation methods such as the optical flow method have a large amount of calculation and cannot meet the requirements of lightweight deployment.
[0005] The technical solution of the present invention is: a method for detecting violent behavior, based on target detection and posture detection, comprising the following steps:
[0006] Step 1: Construct fighting behavior dataset and human posture dataset;
[0007] Step 2: Use the fighting behavior dataset to train the YOLOv7 model with the spatial attention mechanism to obtain a target of interest detection model for violent behavior;
[0008] Step 3: Use the human posture dataset to train the YOLOv8 posture detection network to obtain the human posture model;
[0009] Step 4: Set the fight count, fight count threshold, and fight posture feature sample according to the usage scenario, and initialize the fight count to 0;
[0010] Step 5: Read the video, input the video frame into the object of interest detection model in Step 2, and detect and output the area where violent behavior may exist;
[0011] Step 6: Use the human posture model obtained in Step 3 to detect the human posture in the area, and obtain the number of people in the area and the posture point of each person;
[0012] Step 7: Determine the number of people in the area. If there are less than two people, discard the detection result and continue to detect the next frame. If there are more than two people, calculate the pixel area of each person in the area.
[0013] Step 8: Calculate the total pixel area of the region and the size ratio of each person in the region. If the current person's proportion in the picture is less than 0.3, the current person is regarded as a distant view and the data of the current person is discarded. If the proportion is greater than 0.3, the person is regarded as a suspicious person until a collection of all suspicious persons in the region is obtained.
[0014] Step 9: If there are more than one suspicious person in the set of suspicious persons, select the suspicious person according to the detection result sequence of the posture detection, and obtain the posture point data of the person. If there are less than two suspicious persons, return to Step 5 to continue detecting the next frame.
[0015] Step 10: Match the current suspicious person with the remaining suspicious persons in pairs to determine whether there is any contact between the persons;
[0016] Step 11: Compare the current suspicious person's posture with the configured fighting posture feature sample to determine whether the person is in a fighting posture;
[0017] Step 12: Combining the results of Step 10 and Step 11, if the current suspicious person is in contact with other people and in a fighting posture, it is determined to be in a fighting state. At this time, the fighting state count is +10, and it is determined whether the fighting state count is greater than the threshold. If it is greater, an alarm is issued and the next frame detection is entered, otherwise it goes directly to the next frame; if the current suspicious person has no contact with others or is not in a fighting posture, it is marked as a non-fighting state, and returns to Step 9 to judge the next suspicious person until all suspicious persons in the current frame have been judged.
[0018] Furthermore, in step 12, when a fighting state exists, the fighting count is +10, and when not, the fighting count is -2. The minimum fighting count is 0. The fighting count threshold is set according to the existence of fighting behavior within n frames, so as to realize a comprehensive temporal judgment of the fighting behavior.
[0019] The present invention also provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the above-mentioned region of interest target detection model, human posture model, and violent behavior detection method, and realize violent behavior detection on the input video.
[0020] The present invention also provides that at least one instruction or at least one program is stored in the computer-readable storage medium, and when the at least one instruction or at least one program is executed, the above-mentioned target of interest detection model, human posture model, and violent behavior detection method are implemented.
[0021] The beneficial effects of the present invention are as follows: the present invention combines target detection and posture detection, firstly defines an area of interest with suspected violations through target detection, then performs a magnified secondary posture detection in the area, determines the number of people and postures in the area, and uses this as a basis for judging whether there is violence in the area. The double judgment improves the detection accuracy, and at the same time, the detection method can be applied to various occasions by setting various thresholds, and realizes dynamic temporal judgment of the behavior of the characters in the video by counting fights. There is no problem of easy misjudgment of single-frame judgment, and there is no need to obtain the continuous motion information of the characters by complex optical flow methods and the like, so the dynamic behavior of the characters can be judged.
[0022] The present invention utilizes the rapidity of YOLOV7 target detection to achieve real-time detection of targets of interest, but these targets include areas that do contain fights and areas that are misjudged as fights, which are prone to false detection. At this time, the area is taken out and the state is determined using the posture detection results. The present invention first uses target detection to predict targets of interest where fights may occur, and then performs posture detection on the parts in the specified area to improve the signal-to-noise ratio of the posture detection input source, making the result more accurate. The method of the present invention improves the problem of easy false detection when only using target detection methods such as YOLOV7 or only using posture detection for fight detection, maintains high accuracy, has a very low false positive rate, and is flexible in usage scenarios.
[0023] The threshold of the present invention can be flexibly adjusted according to actual scenarios and application requirements. For example, in darker scenes, the confidence level can be slightly lowered to reduce missed judgments due to lighting; in scenes with good lighting and clearer movements of people, the confidence level can be appropriately increased, and the counting threshold can be increased to prevent false alarms caused by individual actions; the camera angle can also be taken into account to expand multiple posture standards when comparing fighting postures, thereby achieving the ideal effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 The present invention is a detection flow chart of a method for detecting fighting behavior based on target detection and posture detection.
[0025] Figure 2 This is a training flow chart of the object detection model of interest and the human posture model in the present invention.
[0026] Figure 3 Schematic diagram of the network structure of the YOLOv7 model that introduces the spatial attention mechanism in the present invention, (a) is the improved RFCBAM module used in combination with YOLOv7, (b) is the improved BACKBONE backbone network, and (c) is the improved ELAN module.
[0027] Figure 4 A corridor scene is selected for testing in the implementation of the present invention, and a detection effect diagram is output. DETAILED DESCRIPTION
[0028] The implementation of the present invention will be described in detail below with reference to the accompanying drawings.
[0029] like Figure 1 As shown, the present invention integrates real-time target detection and real-time posture detection, and only needs a small amount of data to delineate the area of interest with suspected illegal behavior through target detection, and then perform a magnified secondary posture detection in the area to determine the number of people and postures in the area, which is used as a basis for judging whether there is violent behavior in the area. The implementation is as follows.
[0030] First, train the object detection model of interest and the human posture model, such as Figure 2 As shown, the implementation is as follows step 1 to step 3.
[0031] Step 1: Construct a fighting behavior dataset and a human posture dataset; collect images of violent behavior and mark them, and construct a fighting behavior dataset through data enhancement. The human posture dataset can be constructed using a public dataset, or it can be self-annotated based on the images of violent behavior. The self-annotated data is also preferably data enhanced to expand the training data. Furthermore, the public datasets are not adequate in practical applications, and self-made datasets are likely to be required in practical applications. The present invention collects images from cameras in the violent behavior scene to be detected, and after annotation, uses them as supplementary data for fine-tuning the target detection model and the human posture model of interest.
[0032] The data enhancement includes:
[0033] Step 1.1: Perform size transformations such as cropping, scaling, translating, and jittering on the image to expand the data set;
[0034] Step 1.2: Add noise to the image, adjust contrast, brightness, and saturation to achieve transformation in the frequency domain and expand the data set.
[0035] Step 2: Use the fighting behavior dataset to train the YOLOv7 model with the spatial attention mechanism to obtain the target detection model of interest for violent behavior. The YOLOv7 model with the spatial attention mechanism integrates the RFCBAM spatial receptive field attention mechanism in the BACKBONE part. A SwinTransformer module is added at the end of the BACKBONE part to facilitate YOLOV7 to process super-resolution images. Replace the ordinary Conv in the ELAN module in the BACKBONE with the GhostConv module, and replace some ordinary Conv in the Head part with the GhostConv module to make up for the extra calculation caused by the RFCBAM module. Figure 3 As shown, the specific implementation is as follows.
[0036] Take out the BACKBONE network in YOLOv7; cut it off before the first ELAN module and add the RFCBAM module in front. The RFCBAM module is as follows: Figure 3As shown in (a), specifically, the feature map output by the previous layer is input into two branches respectively. The first branch passes through the GlobalAvgPool layer, Linear layer, Relu layer, Linear layer, Sigmoid layer in sequence, and the second branch passes through the GroupConv layer, Normalize layer, ReLu layer, Adjust Shape layer, AvgPool layer, Max Pool layer, Conv layer, Sigmoid layer in sequence; the results of the two branches are combined through the Re-weight layer, and through a GhostConv layer, the features of different receptive fields are fused together to complete the spatial attention calculation.
[0037] For the SwinTransformer module added at the end of the BACKBONE part, it is beneficial for YOLOV7 to process super-resolution images. The improved BACKBONE is as follows Figure 3 As shown in (b), the ELAN module of BACKBONE is also improved by replacing Conv with GhostConv module and replacing Conv in the Head part with GhostConv module to make up for the extra calculation caused by RFCBAM module, as shown in Figure 3 as shown in (c).
[0038] For the solution of combining YOLOv7 with RFCBAM, please refer to the arXiv search "RFAConv: Innovating SpatialAttention and Standard Convolutional Operation", and for the solution of combining YOLOv7 with SwinTransformer, please refer to the ICCV2021 article "Swin Transformer: Hierarchical Vision Transformer usingShiftedWindows".
[0039] How to introduce a suitable attention mechanism module (RFAconv instead of CBAM), how to maintain real-time performance after finding the region of interest and then performing posture detection (integrating some special Conv layers), and the mentioned narrowing of the detection range is actually a data preprocessing method. This case uses deep learning itself for data preprocessing without changing the image itself.
[0040] Step 3: Put the human posture dataset into the YOLOv8 posture detection network for training to obtain the human posture model;
[0041] Step 4: According to the usage scenario, initialize the fight count to 0, set the fight count threshold and the fight posture feature sample;
[0042] Step 5: Read the video and put the video frame into the target detection network in Step 2 to obtain the area where violent behavior may exist;
[0043] Step 6: Use the human posture model obtained in Step 3 to perform human posture detection in the area where violence may occur, and obtain the number of people in the area and the posture points of each person. In specific implementation, the obtained area is intercepted into a new image matrix, that is, a screenshot of the area. The matrix elements are RGB pixels, which are stored in a new memory area in the order of image pixels for posture detection.
[0044] Step 7: Determine based on the number of people in the area. If there are less than two people, discard the detection result and continue to detect the next frame. If there are more than two people, calculate the pixel area of each person in the area.
[0045] Step 8: Calculate the total pixel area of the region and the size ratio of each person in the region. If the current person's proportion in the picture is less than 0.3, the current person is regarded as a distant view and the data of the current person is discarded. If the proportion is greater than 0.3, the person is regarded as a suspicious person until a collection of all suspicious persons in the region is obtained.
[0046] Step 8.1: The pixel area of a person is the total number of pixels in the person frame. The pixel area of each person is the length multiplied by the width W of the person frame output during human posture detection in Step 6. person ×H person The total pixel area of the region is the length multiplied by the width W of the region of interest obtained in Step 5 area ×H area , calculate the screen ratio according to formula (1):
[0047]
[0048] Step 8.2: Screen the indicators of each person calculated in Step 8.1. Those below 0.3 are defined as distant views or false detections and deleted, and the rest are retained.
[0049] Step 9: If there are more than one suspicious person, the posture detection results select the suspicious person in order and obtain the data of the person. If there are less than two suspicious persons, return to Step 5 to continue detecting the next frame.
[0050] Step 10: Match the current suspicious person with the remaining suspicious persons in pairs to determine whether there is any contact between the persons.
[0051] Step 10.1: Based on the pixel area S of each person p1 and S p2, and then select two people from each group to perform an IOU intersection-union ratio calculation. The IOU value is the area of the intersection of the two regions divided by the area of the two regions combined. The IOU value between each two people is calculated using formula (2):
[0052]
[0053] Step 10.2: Determine whether the IOU value is greater than 0.2. If it is greater than 0.2, it is determined that the two people are in contact, otherwise they are in non-contact state.
[0054] Step 11: Compare the current suspicious person's posture with the configured fighting posture feature sample to determine whether the person is in a fighting posture.
[0055] Step 11.1: According to the position of the posture points of the suspicious person, the scene conditions are screened, and the points whose confidence does not meet the confidence threshold are discarded. The confidence threshold is set according to the scene brightness and the camera angle; the posture detection of the present invention is consistent with 2D posture detection, which is equivalent to projection onto a plane, and the camera generally monitors downward from a high place to cover more areas. Considering the extreme case, a person can only see the head and shoulders when observing from directly above. In this case, posture detection based on 2D cannot be achieved. Useless detection data is filtered out by the confidence threshold.
[0056] Step 11.2: Compare the similarity between the fighting posture feature sample and the current target posture. If the similarity meets the requirements, it is judged as a fighting state, otherwise it is judged as a non-fighting state. The fighting posture feature sample preset here is related to the angle of the video camera. For example, for a side-view camera, the angle between the elbow to the palm and the ground, the angle between the elbow to the shoulder, and the position of the arm can be calculated. Figure 4 The posture of the boy on the right, if both arms are in a boxing posture and the arms overlap with the detection frame of others, it is judged as a fighting state, otherwise it is judged as a non-fighting state.
[0057] Step 12: Combining the results of Step 10 and Step 11, if the current suspicious person is in contact with other people and in a fighting posture, it is determined to be in a fighting state. At this time, the fighting state count is added with k, and it is determined whether the fighting state count is greater than the threshold. If it is greater, an alarm is issued and the next frame is entered, otherwise it goes directly to the next frame; if the current suspicious person has no contact with others or is not in a fighting posture, it is marked as a non-fighting state, and returns to Step 9 to judge the next suspicious person until all suspicious persons in the current frame have been judged.
[0058] As a preferred method, in Step 12, when there is a fighting state, the fighting count is increased by k, and when there is no fighting count, the fighting count is reduced by j, k and j are integers, the minimum fighting count is 0, and the fighting count threshold is set according to the situation of fighting behavior in n frames, so as to realize the temporal comprehensive judgment of fighting behavior. In the present invention, once the current video frame determines that there is fighting behavior, the fighting count is increased and the next frame detection is entered. The fighting count of a video frame will only be increased by k to prevent the count from skyrocketing. The minimum fighting count is 0 and not negative, so as to prevent the count decrement when there is no fighting behavior in multiple frames from affecting the addition of subsequent fighting behavior. The fighting count setting of the present invention is explained with an embodiment. For example, when there is a fighting state, the fighting count is set to +10, and when there is no fighting count, the fighting count is -2, and the fighting count threshold is set to 70. Then, fighting behavior occurs in 7 consecutive frames, or intermittent fighting behavior occurs in 12 frames. It will be judged as the existence of fighting and an alarm will be issued, which conforms to the dynamic characteristics of actual character behavior, and can achieve accurate judgment whether it is continuous action or intermittent action.
[0059] An embodiment of the present invention also provides an electronic device, including a processor and a memory, wherein at least one instruction or at least one program is stored in the memory, and the at least one instruction or at least one program is loaded and executed by the processor to implement the region of interest target detection model, human posture model, and violent behavior detection method described in the above embodiment, and implement violent behavior detection for the input video. The electronic device of the present invention is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, smart phones, wearable devices, and other similar data computing devices. The processor can be various general and / or special processing components with processing and computing capabilities. Some examples of processors include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc.
[0060] The embodiment of the present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program is used to make the computer perform the method according to the embodiment of the present invention when executed by the processor of the computer. The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as an independent software package and partially on a remote machine, or completely on a remote machine or server.
Claims
1. A method for detecting violent behavior, characterized in that Based on target detection and posture detection, the following steps are included: Step 1: Construct fighting behavior dataset and human posture dataset; Step 2: Use the fighting behavior dataset to train the YOLOv7 model with the spatial attention mechanism to obtain a target of interest detection model for violent behavior; Step 3: Use the human posture dataset to train the YOLOv8 posture detection network to obtain the human posture model; Step 4: Set the fight count, fight count threshold, and fight posture feature sample according to the usage scenario, and initialize the fight count to 0; Step 5: Read the video, input the video frame into the object of interest detection model in Step 2, and detect and output the area where violent behavior may exist; Step 6: Use the human posture model obtained in Step 3 to detect the human posture in the area, and obtain the number of people in the area and the posture point of each person; Step 7: Determine the number of people in the area. If there are less than two people, discard the detection result and continue to detect the next frame. If there are more than two people, calculate the pixel area of each person in the area. Step 8: Calculate the total pixel area of the region and the size ratio of each person in the region. If the current person's proportion in the picture is less than 0.3, the current person is regarded as a distant view and the data of the current person is discarded. If the proportion is greater than 0.3, the person is regarded as a suspicious person until a collection of all suspicious persons in the region is obtained. Step 9: If there are more than one suspicious person in the set of suspicious persons, select the suspicious person according to the detection result sequence of the posture detection, and obtain the posture point data of the person. If there are less than two suspicious persons, return to Step 5 to continue detecting the next frame. Step 10: Match the current suspicious person with the remaining suspicious persons in pairs to determine whether there is any contact between the persons; Step 11: Compare the current suspicious person's posture with the configured fighting posture feature sample to determine whether the person is in a fighting posture; Step 12: Combining the results of Step 10 and Step 11, if the current suspicious person is in contact with other people and in a fighting posture, it is determined to be in a fighting state. At this time, the fighting state count is increased by k, and it is determined whether the fighting state count is greater than the threshold. If it is greater, an alarm is issued and the next frame detection is entered, otherwise it goes directly to the next frame; if the current suspicious person has no contact with others or is not in a fighting posture, it is marked as a non-fighting state, and returns to Step 9 to judge the next suspicious person until all suspicious persons in the current frame have been judged.
2. The method for detecting violent behavior according to claim 1 is characterized in that in Step 12, when a fighting state exists, the fighting count is increased by k, and when not, the fighting count is decreased by j, where k and j are integers, the minimum fighting count is 0, and the fighting count threshold is set according to the presence of fighting behavior within n frames, so as to realize a comprehensive judgment on the temporal nature of the fighting behavior.
3. The method for detecting violent behavior according to claim 1, characterized in that In step 1, images of violent behavior are collected and labeled, and then constructed into a fighting behavior dataset after data enhancement. The human posture dataset is constructed using a public dataset, or labeled based on images of violent behavior and constructed into a human posture dataset after data enhancement.
4. The method for detecting violent behavior according to claim 3, characterized in that Collect images from cameras in scenes of violent behavior to be detected, mark them and use them as supplementary data to fine-tune the object detection model and human posture model.
5. The method for detecting violent behavior according to claim 3, characterized in that Data augmentation includes: 1.1) Transform the image size, including cropping, scaling, translation and jittering, to expand the data set; 1.2) Add noise to the image, adjust contrast, brightness, and saturation, achieve transformation in the frequency domain, and expand the data set.
6. The method for detecting violent behavior according to claim 1, characterized in that The YOLOv7 model that introduces the spatial attention mechanism described in step 2 is implemented as follows: For the BACKBONE network in YOLOV7, it is truncated before the first ELAN module and an RFCBAM module is added in front. Specifically, the input is input into two branches respectively. The first branch passes through the GlobalAvgPool layer, Linear layer, Relu layer, Linear layer and Sigmoid layer in sequence, and the second branch passes through the GroupConv layer, Normalize layer, ReLu layer, AdjustShape layer, AvgPool layer, Max Pool layer, Conv layer and Sigmoid layer in sequence; the results of the two branches are combined through the Re-weight layer, and the features of different receptive fields are fused together through a GhostConv layer to complete the spatial attention calculation; the result of the attention calculation is used for YOLOV7 detection, and finally the area where violent behavior may exist is output; A SwinTransformer module is added to the end of BACKBONE to facilitate YOLOV7 to process super-resolution images; for the ELAN module in BACKBONE, Conv is replaced with a GhostConv module, and Conv in the Head part is replaced with a GhostConv module to make up for the additional computation caused by the RFCBAM module.
7. The method for detecting violent behavior according to claim 1, wherein the step 10 of determining whether there is contact between the characters is as follows: 10.1) Based on the pixel area of each person obtained in step 6, select two people from each group and perform an IOU calculation. The IOU value is the area of the intersection of two areas divided by the area of the union of two areas. 10.2) Determine whether the IOU value is greater than 0.
2. If it is greater than 0.2, it is determined that the two people are in contact, otherwise they are in non-contact state.
8. The method for detecting violent behavior according to claim 1, wherein step 11 determines whether the character is in a fighting posture by: 11.1) The posture point data of the suspicious person is screened according to the scene conditions, and the points whose confidence does not meet the confidence threshold are discarded. The confidence threshold is set according to the scene brightness and camera angle; 11.2) Compare the similarity between the preset fighting posture feature sample and the posture of the current judgment target. The fighting posture feature sample is related to the angle of the video camera. If the similarity meets the requirements, it is judged as a fighting state, otherwise it is judged as a non-fighting state.
9. An electronic device, characterized in that The electronic device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the region of interest target detection model, human posture model, and violent behavior detection method as described in any one of claims 1 to 8, and implement violent behavior detection on the input video.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores at least one instruction or at least one program. When the at least one instruction or the program is executed, the region of interest target detection model, human posture model, and violent behavior detection method as described in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Violent behavior detection method and system based on edge calculation
CN115346150A
Convolutional neural network face living body detection method based on adaptive gamma enhancement
CN118155295A
Detection of abnormal crowd behavior
US20070121999A1
Cited By
Visual adaptive method and system based on attention mechanism
CN119815081A
Camera shooting integrated key storage cabinet with two-dimensional code
CN120048040A
Method and device for violent behavior detection in surveillance video, medium and product
CN121505512A
