Dangerous word sound source localization camera monitoring system based on AI training
Through the camera monitoring system for locating the sound sources of dangerous words based on AI training, combined with audio and video acquisition modules, intelligent identification and tracking of the monitoring environment is realized, which solves the problem in the existing technology that the monitoring system cannot effectively identify and locate the sound sources of dangerous words. problems, improving monitoring quality and selection capabilities.
Patent Information
- Application Number
- CN202311534669.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-17
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2043-11-17
AI Technical Summary
The existing monitoring system cannot realize intelligent monitoring, which makes manual screening difficult, poor monitoring capabilities, and inability to effectively identify and locate the sound source of dangerous words.
Adopt a dangerous word sound source positioning camera monitoring system based on AI training. Through the audio acquisition module, video acquisition module, coordinate system construction module, coordinate determination module and video adjustment module, keyword recognition and tracking monitoring of the monitoring environment are realized. Combined with audio Preprocessing, feature extraction and comparison of dangerous words to determine and locate the sound sources of dangerous words.
It realizes intelligent selection and tracking monitoring, avoids useless monitoring, improves monitoring quality and selection capabilities, can maximize the selection of dangerous sources when multiple dangerous word sound sources appear, and has strong continuous evaluation capabilities.
Smart Images

Figure CN117768786B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of video monitoring, and in particular to a camera monitoring system for locating the sound source of dangerous words based on AI training. Background Art
[0002] AI is the abbreviation of artificial intelligence, which refers to a system with a certain degree of intelligence created by humans. AI usually includes the capabilities of perception, reasoning, learning and decision-making, which can simulate human thinking and behavior. In recent years, with the continuous development of computer science, neuroscience, psychology and other fields, AI has made remarkable progress. The application fields of artificial intelligence are very wide, such as speech recognition, natural language processing, machine translation, intelligent recommendation, automatic driving, medical diagnosis, financial risk control, etc. At present, AI has made good progress and has shown a level that exceeds that of humans in some areas. However, AI still has some challenges and problems, such as data privacy, algorithmic bias, human morality and other issues. In the future, with the continuous advancement of technology and the continuous development of society, AI will play an important role in more fields and bring more opportunities and challenges to mankind.
[0003] Video surveillance is to obtain video information of a specific area in real time by installing cameras in the area, and transmit it to the monitoring center for real-time monitoring and analysis. Video surveillance is widely used in security monitoring, traffic monitoring, enterprise monitoring and other fields, with the goal of improving safety, increasing efficiency and reducing crime rates. Video surveillance systems usually consist of cameras, video transmission equipment, monitoring software and other components. The camera captures images and video information through sensors, transmits video information to the monitoring center through video transmission equipment, and the monitoring software processes and analyzes the video information to achieve real-time monitoring and video alarm functions. With the development of artificial intelligence and big data technology, video surveillance systems have become increasingly intelligent and automated.
[0004] The existing monitoring system basically monitors the monitoring area indiscriminately, making manual screening difficult, the monitoring capability poor, and the inability to achieve intelligent monitoring. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides a camera monitoring system for locating the sound source of dangerous words based on AI training, which is used for keyword recognition and tracking monitoring of the monitoring environment. The camera monitoring system for locating the sound source of dangerous words based on AI training includes:
[0006] An audio acquisition module covers the monitoring area. The audio acquisition module is used to acquire and store audio in the monitoring area. The audio acquisition module can identify the direction of the sound source. The audio acquisition module can be a microphone, a recorder, an audio acquisition card, etc. The details are not repeated here. One or more audio acquisition modules are provided. When multiple audio acquisition modules are provided, they can be arranged in an array in the monitoring area, and comprehensive audio acquisition coverage can be performed on the monitoring area. Due to the wide propagation range of audio, the installation density of the audio acquisition module can be adjusted according to actual monitoring needs.
[0007] The video acquisition module is used to track and acquire the surveillance video within the monitoring area. The video acquisition module can be a camera or a camera array, which can be determined according to the area of the monitoring area and the coverage area of the camera. If the area of the monitoring area is less than or equal to the coverage area of the camera, only one camera is needed. If the area of the monitoring area is larger than the coverage area of the camera, a combination of multiple cameras is required to cover the monitoring area. For video surveillance coverage, the video acquisition module can be a camera that fully covers the shooting screen, or it can be a camera that can achieve 360-degree all-round monitoring by adjusting the rotation angle. This type of monitoring equipment and monitoring method can improve the monitoring range and monitoring quality, which will not be described in detail here. When multiple cameras are required for combined laying, the camera array can be set according to the shooting density, can be installed through manual experience, and can also be installed according to the importance of each installation point, which will not be described in detail here.
[0008] The coordinate system construction module is used to construct a coordinate system that covers the entire monitoring area and determines the coordinates of the audio acquisition module and the video acquisition module. The coordinate system can be a spatial coordinate system or a plane coordinate system. The specific coordinate system can be determined according to the monitoring requirements and can generally be designed based on installation experience. The specific details will not be repeated here.
[0009] The coordinate determination module is used to extract the audio and determine whether there are dangerous words in the audio. If not, it is determined as a non-dangerous word. If yes, it is determined as a dangerous word, and then the dangerous word is located to obtain the coordinates of the dangerous word sound source.
[0010] The video adjustment module is used to adjust the video acquisition module to track and monitor the dangerous word sound source coordinates. The specific video adjustment module selection method may include: taking the dangerous word sound source coordinates as the center, obtaining the closest video acquisition module as the selected video adjustment module, and if the same video adjustment module is selected by multiple dangerous word sound source coordinates, then monitoring the dangerous word sound source coordinates with the maximum monitoring risk value.
[0011] Preferably: the installation density of the audio acquisition module can be set according to the monitoring function of the device. The installation spacing of an audio acquisition module can be fixed or calculated. Wherein μ is the environmental interference factor, which can be determined according to the interference degree of the actual use environment. For example, the value of μ is larger in a noisy and complex building environment, and μ=1 in an open and noiseless environment. Other environments are not described here. R is the effective acquisition radius of the audio acquisition module.
[0012] Preferably: the effective acquisition radius R of the audio acquisition module can be determined specifically according to the device parameters of the audio acquisition module. If the device parameters are not given, they can also be obtained through experiments. The specific steps obtained by the experiment can be to install the audio acquisition module in an open environment, and then perform audio output from near to far according to a preset standard vocabulary set. Specifically, the output point can be set according to a preset interval, and each output point outputs the preset standard vocabulary set once. The output preset standard vocabulary set is recognized by the audio acquisition module to obtain an audio recognition set, and the audio recognition set is numbered i. The audio recognition set number is consistent with the output point number. The obtained audio recognition set and the preset standard vocabulary set are scanned, and then the overlap C of the audio recognition set and the preset standard vocabulary set is calculated. i , where i is the output point or audio recognition set number. Comparing two vocabulary sets is a prior art, and the specific content is not repeated here. Determine the overlap degree C i Is it greater than a preset standard overlap degree C? 标 If yes, then the next output point movement test is performed. If not, the output point numbered i-1 is used as the valid output point, and then the effective acquisition radius R=R0+(i-2)Δr is calculated, where R0 is the first output radius, that is, the distance between the first experimental output point and the audio acquisition module. Generally, the first output radius is larger, which can greatly reduce the number of output points and the number of experiments. R0 can be obtained based on equipment capabilities and experience, generally 10-50m, and the details are not repeated here. Δr is the distance between each output point. This method requires that the distance between each output point is the same.
[0013] Preferably, in order to make the effective radius more accurate, the spacing of the output points can be gradually reduced as the distance increases, which can be specifically Δr i is the distance between the output point numbered i and the output point numbered i+1, Where r is the standard spacing, which can be a fixed value, generally 0.5-5m, and ɑ is the spacing adjustment coefficient, which can be set according to the equipment capacity, generally 1. The specific details are not repeated here. Calculate the effective acquisition radius Where n is the number of valid output points. Of course, there may be other methods for the installation density or installation method of the audio acquisition module, which will not be described in detail here.
[0014] Preferred: The coordinate system is a spatial coordinate system or a plane coordinate system which can be obtained by calculation. Specifically, the monitoring height ratio can be calculated. Where H is the installation height of the video acquisition module, and h is the empirical height of the monitoring target. For this application, it can be the average height of a person, which can be 1.7-1.8m. Of course, it can also be other values, which will not be described in detail here. Determine whether the monitoring height ratio p is greater than a preset ratio standard p 标 If yes, the coordinate system can be set as a plane coordinate system, if no, it can be set as a space coordinate system. The scale standard p 标 It can be determined according to the actual monitoring situation, generally 3-6. There are many methods to obtain the coordinates of the audio acquisition module and the video acquisition module. Specifically, the audio acquisition module and the video acquisition module can be installed as positioning elements, and implanted into the coordinate system through the positioning elements, so as to obtain the coordinates of each audio acquisition module and the video acquisition module in the coordinate system. Of course, they can also be obtained through manual calculation and then implanted manually. The specific content will not be repeated here.
[0015] Preferably: the method for determining dangerous words may include:
[0016] 1. Audio preprocessing. Audio preprocessing mainly highlights the voice information, making it easier to identify and extract. The audio preprocessing includes: performing frequency analysis on the audio, and removing the audio segments in the audio that do not belong to a preset monitoring audio frequency band, so as to obtain the analysis segment audio. The preset monitoring audio frequency band can be designed according to the monitoring object. The main monitoring object of this application is people, so the preset monitoring audio frequency band can be 60Hz-1.2KHz. Of course, it can also be classified and monitored according to the population classification, which will not be elaborated here; then the analysis segment audio is processed by a filter to remove the noise and obtain the denoised frequency. The filter can effectively remove the noise in the audio signal. Commonly used filter design methods include low-pass filters, high-pass filters, band-pass filters, band-stop filters, etc., which will not be elaborated here.
[0017] 2. Audio feature extraction: Number the denoised audio to obtain audio frame signals, and obtain phrase audio signals by combining audio frame signals. The process of combining audio frame signals to obtain phrase audio signals is also based on AI training. It is a prior art and will not be described in detail here. Specifically, the audio signal can be regarded as a time-space signal. Through the time-space feature of the audio signal, each signal frame can be easily separated. The details will not be described here. Each audio frame is a feature, so that each audio frame signal can be obtained, and these audio frame signals are numbered in chronological order to obtain audio frame signals. There are many feature extraction methods, including FFT, MFCC, CE, WP, etc.
[0018] 3. Keyword comparison: The currently obtained phrase audio signal is compared with the audio frame signals composed of a preset number N-1 before it to form a comparison audio frame set, and the phrase audio signal in the comparison audio frame set is compared with a pre-prepared dangerous word library to obtain the dangerous words and the dangerous weight w j , where j is the number of the phrase audio signal in the comparison audio frame set. The dangerous word library can be pre-designed according to the application scenario. The dangerous weight of any word that is not a dangerous word is 0. It can also be that each audio frame signal of the word library that is not in the dangerous word library can be ungrouped. The details are not repeated here. For example, when monitoring an office building, we can design some commercial secrets about the office area into a dangerous word library, and we can also design dangerous action vocabulary into a dangerous word library. The dangerous word library includes the content of dangerous words and their dangerous weights. For example: {....Theft-3; Climbing over the wall-2; ....}, the details are not repeated here.
[0019] 4. Calculate and obtain the monitoring risk value A.
[0020] 5. Determine whether the monitored danger value A is greater than a preset danger standard value A 标, if yes, it is determined to be a dangerous word, if not, it is determined to be a non-dangerous word. The method for obtaining the coordinates of the dangerous word sound source includes: extracting the coordinates of the audio acquisition module that obtains the dangerous word and constructing an analysis audio set, extracting the volume of the dangerous word detected by it, obtaining the direction vector of the audio acquisition module pointing to the sound source, and arbitrarily selecting two audio acquisition modules from the analysis audio set to calculate the analysis reference value, the analysis reference value is the product of the volume of the dangerous words corresponding to the two audio acquisition modules divided by the product of the vectors, and the two audio acquisition modules corresponding to the maximum value of the analysis reference value are used as calculation coordinates, and then the vector intersection of the two audio acquisition module coordinates is used as the coordinates of the dangerous word sound source, and the specific calculation is not given as an example here. By considering the product of the volume of dangerous words and the product of the vector, the volume of dangerous words can select a relatively close audio acquisition module, thereby reducing the calculation error in the distance. The angle of the audio acquisition module relative to the sound source can be considered through the vector product, so that the vector with a larger angle can be selected to the maximum extent. Comprehensively considering the two reference quantities can make the positioning of the coordinates of the dangerous word sound source more accurate. Of course, there are other ways to obtain the coordinates of the sound source of dangerous words, for example, the image-based sound source localization method: This method determines the coordinates of the sound source by identifying the position of the sound source in the image. This method is suitable for methods for positioning on smooth images. Sound source localization method based on sound features: This method determines the coordinates of the sound source by analyzing the sound features. This method includes spectral analysis of sound signals, spectral clustering of time domain signals, etc. Sound source localization method based on deep learning: This method determines the coordinates of the sound source by learning the mapping relationship between the sound source and speech data. This method is suitable for methods for positioning in complex environments.
[0021] Preferably: the method for obtaining the monitoring risk value A includes first calculating the current risk value Then calculate the monitoring risk value Among them, m is the number of non-overlapping and continuous comparison audio frame sets. The current comparison audio frame set can be numbered as M in total, the previous comparison audio frame set consisting of audio frame signals with number N is numbered M-1, the current comparison audio frame set is numbered as M in total, and so on. Mm is the distance length of the audio frame set. is the cumulative risk value, which mainly represents the impact of historical risk words on the monitored risk. The longer the distance from the current comparison audio frame set, the smaller the impact, which can better represent the risk value; β is the historical impact coefficient, which is generally 0.5-1. The details are not repeated here.
[0022] The technical effects and advantages of the present invention are as follows: by selecting the nearest video acquisition module, the quality of monitoring can be guaranteed, and when multiple dangerous word sound sources appear, the dangerous source can be selected to the maximum extent, and the selection ability is strong. By screening the dangerous words of the sound source, intelligent selection can be achieved and tracking can be performed, and the monitoring ability is strong, avoiding useless monitoring. By comprehensively calculating the accumulated danger and the current danger, continuous evaluation can be performed, and the evaluation ability is strong. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a structural block diagram of the camera monitoring system for locating the sound source of dangerous words based on AI training proposed by the present invention.
[0024] Figure 2 This is a flow chart of a method for effectively obtaining the radius R in a dangerous word sound source localization camera monitoring system based on AI training proposed by the present invention.
[0025] Figure 3 This is a flow chart of the method for determining dangerous words in a dangerous word sound source localization camera monitoring system based on AI training proposed by the present invention.
[0026] Figure 4 This is a specific flow chart of the method for determining dangerous words in a dangerous word sound source localization camera monitoring system based on AI training proposed by the present invention.
[0027] Figure 5 This is a flow chart of the method for obtaining the coordinates of the sound source of dangerous words in the dangerous word sound source positioning camera monitoring system based on AI training proposed by the present invention. DETAILED DESCRIPTION
[0028] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The embodiments of the present invention are provided for the purpose of illustration and description, and are not intended to be exhaustive or to limit the present invention to the disclosed forms. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present invention, and to enable those of ordinary skill in the art to understand the present invention and thereby design various embodiments with various modifications suitable for specific uses.
[0029] Example 1
[0030] refer to Figure 1 In this embodiment, a camera monitoring system for locating the sound source of dangerous words based on AI training is proposed for keyword recognition and tracking monitoring of the monitoring environment. The camera monitoring system for locating the sound source of dangerous words based on AI training includes:
[0031] An audio acquisition module covers the monitoring area. The audio acquisition module is used to acquire and store the audio in the monitoring area. The audio acquisition module can identify the direction of the sound source. The audio acquisition module can be a microphone, a recorder, an audio acquisition card, etc. The details are not described here. One or more audio acquisition modules are provided. When multiple modules are provided, they can be arranged in an array in the monitoring area. The monitoring area can be fully covered by audio acquisition. Due to the wide propagation range of audio, the installation density of the audio acquisition module can be adjusted according to actual monitoring needs. The installation density of the audio acquisition module can be set according to the monitoring function of the equipment. The installation spacing of an audio acquisition module can be fixed and can also be obtained according to calculations. The installation density of the audio acquisition module Where μ is the environmental interference factor, which can be determined based on the interference level of the actual use environment. For example, the value of μ is larger in a noisy and complex building environment, and μ=1 in an open and noiseless environment. Other environments are not described here. R is the effective acquisition radius of the audio acquisition module, which can be determined based on the device parameters of the audio acquisition module. If the device parameters are not given, they can also be obtained through experiments. Reference Figure 2 The specific steps obtained by the experiment are to install the audio acquisition module in an open environment, and then perform audio output from near to far according to a preset standard vocabulary set. Specifically, the output point can be set according to a preset interval, and each output point outputs the preset standard vocabulary set once, and the output preset standard vocabulary set is recognized by the audio acquisition module to obtain an audio recognition set, and the audio recognition set is numbered i. The audio recognition set number is consistent with the output point number, the obtained audio recognition set and the preset standard vocabulary set are scanned, and then the overlap degree C of the audio recognition set and the preset standard vocabulary set is calculated. i , where i is the output point or audio recognition set number. Comparing two vocabulary sets is a prior art, and the specific content is not repeated here. Determine the overlap degree C i Is it greater than a preset standard overlap degree C? 标, if yes, then perform the next output point movement test, if not, take the output point numbered i-1 as the valid output point, and then calculate the effective acquisition radius R=R0+(i-2)Δr, where R0 is the first output radius, that is, the distance between the first experimental output point and the audio acquisition module. Generally, the first output radius is larger, which can greatly reduce the number of output points and the number of experiments. R0 can be obtained based on equipment capabilities and experience, generally 10-50m, and the details are not described here. Δr is the distance between each output point. This method requires that the distance between each output point is the same. Of course, in order to make the effective acquisition radius more accurate, the spacing between the output points can also be gradually reduced as the distance increases. Specifically, it can be Δr i is the distance between the output point numbered i and the output point numbered i+1, Where r is the standard spacing, which can be a fixed value, generally 0.5-5m, and ɑ is the spacing adjustment coefficient, which can be set according to the equipment capacity, generally 1. The specific details are not repeated here. Calculate the effective acquisition radius Where n is the number of valid output points. Of course, there may be other methods for the installation density or installation method of the audio acquisition module, which will not be described in detail here.
[0032] The video acquisition module is used to track and acquire the surveillance video within the monitoring area. The video acquisition module can be a camera or a camera array, which can be determined according to the area of the monitoring area and the coverage area of the camera. If the area of the monitoring area is less than or equal to the coverage area of the camera, only one camera is needed. If the area of the monitoring area is larger than the coverage area of the camera, a combination of multiple cameras is required to cover the monitoring area. For video surveillance coverage, the video acquisition module can be a camera that fully covers the shooting screen, or it can be a camera that can achieve 360-degree all-round monitoring by adjusting the rotation angle. This type of monitoring equipment and monitoring method can improve the monitoring range and monitoring quality, which will not be described in detail here. When multiple cameras are required for combined laying, the camera array can be set according to the shooting density, can be installed through manual experience, and can also be installed according to the importance of each installation point, which will not be described in detail here.
[0033] The coordinate system construction module is used to construct a coordinate system that covers the entire monitoring area and determines the coordinates of the audio acquisition module and the video acquisition module. The coordinate system can be a spatial coordinate system or a plane coordinate system. The specific coordinate system can be determined according to the monitoring requirements and can generally be designed based on installation experience. The specific details will not be repeated here. Of course, it can also be obtained through calculation. Specifically, the monitoring height ratio can be calculated. Where H is the installation height of the video acquisition module, and h is the empirical height of the monitoring target. For this application, it can be the average height of a person, which can be 1.7-1.8m. Of course, it can also be other values, which will not be described in detail here. Determine whether the monitoring height ratio p is greater than a preset ratio standard p 标 If yes, the coordinate system can be set as a plane coordinate system, if no, it can be set as a space coordinate system. The scale standard p 标 It can be determined according to the actual monitoring situation, generally 3-6. There are many methods to obtain the coordinates of the audio acquisition module and the video acquisition module. Specifically, the audio acquisition module and the video acquisition module can be installed as positioning elements, and implanted into the coordinate system through the positioning elements, so as to obtain the coordinates of each audio acquisition module and the video acquisition module in the coordinate system. Of course, they can also be obtained through manual calculation and then implanted manually. The specific content will not be repeated here.
[0034] The coordinate determination module is used to extract the audio and determine whether there are dangerous words in the audio. If not, it is determined to be a non-dangerous word. If yes, it is determined to be a dangerous word, and then the dangerous word is located to obtain the coordinates of the dangerous word sound source. The audio is used to extract effective information in a complex application environment and can be obtained based on AI training. AI training refers to the process of optimizing artificial intelligence models using machine learning algorithms and a large amount of data to improve their performance and predictive capabilities. In the AI training process, the following steps are usually required: Data collection and preprocessing: Collect and organize training data, and clean, denoise, and normalize the data to facilitate subsequent model training. Model selection and training framework: Select appropriate AI models and training frameworks according to specific tasks, such as TensorFlow, PyTorch, Scikit-learn, etc. Model compilation and tuning: Use cross-validation and other techniques to compile the model, including learning rate adjustment, regularization, network structure selection, etc. to improve model performance. Model evaluation and selection: Use test data sets to evaluate the model and select the model with the best performance. Model deployment and application: Deploy the trained model to the production environment for actual application. Model optimization and update: Optimize and update the model according to the actual application to improve the prediction performance. AI training is an iterative process that requires continuous data collection and preprocessing, model selection and training framework, model compilation and tuning, etc. to obtain the best model performance and prediction effect. Reference Figure 3-Figure 4, the method for determining dangerous words may include: 1. Audio preprocessing. Audio preprocessing mainly highlights voice information, so as to facilitate identification and extraction. The audio preprocessing includes: performing frequency analysis on the audio, and removing the audio segments in the audio that do not belong to a preset monitoring audio frequency band, so as to obtain the analysis segment audio. The preset monitoring audio frequency band can be designed according to the monitoring object. The main monitoring object of this application is people, so the preset monitoring audio frequency band can be 60Hz-1.2KHz. Of course, it can also be classified and monitored according to the classification of the population, which will not be described in detail here; then the analysis segment audio is processed by the filter to remove the noise to obtain the denoised audio signal, and the filter can effectively remove the noise in the audio signal. Common filter design methods include low-pass filters, high-pass filters, band-pass filters, band-stop filters, etc., which will not be described in detail here. 2. Audio feature extraction: The denoised audio is numbered to obtain an audio frame signal, and a phrase audio signal is obtained by combining the audio frame signals. The process of combining the audio frame signals to obtain the phrase audio signal is also based on AI training, which is a prior art and will not be described in detail here. Specifically, the audio signal can be regarded as a time-space signal. Through the time-space feature of the audio signal, each signal frame can be easily separated. The details will not be repeated here. Each audio frame is a feature, so that each audio frame signal can be obtained, and these audio frame signals are numbered in chronological order to obtain audio frame signals. There are many feature extraction methods, including FFT, MFCC, CE, WP, etc. 3. Keyword comparison: The current phrase audio signal is compared with the audio frame signals composed of a preset number N-1 before it to form a comparison audio frame set, and the phrase audio signal in the comparison audio frame set is compared with a pre-predicted dangerous word library to obtain the dangerous weight w of the dangerous word and the danger. j , where j is the number of the phrase audio signal in the comparison audio frame set. The dangerous word library can be pre-designed according to the application scenario. The danger weight of any word that is not a dangerous word is 0. It can also be that each audio frame signal of the word library that is not in the dangerous word library may not be grouped into words. The details are not repeated here. For example, when monitoring an office building, we can design some commercial secrets about the office area into a dangerous word library, and we can also design dangerous action vocabulary into a dangerous word library. The dangerous word library includes the content of dangerous words and their danger weights. For example: {....Theft-3; Climbing over the wall-2;....}, the details are not repeated here. 4. Calculate and obtain the monitoring danger value A. The method for obtaining the monitoring danger value A includes first calculating the current danger value Then calculate the monitoring risk value Among them, m is the number of non-overlapping and continuous comparison audio frame sets. The current comparison audio frame set can be numbered as M in total, the previous comparison audio frame set consisting of audio frame signals with number N is numbered M-1, the current comparison audio frame set is numbered as M in total, and so on. Mm is the distance length of the audio frame set. is the cumulative risk value, which mainly represents the impact of historical risk words on the monitored risk. The longer the distance from the current comparison audio frame set, the smaller the impact, and the better it can represent the risk value; β is the historical impact coefficient, which is generally 0.5-1. The details are not repeated here. For example, a piece of audio is obtained through monitoring, and the audio content is "I climbed over the wall from the outside wall and planned to go to the conference room to steal the financial statements." The current comparison audio frame set is "I plan to go to the conference room to steal a CD." By comparing with a risk word library, the dangerous words theft and financial statements are obtained, and the corresponding risk value weights are 3 and 5 respectively. N=12, then the current risk value D2=(3+5) / 12=0.66 is calculated; similarly D1=0.17. At this time, the historical impact coefficient β takes a value of 0.9, which can be calculated as the monitoring risk value M=0.83. Of course, this is just a simple example, and the complex content is not repeated here. 5. Determine whether the monitoring risk value A is greater than a preset risk standard value A 标 If yes, it is considered a dangerous word, if no, it is considered a non-dangerous word. Figure 5, the method for obtaining the coordinates of the dangerous word sound source includes: extracting the coordinates of the audio acquisition module that obtains the dangerous words and constructing an analysis audio set, extracting the volume of the dangerous words detected by the audio acquisition module, obtaining the direction vector of the audio acquisition module pointing to the sound source, and arbitrarily selecting two audio acquisition modules from the analysis audio set to calculate the analysis reference value, the analysis reference value is the product of the volume of the dangerous words corresponding to the two audio acquisition modules divided by the product of the vectors, and taking the two audio acquisition modules corresponding to the maximum value of the analysis reference value as the calculation coordinates, and then taking the vector intersection of the coordinates of the two audio acquisition modules as the coordinates of the dangerous word sound source, and the specific calculation is not given as an example here. By considering the product of the volume of the dangerous words and the product of the vectors, the volume of the dangerous words can select a relatively close audio acquisition module, thereby reducing the calculation error in the distance, and the angle of the audio acquisition module relative to the sound source can be considered through the product of the vectors, so that the vector with a larger angle can be selected to the maximum extent, and the two reference quantities can be comprehensively considered to make the positioning of the coordinates of the dangerous word sound source more accurate. Of course, there are other methods for obtaining the coordinates of the dangerous word sound source, for example, an image-based sound source positioning method: this method determines the coordinates of the sound source by identifying the position of the sound source in the image. This method is suitable for methods of positioning on smooth images. Sound source localization method based on sound features: This method determines the coordinates of the sound source by analyzing the sound features. This method includes spectrum analysis of sound signals, spectral clustering of time domain signals, etc. Sound source localization method based on deep learning: This method determines the coordinates of the sound source by learning the mapping relationship between the sound source and speech data. This method is suitable for methods of positioning in complex environments.
[0035] The video adjustment module is used to control the video acquisition module to track and monitor the coordinates of the dangerous word sound source. The specific video adjustment module selection method may include: taking the dangerous word sound source coordinates as the center to obtain the nearest video acquisition module as the selected video adjustment module. If the same video adjustment module is selected by multiple dangerous word sound source coordinates, the dangerous word sound source coordinates with the maximum monitored danger value are monitored. The video acquisition module adjustment method is a prior art and will not be described in detail here. By selecting the nearest video acquisition module, the quality of monitoring can be guaranteed, and when multiple dangerous word sound sources appear, the dangerous source can be selected to the maximum extent, and the selection ability is strong. By screening the dangerous words of the sound source, intelligent selection can be achieved, and tracking can be performed, and the monitoring ability is strong, which avoids useless monitoring. By comprehensively calculating the accumulated danger and the current danger, continuous evaluation can be achieved, and the evaluation ability is strong.
[0036] Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field and related fields without creative work should fall within the scope of protection of the present invention. The structures, devices and operating methods not specifically described and explained in the present invention are implemented according to the conventional means in the field unless otherwise specified and limited.
Claims
1. The camera monitoring system for locating the sound source of dangerous words based on AI training is characterized by: The AI-trained dangerous word sound source localization camera monitoring system includes: An audio acquisition module, covering the monitoring area, is used to acquire and store audio in the monitoring area; A video acquisition module is used to track and acquire surveillance videos within the surveillance area; A coordinate system construction module is used to construct a coordinate system that covers the entire monitoring area and determines the coordinates of the audio acquisition module and the video acquisition module; A coordinate determination module is used to extract the audio and determine whether there is a dangerous word in the audio. If not, it is determined to be a non-dangerous word. If yes, it is determined to be a dangerous word, and then the dangerous word is located to obtain the coordinates of the dangerous word sound source; A video adjustment module, which is used to adjust the video acquisition module to track and monitor the coordinates of the sound source of the dangerous word; Installation density of the audio acquisition module , where μ is the environmental interference factor, and R is the effective acquisition radius of the audio acquisition module; The method for obtaining the effective acquisition radius R of the audio acquisition module includes: installing the audio acquisition module in an open environment, then outputting audio from near to far according to a preset standard vocabulary set, recognizing the output preset standard vocabulary set through the audio acquisition module to obtain an audio recognition set, scanning the obtained audio recognition set and the preset standard vocabulary set, and then calculating the overlap C of the audio recognition set and the preset standard vocabulary set. i , where i is the output point or audio recognition set number, and the overlap degree C is determined i Is it greater than a preset standard overlap degree C? 标 If yes, then the next output point movement test is performed. If no, the output point numbered i-1 is taken as the valid output point, and then the effective acquisition radius R is calculated; the effective acquisition radius , where R0 is the first output radius and Δr is the distance between each output point; or the effective radius , where n is the number of effective output points, Δr i is the distance between the output point numbered i and the output point numbered i+1, , where r is the standard spacing and ɑ is the spacing adjustment coefficient.
2. The camera monitoring system for locating the sound source of dangerous words based on AI training according to claim 1 is characterized in that: The method for selecting a video adjustment module for tracking monitoring includes: taking the dangerous word sound source coordinates as the center to obtain the nearest video acquisition module as the selected video adjustment module; if the same video adjustment module is selected by multiple dangerous word sound source coordinates, the dangerous word sound source coordinates with the maximum monitoring danger value are monitored.
3. The camera monitoring system for locating the sound source of dangerous words based on AI training according to claim 1 is characterized in that: The method for determining dangerous words includes: audio preprocessing; audio feature extraction; keyword comparison; calculating and obtaining a monitoring danger value A; and determining whether the monitoring danger value A is greater than a preset danger standard value A. 标 If yes, it is judged as a dangerous word, if no, it is judged as a non-dangerous word.
4. The camera monitoring system for locating the sound source of dangerous words based on AI training according to claim 1 is characterized in that: The method for determining dangerous words includes: performing frequency analysis on audio, and removing audio segments that do not belong to a preset monitoring audio frequency band in the audio, thereby obtaining analysis segment audio; then processing the analysis segment audio through a filter to remove noise to obtain denoised audio; numbering the denoised audio to obtain an audio frame signal, and obtaining a phrase audio signal by combining the audio frame signals; forming a comparison audio frame set by combining the currently obtained phrase audio signal with the audio frame signals composed of a preset number N-1 before, and comparing the phrase audio signal in the comparison audio frame set with a pre-set dangerous word library to obtain the dangerous word and the dangerous weight w of the dangerous word. j , where j is the number of the phrase audio signal in the comparison audio frame set; calculate and obtain the monitoring danger value A; determine whether the monitoring danger value A is greater than a preset danger standard value A 标 If yes, it is judged as a dangerous word, if no, it is judged as a non-dangerous word.
5. The camera monitoring system for locating the sound source of dangerous words based on AI training according to claim 4 is characterized in that: The method for obtaining the coordinates of the dangerous word sound source includes: extracting the coordinates of the audio acquisition module that obtains the dangerous words and constructing an analysis audio set, extracting the volume of the dangerous words detected by the audio acquisition module, obtaining the direction vector of the audio acquisition module pointing to the sound source, and arbitrarily selecting two audio acquisition modules from the analysis audio set to calculate the analysis reference value, the analysis reference value is the product of the volume of the dangerous words corresponding to the two audio acquisition modules divided by the product of the vectors, and the two audio acquisition modules corresponding to the maximum value of the analysis reference value are used as the calculation coordinates, and then the intersection of the vectors passing through the coordinates of the two audio acquisition modules is used as the coordinates of the dangerous word sound source.
6. The camera monitoring system for locating the sound source of dangerous words based on AI training according to claim 4 is characterized in that: The method for obtaining the monitoring risk value A includes first calculating the current risk value , and then calculate the monitoring risk value , where m is the number of non-overlapping and continuous comparison audio frame sets, the total number of comparison audio frame sets is M, β is the historical influence coefficient, and D M M is the danger value of the comparison audio frame set, and N is the number of audio frame signal numbers of the current comparison audio frame set.
