Cross-media perception method, device, equipment and storage medium for inappropriate behavior
The cross-media perception method that combines millimeter wave radar and sound solves the blind spots and privacy issues of traditional monitoring equipment, achieves effective supervision of complex behaviors and identification of inappropriate behaviors, is suitable for a variety of places, and improves monitoring coverage. and detection capabilities.
Patent Information
- Application Number
- CN202311635950.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-01
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-12-01
AI Technical Summary
Traditional surveillance equipment has problems such as shooting blind spots, difficulty in automatically identifying inappropriate behavior, and high deployment costs. It is especially unsuitable for installation in places with high privacy and cannot effectively supervise complex behaviors.
The millimeter-wave radar dynamic point tracking algorithm is used to calculate the real-time coordinate position of the person. Combined with the sound positioning and emotion recognition model, the sound energy restoration and energy segmentation algorithm is used to identify human voices and emotions, and comprehensively determine whether inappropriate behavior occurs in the scene.
It realizes safe behavior monitoring without blind spots and privacy issues, reduces the occurrence of inappropriate behavior, is suitable for various places, and is not affected by weather and occlusion.
Smart Images

Figure CN117932364B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of security detection technology, and in particular to a cross-media perception method, device, equipment and storage medium for improper behavior. Background Art
[0002] Currently, most places have installed some surveillance cameras to assist security guards in supervision. This security supervision method can solve some security problems, such as climbing over walls, but it cannot supervise the security issues of some complex behaviors.
[0003] Traditional monitoring equipment has problems such as blind spots, difficulty in automatically identifying improper behavior, high deployment costs, and is not suitable for installation in places with high privacy. Therefore, it is necessary to adopt a solution with no blind spots, no privacy issues, and low deployment costs, combined with traditional video surveillance systems to complete security behavior monitoring and prevent and reduce the occurrence of improper behavior. Summary of the invention
[0004] In view of the deficiencies of the existing technology, the present invention provides a cross-media perception method, device, equipment and storage medium for inappropriate behavior.
[0005] A first aspect of the present invention provides a cross-media perception method for inappropriate behavior, specifically:
[0006] The millimeter-wave radar dynamic point tracking algorithm is used to calculate the real-time coordinates of people in the surveillance scene; the distance relationship between people is used to determine whether there is a gathering;
[0007] The sound positioning algorithm and the coordinates of the personnel detected by radar are used to determine the position of the person with the highest sound. The original sound energy is estimated based on the sound propagation energy loss method to achieve sound energy restoration processing.
[0008] The restored sound is segmented using an energy-based segmentation algorithm to identify whether each segment is a human voice. The voiceprints extracted from the human voice are clustered, and the emotion recognition model is used to identify the emotion of each person's voice segment.
[0009] Combined with millimeter-wave radar to detect the position of people, a comprehensive judgment is made as to whether inappropriate behavior occurs in the scene.
[0010] A second aspect of the present invention provides a cross-media perception device for inappropriate behavior, comprising:
[0011] The gathering judgment module is used to calculate the real-time coordinate position of people in the monitoring scene through the millimeter wave radar dynamic point tracking algorithm; and to judge whether there is a gathering based on the distance relationship between people;
[0012] The sound restoration module is used to determine the position of the person with the highest sound using the sound positioning algorithm and the coordinates of the person detected by radar; estimate the original sound energy based on the sound propagation energy loss method to achieve sound energy restoration processing;
[0013] The emotion recognition module is used to segment the restored sound using an energy-based segmentation algorithm and identify whether each segment is a human voice; cluster the voiceprints extracted from the human voice, and use the emotion recognition model to identify the emotion of each person's voice segment;
[0014] The inappropriate behavior identification module is used to comprehensively judge whether inappropriate behavior occurs in the scene by combining the millimeter-wave radar to detect the position relationship of personnel.
[0015] A third aspect of the present invention provides a cross-media perception device for inappropriate behavior, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned cross-media perception method for inappropriate behavior when executing the program.
[0016] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the above-mentioned cross-media perception method for inappropriate behavior.
[0017] Beneficial effects of the present invention:
[0018] The present invention solves the problem of protecting the privacy of people in special places through radar and sound, avoids the monitoring video from being affected by factors such as visual blind spots, occlusions, and light, and improves the coverage of monitoring places and the ability to detect improper behavior.
[0019] The present invention meets the needs of different application scenarios by using multiple heterogeneous perception methods and cross-media data fusion technology.
[0020] The present invention gives full play to the advantages of different sensing modes, is not affected by weather conditions and shielding, and meets the privacy requirements of different places. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is a schematic diagram of the installation of the millimeter wave radar and the sound pickup device in the embodiment of the present application;
[0022] Figure 2 This is a flow chart of the perception processing of an embodiment of the present application;
[0023] Figure 3 This is a structural diagram of a dual-channel recognition model used in the embodiments of this application;
[0024] Figure 4 The structure diagram of the cross-media perception device for inappropriate behavior;
[0025] Figure 5 The structure diagram of the cross-media perception device for inappropriate behavior. DETAILED DESCRIPTION
[0026] In order to make the technical problems, implementation schemes and advantages solved by the present invention clearer, a detailed description is given below in conjunction with a system example and the above-mentioned drawings.
[0027] The overall concept of the present invention: The present invention adopts a technical solution that integrates millimeter-wave radar and sound. The millimeter-wave radar personnel dynamic point tracking algorithm is used to calculate the real-time coordinate position of the personnel in the monitoring scene, and the distance relationship between the personnel is used to determine whether there is a gathering and physical contact. In the case of multiple gatherings of people, the sound positioning algorithm and the personnel position coordinates detected by radar are used to determine the position of the highest sounding person. For the sound of the person at the target position, the original sound energy is estimated based on the sound propagation energy loss method, and the restored sound is segmented using an energy-based segmentation algorithm to identify whether each fragment is a human voice. If it is a human voice, the voiceprint features are extracted for clustering, and the emotion recognition model is used to identify the emotions of each person's sound fragment, combined with the millimeter-wave radar to detect the personnel position relationship to comprehensively judge whether there is inappropriate behavior in the monitoring scene.
[0028] Based on the above-mentioned concepts, the embodiments of the present application mainly collect the position relationship of people in the monitoring scene and the voice and emotion information of people in the scene in a non-contact manner. In this embodiment, the non-contact method involves a millimeter-wave radar sensor and a sound collection device.
[0029] The millimeter wave radar sensor is a device installed at a certain height to scan the position of people in the scene. The sound collection device is a device installed at a certain height to collect the sound of people in the monitoring scene. Specifically: Figure 1 As shown, one or more millimeter-wave radar sensors are installed, and the millimeter-wave radar sensors can scan at a certain angle to monitor the entire area, and the radar monitoring areas do not overlap each other. A sound collection device is installed, and its position can effectively collect any sound generated in the monitoring area, and an associated surveillance camera is installed in a place where there is no privacy problem, which can ensure that all people entering and leaving the monitoring area are captured.
[0030] like Figure 2 As shown, the embodiment of the present application provides a method for identifying improper behavior in campus scenes based on millimeter wave radar and sound collection equipment, which specifically includes the following steps:
[0031] S1. Each millimeter-wave radar sensor detects and locates people in the monitoring area.
[0032] S2. Each millimeter-wave radar sensor tracks the detected contour of the personnel movement.
[0033] S3. Synchronously merge the position information of the personnel detected and tracked by each millimeter-wave radar sensor to obtain the trajectory of the personnel in the entire monitoring area.
[0034] S4. Calculate the position relationship of people within the monitoring area and the distance between people.
[0035] S5. Determine whether there is a gathering of people based on the distance relationship between the tracked persons.
[0036] S6. If there is a crowd, start collecting sound data.
[0037] S7. Determine whether the sound data has a decibel level significantly higher than the background sound; if so, collect a continuous period of sound data starting from the time before that moment.
[0038] S8. Use the audio-to-image algorithm to convert the sound data into a spectrum envelope diagram and a Mel-scale Frequency Cepstral Coefficients (MFCC) diagram, extract fusion features, and identify the emotional information in the sound data within the time period.
[0039] If language emotions related to abnormal situations appear, a warning broadcast will be issued, and the associated cameras will be mobilized to capture and store relevant information of people within the monitoring range during that time period, including body shape, face and other human biological information.
[0040] If the number of warning broadcasts is less than a certain number, it returns to S7 to continue monitoring. Otherwise, the system sends an early warning message to the security personnel, who arrive at the scene to stop the improper behavior.
[0041] S9. Repeat steps S1 to S8 to identify inappropriate behaviors within the monitoring range and collect biometric information of relevant personnel.
[0042] 1) In the above-mentioned step S1, the millimeter-wave radar sensor detects and locates people in the monitoring area, and senses the body movements of people by emitting directional millimeter waves through the transmitting antenna, and senses whether there are people in that direction and the distance and direction of the people. The distance and direction of people are the distance and direction of people relative to the millimeter-wave radar sensor head, that is, the direction and (x, y) coordinates of the target are calculated with the probe installation position as the center origin.
[0043] In one example: by transmitting radar waves twice in succession, a two-dimensional matrix is constructed based on the radar wave return time data. Each element is defined as f(t1,x,y) and f(t2,x,y). A difference calculation is performed on the data obtained twice to obtain a new matrix. Each element is f(Δt,x,y), where Δt is the difference. If it is greater than zero, it means movement in the direction of the radar, and if it is less than zero, it means movement away from the direction of the radar.
[0044] Take the absolute values of all the values in the matrix, normalize the matrix data, and use the human contour target detection algorithm to detect the target and position of the moving person.
[0045] 2) In the above step S2, the distance and direction of the person detected by the millimeter-wave radar sensor each time are described using two-dimensional coordinate points, and the Euclidean distance between each point and the next scanning point is calculated. Based on the distance and the direction of the motion curve of multiple points, it is determined whether they are the same target, and the two-dimensional position coordinates of the person in the scene are generated.
[0046] The tracking of the personnel's moving contour is to obtain the rectangular frame of the personnel's moving contour by scanning the radar twice, and use the intersection and union ratio of the rectangular frames to determine the movement trajectory of the personnel.
[0047] The calculation method of the intersection-and-union ratio is as follows:
[0048]
[0049] In formula (1), C and G are the rectangular frames of the person's motion contours obtained by the radar wave scanning twice before and after the detection. In the second detection, the G person's motion contour with the largest IoU value with the first C person's motion contour is found. When the IoU value is less than the set threshold K, it is identified as the trajectory of the same person;
[0050] 3) In the above step S4, for the specific positions of the tracked persons, the contact relationship between the persons is calculated according to the two-dimensional position coordinates of the persons, and it is determined whether there is a gathering of multiple persons and physical contact.
[0051] Further, the distance between people is calculated, and for the person outline detected in S2, the center point position (x i ,y i ), the distance between the i-th person and the j-th person is calculated using the Euclidean distance formula:
[0052]
[0053] 4) In the above step S5, according to the distance S between people i,jThe degree of gathering of people is calculated as shown in formula (3). The maximum number of people whose distance is less than the threshold D is calculated. When the maximum number of people exceeds two, it is determined to be a gathering, and the gathering person set is obtained.
[0054]
[0055] 5) In the above step S7, the direction of the sound source is located according to the highest sound decibel value, and the position of the person with the highest sound is determined in combination with the coordinates of the person's position; the original sound energy is estimated by using the sound propagation energy loss calculation method to achieve sound energy restoration processing;
[0056] The acquisition time period starts from the point where the previous sound wave graph crosses the origin and ends at the point where it crosses zero thirty seconds later.
[0057] In one example, this also includes:
[0058] The background sound waveform energy is calculated by using a time slice adaptive energy calculation method to determine whether there is an abnormal sound that significantly exceeds the background; the time slice length is set to 0.1 seconds, f(t) is the waveform energy at time t, and the energy calculation method within each time slice is as follows: Formula (4).
[0059]
[0060] The background sound energy statistics are the average energy of the sound waveform over a period of time. The energy of abnormal sound fragments is not included. Whether there is an abnormal sound is determined based on whether the energy value ΔE exceeds the average.
[0061] 6) In the above step S8, the collected sound is segmented by using a segmentation method based on energy level to obtain sound fragments; all fragments are identified to determine whether they are human voices. If they are, voiceprint features are extracted, and voiceprints with similar voiceprint features are clustered, with each cluster center representing a person.
[0062] For each clip, the emotion recognition model is used to identify whether there are abnormal sound emotions related to abnormal situations. If there are more than two people with abnormal emotions in the scene, an inappropriate event warning will be output; if there are multiple people but only one person with abnormal emotions, and the people in the scene gather or have physical contact, an inappropriate event warning will be output.
[0063] Furthermore, the spectrum envelope diagram obtained by audio conversion is a collection of many different frequencies, forming a wide frequency range, and different frequencies may have different amplitudes. The spectrum amplitude of intense emotions has obvious characteristics. In order to highlight the spectrum characteristics of abnormal sounds, this application adopts an improved spectrum envelope method. This method draws an envelope for the abnormal part of the sound, replaces the non-abnormal part with the background noise mean, and subtracts the mean value from the curve to obtain an improved spectrum envelope diagram.
[0064] The obtained MFCC image and improved spectrum envelope image are trained using a parallel convolutional neural network model structure. The model structure is as follows: Figure 3 As shown in the figure. The left branch CNN starts with a convolutional layer with a filter length of 11 and a stride of 5 to reduce the size of the input. This is followed by three convolutional blocks, each of which consists of two convolutional layers. Each convolutional block is followed by a downsampling layer with a stride of 4. The loss function used in model training is defined as follows: Formula (5).
[0065]
[0066] In the formula, m is the batch size, x i is the input image, O L (x i ) is the fully connected output feature of the model, For each type of cluster center, the function h(x) = max(x, 0), K is the number of types, and margin is a hyper parameter.
[0067] Table 1 shows the improvement effect of the parallel model and the non-parallel model on the test data set, and the average value is taken after 10 repetitions. The experimental results fully demonstrate the effectiveness of the method of this application.
[0068] Table 1 Experimental results comparing parallel model and non-parallel model
[0069] Method Name Recognition accuracy Improved spectrum envelope plot 92.16±0.12 MFCC map 95.58±0.21 Improved spectrum envelope diagram + MFCC diagram 97.22±0.16
[0070] Figure 4 A cross-media perception device for inappropriate behavior shown in an embodiment of the present application; the device includes:
[0071] The gathering judgment module is used to calculate the real-time coordinate position of people in the monitoring scene through the millimeter wave radar dynamic point tracking algorithm; and to judge whether there is a gathering based on the distance relationship between people;
[0072] The sound restoration module is used to determine the position of the person with the highest sound using the sound positioning algorithm and the coordinates of the person detected by radar; estimate the original sound energy based on the sound propagation energy loss method to achieve sound energy restoration processing;
[0073] The emotion recognition module is used to segment the restored sound using an energy-based segmentation algorithm and identify whether each segment is a human voice; cluster the voiceprints extracted from the human voice, and use the emotion recognition model to identify the emotion of each person's voice segment;
[0074] The inappropriate behavior identification module is used to comprehensively judge whether inappropriate behavior occurs in the scene by combining the millimeter-wave radar to detect the position relationship of personnel.
[0075] The computing device embodiments of the present invention can be applied to network devices. The device embodiments can be implemented by software, hardware, or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, the processor of the device in which it is located reads the corresponding computer program instructions in the non-volatile memory into the memory and runs them, wherein the computer program is used to execute the cross-media perception method for inappropriate behavior. From the hardware level, if Figure 5 As shown, it is a hardware structure diagram of the cross-media perception device for inappropriate behavior of the present invention, except Figure 5 In addition to the processor, network interface, memory and non-volatile memory shown, the device may generally include other hardware to facilitate expansion at the hardware level. On the other hand, the present application also provides a computer-readable storage medium storing a computer program, which executes a cross-media perception method for inappropriate behavior. For the computing device embodiment, since it basically corresponds to the method embodiment, the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely illustrative, and a person of ordinary skill in the art can understand and implement it without creative work.
[0076] In summary, this application provides a technical solution that integrates millimeter-wave radar and sound emotion features, giving full play to the advantages of radar and sound. Compared with the video surveillance solution, this application is not affected by the external lighting environment, there is no privacy protection problem, and it is suitable for all indoor and outdoor scenes; the cross-media perception method is adopted, which greatly improves the perception ability of inappropriate behavior.
[0077] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only.
[0078] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity, or apparatus.
[0079] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A cross-media perception method for inappropriate behavior, characterized by The steps include: The millimeter-wave radar dynamic point tracking algorithm is used to calculate the real-time coordinates of people in the monitoring scene; the distance relationship between people is used to determine whether there is a gathering; specifically: By transmitting radar waves twice in succession, a two-dimensional matrix is constructed based on the radar wave return time data. Each element is defined as f(t1,x,y) and f(t2,x,y). The difference between the two obtained data is calculated to obtain a new matrix. Each element is f(Δt,x,y), where Δt is the difference. If it is greater than zero, it means moving in the direction of the radar, and if it is less than zero, it means moving away from the direction of the radar. Take the absolute values of all the values in the matrix, normalize the matrix data, and use the human contour target detection algorithm to detect the target and position of the moving person; Scan the radar twice to obtain the rectangular frame of the person's motion contour, and use the intersection and union ratio of the rectangular frame to determine the person's motion trajectory; The sound positioning algorithm and the coordinates of the personnel detected by radar are used to determine the position of the person with the highest sound. The original sound energy is estimated based on the sound propagation energy loss method to achieve sound energy restoration processing. The restored sound is segmented using an energy-based segmentation algorithm to identify whether each segment is a human voice. The voiceprints extracted from the human voice are clustered, and the emotion recognition model is used to identify the emotion of each person's voice segment. Specifically: The audio-to-image algorithm is used to convert the sound data into a spectrum envelope diagram and a Mel-frequency cepstral coefficient diagram, and the fusion features are extracted and input into the emotion recognition model to identify the emotional information in the sound data. The spectrum envelope diagram is obtained by using an improved spectrum envelope method, which is to draw an envelope for the abnormal part of the sound, replace the non-abnormal part with the background noise mean, and subtract the mean value from the curve to obtain an improved spectrum envelope diagram; Combined with millimeter-wave radar to detect the position of people, a comprehensive judgment is made as to whether inappropriate behavior occurs in the scene.
2. The cross-media perception method for inappropriate behavior according to claim 1, characterized in that: The millimeter wave radar sensor describes the distance and direction of the detected person using two-dimensional coordinate points; The Euclidean distance between each point and the next scanning point is calculated respectively. According to the Euclidean distance and the direction of the motion curves of multiple points, it is determined whether they are the same target, and the two-dimensional position coordinates of the person in the scene are generated.
3. The cross-media perception method for inappropriate behavior according to claim 1, characterized in that: According to the highest sound decibel value, locate the direction of the sound source, and combine it with the coordinates of the person's position to determine the position of the person with the loudest sound.
4. A cross-media perception method for inappropriate behavior according to any one of claims 1 to 3, characterized in that: When verbal emotions such as beating, scolding, shouting, crying, and humiliation occur, a warning broadcast will be issued, and the associated cameras will be mobilized to capture and store the information of relevant people within the surveillance range.
5. The cross-media perception method for inappropriate behavior according to claim 4, characterized in that: The personnel information is human biological information, including body shape and face.
6. A cross-media perception device for inappropriate behavior, characterized in that: include: Aggregation judgment module, used to calculate the real-time coordinate position of people in the surveillance scene through the millimeter wave radar dynamic point tracking algorithm; Determine whether there is a gathering based on the distance relationship between people; specifically: By transmitting radar waves twice in succession, a two-dimensional matrix is constructed based on the radar wave return time data. Each element is defined as f(t1,x,y) and f(t2,x,y). The difference between the two obtained data is calculated to obtain a new matrix. Each element is f(Δt,x,y), where Δt is the difference. If it is greater than zero, it means moving in the direction of the radar, and if it is less than zero, it means moving away from the direction of the radar. Take the absolute values of all the values in the matrix, normalize the matrix data, and use the human contour target detection algorithm to detect the target and position of the moving person; Scan the radar twice to obtain the rectangular frame of the person's motion contour, and use the intersection and union ratio of the rectangular frame to determine the person's motion trajectory; The sound restoration module is used to determine the highest sounding person's position using the sound positioning algorithm and the person's position coordinates detected by radar; estimate the original sound energy based on the sound propagation energy loss method to achieve sound energy restoration processing; Specifically: The audio-to-image algorithm is used to convert the sound data into a spectrum envelope diagram and a Mel-frequency cepstral coefficient diagram, and the fusion features are extracted and input into the emotion recognition model to identify the emotional information in the sound data. The spectrum envelope diagram is obtained by using an improved spectrum envelope method, which is to draw an envelope for the abnormal part of the sound, replace the non-abnormal part with the background noise mean, and subtract the mean value from the curve to obtain an improved spectrum envelope diagram; The emotion recognition module is used to segment the restored sound using an energy-based segmentation algorithm and identify whether each segment is a human voice; cluster the voiceprints extracted from the human voice and use the emotion recognition model to identify the emotion of each person's voice segment; The inappropriate behavior identification module is used to comprehensively judge whether inappropriate behavior occurs in the scene by combining the millimeter-wave radar to detect the position relationship of personnel.
7. A cross-media perception device for inappropriate behavior, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the cross-media perception method for inappropriate behavior described in any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the cross-media perception method for inappropriate behavior described in any one of claims 1 to 5.
Citation Information
Patent Citations
Indoor personnel safety integrated monitoring method based on millimeter wave radar
CN111887861A
Outdoor key place crowd abnormal behavior early warning system and method based on cross-media
CN115240142A
Self-adaptive environment sound emotion recognition method and device
CN116312640A
Camera for identifying environment and generating music
CN116504206A
Abnormality detection device
JP2012058944A
