Multi-mode adaptive pickup method and system, earphone and storage medium
Through the multi-modal adaptive sound pickup method, combined with speech, noise, bone conduction and lip movement image data, it automatically identifies the environment and adjusts the channel weight, solving the problem of audio capture by headphones in different environments, and achieving a range from extreme silence to noisy. High-quality sound pickup in the environment.
Patent Information
- Application Number
- CN202410876346.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-10-11
AI Technical Summary
Existing headphone technology cannot automatically recognize and adapt to changes from a regular environment to a high-noise environment, and cannot achieve high-quality audio capture in complex environments ranging from extreme silence to loud noise.
Using a multi-modal adaptive sound pickup method, preprocessing is performed by acquiring voice data, noise data, bone conduction data and lip movement image data, determining the weight coefficient of each data channel according to the environmental scene recognition model, and using a multi-modal fusion model Perform weighting processing and fusion output, and adjust active noise reduction parameters in real time to adapt to different scenarios.
It achieves excellent audio capture performance under different environmental conditions, meets users' needs for high-quality sound pickup, automatically identifies the environment and dynamically adjusts the noise reduction effect, improving the intelligence level of the headset.
Smart Images

Figure CN118764765A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of earphone technology, and in particular to a multi-modal adaptive sound pickup method, system, earphone and storage medium. Background Art
[0002] As an indispensable medium for human-computer interaction, headphones are widely used in daily life and professional applications. However, in terms of combating extreme noise or coping with extremely quiet environments, current headphone technology still has significant room for improvement, especially in extremely noisy environments. Existing solutions to communication problems in high-noise environments can be divided into three major paths: (1) Active noise reduction based on single or dual-microphone air conduction headphones; (2) Combined noise reduction through the integration of bone conduction and air conduction technologies; (3) Signal extraction through the fusion of bone conduction and visual image recognition technologies. There are also several mainstream solutions for communication demands in completely silent or weak sound environments, including lip reading recognition with the help of cameras and analysis of physiological information such as bioelectric signals in the ear canal. Current headphone solutions are usually designed for high-noise or silent environments respectively, and cannot solve the problem of language signal perception in the full spectrum from silence to high noise in an integrated manner. Although communication devices that integrate bone conduction, air conduction and optical sensors have appeared, such products still do not have the ability to automatically adapt to different environments, that is, they cannot automatically identify and adapt to changes from conventional environments to high-noise environments, and require manual switching of working modes to meet sound collection needs under different conditions. Summary of the invention
[0003] In view of this, the present invention provides a multi-modal adaptive sound pickup method, system, earphone and storage medium to solve the problem of how to automatically identify and adapt to the change from a conventional environment to a high-noise environment.
[0004] In a first aspect, the present invention provides a multi-modal adaptive sound pickup method, the method comprising:
[0005] Acquire speech data, noise data, bone conduction data and lip movement image data and perform preprocessing to obtain speech time-frequency graph, noise time-frequency graph, bone conduction time-frequency graph and lip movement cropping graph;
[0006] Determine the weight coefficients of the speech data, the bone conduction data and the lip movement image data according to the speech time-frequency graph, the noise time-frequency graph, the bone conduction time-frequency graph and the lip movement cropping graph and the environmental scene recognition model;
[0007] Performing weighted processing on the voice data, the bone conduction data and the lip movement image data according to corresponding weight coefficients to obtain weighted voice data, weighted bone conduction data and weighted lip movement image data;
[0008] The weighted speech data, weighted bone conduction data, and weighted lip movement image data are input into a preset multimodal fusion model to obtain fused output data.
[0009] The multimodal adaptive sound pickup method provided by the present invention adaptively identifies the surrounding environment scene, assigns weight coefficients to different channel data according to the surrounding environment scene, and uses the weight coefficients to fuse multiple channel data to obtain final output data. It can achieve excellent audio capture performance in various complex environmental conditions from extremely quiet to noisy and high-noise, and meet users' needs for high-quality sound pickup in different scenarios.
[0010] In an optional embodiment, the method further includes:
[0011] Input the noise time-frequency graph into the preset environment recognition model to obtain the noise value of the current environment;
[0012] According to the noise value, the preset active noise reduction model is used to adjust the channel parameters of the voice data and noise data, and actively reduce the noise of the fused output data.
[0013] The multi-modal adaptive sound pickup method provided by the present invention predicts and identifies the noise conditions of the current environment in real time, dynamically adjusts the active noise reduction parameters, and appropriately changes the degree of active noise reduction in different scenarios to achieve the best noise suppression effect.
[0014] In an optional implementation, the environmental scene recognition model includes: a preset time domain distribution model, a preset frequency domain distribution model, a preset energy distribution model, and a preset probability distribution model, and determines the weight coefficients of the voice data, the bone conduction data, and the lip movement image data according to the speech time-frequency graph, the noise time-frequency graph, the bone conduction time-frequency graph, the lip movement cutout graph, and the environmental scene recognition model, including:
[0015] The speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are processed using a preset time-domain distribution model to obtain the average amplitude splicing results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram;
[0016] The speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are processed by using a preset frequency domain distribution model to obtain frequency domain splicing results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram;
[0017] The speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are processed using a preset energy distribution model to obtain energy splicing results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram;
[0018] The speech time-frequency graph, the noise time-frequency graph, the bone conduction time-frequency graph and the lip movement cut-out graph are processed by using a preset probability distribution model to obtain the probability splicing results of the speech time-frequency graph, the noise time-frequency graph, the bone conduction time-frequency graph and the lip movement cut-out graph;
[0019] The average amplitude splicing results, frequency splicing results, energy splicing results, and probability splicing results are input into the preset scene recognition model, and the weight coefficients of the speech data, bone conduction data, and lip movement image data are output.
[0020] The multimodal adaptive sound pickup method provided by the present invention analyzes the characteristics of sound and image data from multiple angles through an environmental scene recognition model to determine the surrounding environmental scene, and assigns weight coefficients to different channel data according to the surrounding environmental scene, so that the final fused output data is clearer and more accurate.
[0021] In an optional implementation, the process of constructing the preset scene recognition model includes:
[0022] Acquire voice data, noise data, bone conduction data and lip movement image data under multiple preset standard environments;
[0023] Measure the accuracy of the fused output data obtained by using different weight coefficients for speech data, bone conduction data, and lip movement image data;
[0024] Determine the optimal weight coefficients corresponding to the voice data, bone conduction data and lip movement image data according to the accuracy;
[0025] According to the speech data, noise data, bone conduction data and lip movement image data in the preset standard environment, the environment scene recognition model is used to obtain the average amplitude splicing result, frequency splicing result, energy splicing result and probability splicing result;
[0026] The optimal weight coefficients, average amplitude splicing results, frequency splicing results, energy splicing results, and probability splicing results corresponding to the speech data, bone conduction data, and lip movement image data under multiple preset standard environments are used as training samples to input into a preset recognition formula to obtain the corresponding coefficients of the average amplitude splicing results, frequency splicing results, energy splicing results, and probability splicing results;
[0027] A preset recognition formula having corresponding coefficients of an average amplitude splicing result, a frequency splicing result, an energy splicing result, and a probability splicing result is used as a preset scene recognition model.
[0028] The multimodal adaptive sound pickup method provided by the present invention selects multiple standard environments and actually measures the optimal weight coefficients of each channel data under the standard environments, and uses the channel data under the multiple standard environments and the corresponding optimal weight coefficients to obtain a preset scene recognition model. When actually picking up sound, it is beneficial to use the preset scene recognition model to obtain accurate and clear fusion output data.
[0029] In an optional implementation, the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are processed using a preset time-domain distribution model to obtain an average amplitude splicing result of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram, including:
[0030] The target time-frequency graph is intercepted at a preset time interval to obtain a plurality of intercepted segments of the target time-frequency graph, wherein the target time-frequency graph includes a speech time-frequency graph, a noise time-frequency graph, and a bone conduction time-frequency graph;
[0031] Selecting a preset number of consecutive intercepted segments from the plurality of intercepted segments, and determining a plurality of signal amplitudes of the preset number of consecutive intercepted segments;
[0032] Calculate the average of multiple signal amplitudes as the average amplitude of the target time-frequency graph;
[0033] The average amplitudes of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are spliced to obtain the average amplitude splicing result.
[0034] The multi-modal adaptive sound pickup method provided by the present invention is conducive to accurately obtaining the audio amplitude information of the current environmental scene by intercepting the target time-frequency diagram and analyzing the splicing signal amplitude, and finally identifying the environmental scene more accurately.
[0035] In an optional implementation, the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are processed using a preset frequency domain distribution model to obtain a frequency domain splicing result of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram, including:
[0036] The target time-frequency graph is intercepted at a preset time interval to obtain a plurality of intercepted segments of the target time-frequency graph, wherein the target time-frequency graph includes a speech time-frequency graph, a noise time-frequency graph, and a bone conduction time-frequency graph;
[0037] Transforming the intercepted segments to obtain frequency domain distribution diagrams corresponding to the intercepted segments;
[0038] Classify and count the frequency domain distribution graphs corresponding to each intercepted segment according to the preset interval distribution to obtain the frequency result of the target time domain graph;
[0039] The frequency results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are spliced to obtain the frequency domain splicing result.
[0040] The multimodal adaptive sound pickup method provided by the present invention is conducive to accurately obtaining the audio frequency information of the current environmental scene by intercepting the target time-frequency diagram and analyzing and splicing the frequency of each channel data, and finally identifying the environmental scene more accurately.
[0041] In an optional implementation, the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are processed using a preset energy distribution model to obtain energy splicing results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram, including:
[0042] The target time-frequency graph is intercepted at a preset time interval to obtain a plurality of intercepted segments of the target time-frequency graph, wherein the target time-frequency graph includes a speech time-frequency graph, a noise time-frequency graph, and a bone conduction time-frequency graph;
[0043] Calculating the short-time energy of each intercepted segment, and comparing the short-time energy of each intercepted segment with a corresponding preset energy threshold, to determine the number of intercepted segments whose short-time energy is greater than the corresponding preset energy threshold;
[0044] Calculate the ratio of the number of intercepted segments whose short-time energy in the target time-frequency graph is greater than the corresponding preset energy threshold to the total number of intercepted segments as the energy result of the target time-frequency graph;
[0045] The energy results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are spliced to obtain an energy splicing result.
[0046] The multimodal adaptive sound pickup method provided by the present invention is conducive to accurately obtaining the audio energy information of the current environmental scene by intercepting the target time-frequency diagram and analyzing and splicing the energy of each channel data, and finally identifying the environmental scene more accurately.
[0047] In an optional implementation, a preset probability distribution model is used to process the speech time-frequency graph, the noise time-frequency graph, the bone conduction time-frequency graph, and the lip movement cutout graph to obtain a probability splicing result of the speech time-frequency graph, the noise time-frequency graph, the bone conduction time-frequency graph, and the lip movement cutout graph, including:
[0048] The target time-frequency graph is intercepted at a preset time interval to obtain a plurality of intercepted segments of the target time-frequency graph, wherein the target time-frequency graph includes a speech time-frequency graph, a noise time-frequency graph, and a bone conduction time-frequency graph;
[0049] The lip movement cropped image is intercepted, scaled, and gray-scaled according to a preset time interval to obtain a lip movement screenshot consistent with the resolution of the target time-frequency image;
[0050] Input multiple intercepted segments of the target time-frequency graph and the lip movement screenshots into a preset probability distribution model to obtain the channel proportion probability of the speech time-frequency graph, the bone conduction time-frequency graph, and the lip movement screenshots;
[0051] The channel proportion probabilities of the speech time-frequency diagram, bone conduction time-frequency diagram, and lip movement screenshots are spliced to obtain a probability splicing result.
[0052] The multimodal adaptive sound pickup method provided by the present invention is conducive to accurately obtaining the proportion information of each channel data of the current environmental scene by intercepting the target time-frequency diagram and analyzing and splicing the channel proportion probability of each channel data, so as to finally identify the environmental scene more accurately.
[0053] In an optional implementation, the weighted speech data, the weighted bone conduction data, and the weighted lip movement image data are input into a preset multimodal fusion model to obtain fusion output data, including:
[0054] Preprocessing the weighted speech data and the weighted bone conduction data to obtain a weighted speech time-frequency diagram and a weighted bone conduction time-frequency diagram, and resizing the weighted lip movement image data according to a preset size requirement to obtain a weighted lip movement image;
[0055] The weighted speech time-frequency diagram, the weighted bone conduction time-frequency diagram, and the weighted lip movement image are spliced to obtain a multi-dimensional vector;
[0056] The multidimensional vectors are fused using a preset multimodal fusion model to obtain fused output data. When the weight coefficients of the weighted speech data and the weighted bone conduction data are 0, the fused output data is text. When the weight coefficient of the weighted lip movement image data is 0, the fused output data is speech.
[0057] The multimodal adaptive sound pickup method provided by the present invention utilizes voice data, bone conduction data, lip movement image data and corresponding weight coefficients for fusion calculation, so that the final fusion output data is clearer and more accurate, and the weights of the bone-air-light modalities are adaptively adjusted according to the actual environment, and it automatically switches to the most suitable text or audio output mode, so as to always maintain high-quality output of interactive data.
[0058] In a second aspect, the present invention provides a multi-modal adaptive sound pickup system, the system comprising:
[0059] The multimodal sound pickup module is used to obtain and pre-process the voice data, noise data, bone conduction data and lip movement image data to obtain the voice time-frequency diagram, noise time-frequency diagram, bone conduction time-frequency diagram and lip movement cropping diagram;
[0060] An environment recognition module, used to determine the weight coefficients of speech data, bone conduction data and lip movement image data according to the speech time-frequency graph, noise time-frequency graph, bone conduction time-frequency graph and lip movement cropping graph and the environment scene recognition model;
[0061] A data weighting module, used for performing weighted processing on the voice data, bone conduction data and lip movement image data according to corresponding weight coefficients to obtain weighted voice data, weighted bone conduction data and weighted lip movement image data;
[0062] The multimodal fusion module is used to input weighted speech data, weighted bone conduction data, and weighted lip movement image data into a preset multimodal fusion model to obtain fused output data.
[0063] In a third aspect, the present invention provides a headset, comprising: an air conduction microphone group, a bone conduction microphone, an image sensor, an earmuff, and a microphone rod, wherein:
[0064] An air conduction microphone group, comprising a plurality of air conduction microphones, which are respectively distributed at the front end of the microphone rod, a first preset position of the earmuff close to the cheek side, and a surface of the earmuff away from the cheek side, for capturing the user's voice data and noise data;
[0065] A bone conduction microphone is located at a second preset position of the earmuff near the cheek side, and is used to collect bone conduction data, which is a vibration signal conducted by the bones of the user during speech;
[0066] The image sensor is located at the front end of the microphone and is used to capture the lip movement image data of the user's mouth in real time;
[0067] A processor is used to determine the operating mode of the headset according to an external mode instruction, and the operating modes include a manual mode and an automatic mode. In the manual mode, weights are assigned to voice data, bone conduction data, and lip movement image data according to preset weights. In the automatic mode, the method of the first aspect or any corresponding embodiment thereof is executed.
[0068] The earphones provided by the present invention can automatically identify environmental scenes and provide the best channel data fusion solution, thereby providing the most accurate output results without manual intervention, greatly improving the user experience and the intelligence level of the earphones.
[0069] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to cause a computer to execute the method of the first aspect or any corresponding embodiment thereof.
[0070] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0072] Figure 1 is a flow chart of a multi-modal adaptive sound pickup method according to an embodiment of the present invention;
[0073] Figure 2 is a schematic structural diagram of a preset environment recognition model in a multimodal adaptive sound pickup method according to an embodiment of the present invention;
[0074] Figure 3 is a flow chart of another multi-modal adaptive sound pickup method according to an embodiment of the present invention;
[0075] Figure 4 is a structural schematic diagram of a preset probability allocation model in a multimodal adaptive sound pickup method according to an embodiment of the present invention;
[0076] Figure 5 is a schematic structural diagram of a preset multimodal fusion model in a multimodal adaptive sound pickup method according to an embodiment of the present invention;
[0077] Figure 6 is a structural block diagram of a multi-modal adaptive sound pickup system according to an embodiment of the present invention;
[0078] Figure 7 is a schematic structural diagram of an earphone according to an embodiment of the present invention;
[0079] Figure 8 It is a flowchart of mode selection and sound pickup process in the multi-modal adaptive sound pickup method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0080] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0081] The embodiment of the present invention provides a multi-modal adaptive sound pickup method, which recognizes the current environment through an environment recognition model and adaptively adjusts the weight of each channel data to achieve the effect of accurate sound pickup in different environmental scenes.
[0082] According to an embodiment of the present invention, an embodiment of a multimodal adaptive sound pickup method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0083] In this embodiment, a multi-modal adaptive sound pickup method is provided, which can be used in the above-mentioned computer system. Figure 1 is a flow chart of a multi-modal adaptive sound pickup method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0084] Step S101, acquiring speech data, noise data, bone conduction data and lip movement image data and preprocessing them to obtain speech time-frequency diagram, noise time-frequency diagram, bone conduction time-frequency diagram and lip movement cropping diagram.
[0085] Specifically, the multimodal adaptive sound pickup method provided in this embodiment is mainly applied to headphones, and data is acquired by using a multimodal sound pickup module. The multimodal sound pickup module includes an air conduction microphone group, a bone conduction microphone, and an image sensor. The data acquisition process includes: using the air conduction microphone group to capture the user's voice data and the sound field information of the surrounding environment (that is, noise data); using the bone conduction microphone to collect the bone vibration signal of the user when speaking (that is, bone conduction data); using the image sensor to capture the lip movement image data of the user's mouth movement in real time.
[0086] In the embodiment of the present invention, the original signals of speech data, noise data, and bone conduction data are first windowed using a Hamming window, and then short-time Fourier transform is performed to obtain corresponding speech time-frequency graphs, noise time-frequency graphs, and bone conduction time-frequency graphs. The image signal of the lip movement image data is cropped according to a preset size requirement to obtain a lip movement cropped image.
[0087] Step S102, determining weight coefficients of speech data, bone conduction data and lip movement image data according to the speech time-frequency diagram, noise time-frequency diagram, bone conduction time-frequency diagram and lip movement cropping diagram and the environmental scene recognition model.
[0088] Specifically, the environmental scene recognition model predicts and identifies the specific environment and scenario type in which the user is currently located, and combines the automatic operation mode of the headset to automatically generate weight coefficients for voice data, bone conduction data, and lip movement image data in real time, that is, the optimal weight allocation parameters for the bone-air-light trimodal signal input. The sum of the weight coefficients of each channel data is 1.
[0089] Step S103, performing weighted processing on the voice data, bone conduction data and lip movement image data according to corresponding weight coefficients to obtain weighted voice data, weighted bone conduction data and weighted lip movement image data.
[0090] Specifically, the voice data, bone conduction data, lip image data and corresponding weight coefficients are multiplied to obtain weighted voice data, weighted bone conduction data and weighted lip image data. For example, the weight coefficient of voice data is 0.2, the weight coefficient of bone conduction data is 0.8, and the weight coefficient of lip image data is 0. Then the weighted voice data is 0.2*voice data, the weighted bone conduction data is 0.8*bone conduction data, and the weighted lip image data is 0. This is only an example, but not limited to this.
[0091] Step S104, inputting the weighted speech data, weighted bone conduction data, and weighted lip movement image data into a preset multimodal fusion model to obtain fusion output data.
[0092] Specifically, the weighted voice data, weighted bone conduction data, and weighted lip movement image data are directly spliced to form a data sample, which is input into a preset multimodal fusion model in the form of a data sample for fusion to obtain fusion output data, which is in the form of voice or text. It should be noted that the multimodal sound pickup process is mainly to clearly and completely output the audio signal collected by the device used to execute the method (such as headphones, for example only, but not limited to this) or the content that the user wants to express through lip movement when it is used as a microphone.
[0093] The multimodal adaptive sound pickup method provided in this embodiment adaptively identifies the surrounding environment scene, assigns weight coefficients to different channel data according to the surrounding environment scene, and uses the weight coefficients to fuse multiple channel data to obtain the final output data. It can achieve excellent audio capture performance in various complex environmental conditions from extremely quiet to noisy and high-noise environments, and meet users' needs for high-quality sound pickup in different scenarios.
[0094] In some optional embodiments, the method further comprises:
[0095] Step S105, inputting the noise time-frequency diagram into a preset environment recognition model to obtain the noise value of the current environment.
[0096] Specifically, the noise time-frequency diagram can be obtained by windowing the noise data using a Hamming window and then performing a short-time Fourier transform, which is only an example but not limited to this. The noise time-frequency diagram is input into a preset environment recognition model (such as Figure 2 As shown, inference prediction is performed in ) to obtain the noise value of the current environment.
[0097] According to the voice signal and environmental signal collected by the air conduction microphone, the environmental noise condition of the user is predicted and identified in real time, and the parameters of the preset active noise reduction model are dynamically adjusted. Then, the noise time-frequency graph and the preset active noise reduction model with adjusted parameters are used to achieve the active noise reduction effect. It should be noted that active noise reduction is when the device used to execute the method (such as headphones, for example only, but not limited to this) is used as a speaker, it actively reduces the noise in the surrounding environment so that the user can clearly hear the sound emitted by the speaker.
[0098] Step S106, using a preset active noise reduction model according to the noise value, adjusting the channel parameters of the speech data and the noise data, and performing active noise reduction on the fused output data.
[0099] Specifically, the preset active noise reduction model adjusts the weight coefficient allocation of voice data and noise data, the reverse wave energy output by the preset active noise reduction model, and the filter coefficient according to the noise value obtained in real time. The sensitivity of active noise reduction can be customized by changing the interval time of adjusting the channel parameters (for example, 50ms, for example only, but not limited to this), ensuring that the headset can change the degree of active noise reduction appropriately and timely to achieve the best noise suppression effect.
[0100] The multimodal adaptive sound pickup method provided in this embodiment predicts and identifies the noise conditions of the current environment in real time, dynamically adjusts the active noise reduction parameters, and appropriately changes the degree of active noise reduction in different scenarios to achieve the best noise suppression effect.
[0101] In this embodiment, a multi-modal adaptive sound pickup method is provided, which can be used in the above-mentioned computer system. Figure 3 is a flow chart of a multi-modal adaptive sound pickup method according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0102] Step S201, obtain speech data, noise data, bone conduction data and lip movement image data and pre-process them to obtain speech time-frequency diagram, noise time-frequency diagram, bone conduction time-frequency diagram and lip movement cropping diagram. For details, please refer to Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.
[0103] Step S202, determining weight coefficients of speech data, bone conduction data and lip movement image data according to the speech time-frequency diagram, noise time-frequency diagram, bone conduction time-frequency diagram and lip movement cropping diagram and the environmental scene recognition model.
[0104] Specifically, the environmental scene recognition model includes: a preset time domain distribution model, a preset frequency domain distribution model, a preset energy distribution model, and a preset probability distribution model. The four models are processed synchronously and in parallel. The above step S202 includes:
[0105] Step S2021, using a preset time domain distribution model to process the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram to obtain the average amplitude splicing results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram.
[0106] In some optional implementations, the above step S2021 includes:
[0107] Step a1, intercepting the target time-frequency graph at preset time intervals to obtain multiple intercepted segments of the target time-frequency graph, wherein the target time-frequency graph includes a speech time-frequency graph, a noise time-frequency graph, and a bone conduction time-frequency graph.
[0108] Specifically, the preset time interval may be n milliseconds (the value range of n is [1,100], preferably n=10, which is only taken as an example but not limited thereto), and the data is intercepted once every n milliseconds, and multiple interceptions are accumulated.
[0109] Step a2: selecting a preset number of continuous intercepted segments from the plurality of intercepted segments, and determining a plurality of signal amplitudes of the preset number of continuous intercepted segments.
[0110] Specifically, a preset number (eg, 5, for example only, but not limited thereto) of continuous clipped segments are selected from the plurality of clipped segments, and the signal amplitudes of the corresponding clipped segments are determined.
[0111] Step a3, calculating the average value of multiple signal amplitudes as the average amplitude of the target time-frequency graph.
[0112] Specifically, the calculation formula is:
[0113]
[0114] in, A represents the average amplitude of the five intercepted segments in the i-th signal. mpi,j Indicates the signal amplitude of the jth intercepted segment of the i-th signal.
[0115] Step a4, concatenating the average amplitudes of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram to obtain an average amplitude concatenation result.
[0116] Specifically, the average signal amplitudes of each channel are spliced together as the output of the preset time domain model, and the formula is expressed as:
[0117] The multimodal adaptive sound pickup method provided in this embodiment is conducive to accurately obtaining the audio amplitude information of the current environmental scene by intercepting the target time-frequency diagram and analyzing the splicing signal amplitude, and ultimately identifying the environmental scene more accurately.
[0118] Step S2022, using a preset frequency domain distribution model to process the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram to obtain frequency domain splicing results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram.
[0119] In some optional implementations, the above step S2022 includes:
[0120] Step b1, intercepting the target time-frequency graph at preset time intervals to obtain multiple intercepted segments of the target time-frequency graph, wherein the target time-frequency graph includes a speech time-frequency graph, a noise time-frequency graph, and a bone conduction time-frequency graph.
[0121] Specifically, the preset time interval may be n milliseconds (n has a value range of [1,100], preferably n=50, for example only, but not limited thereto), and the image is intercepted every n milliseconds, and multiple interceptions are accumulated. It should be noted that, in the process of determining the weight coefficients of the speech data, bone conduction data, and lip movement image data each time according to the speech time-frequency graph, noise time-frequency graph, bone conduction time-frequency graph, lip movement cropping graph, and environmental scene recognition model, the preset time domain distribution model, the preset frequency domain distribution model, the preset energy distribution model, and the preset probability distribution model may intercept the target time-frequency graph at different preset time intervals, but the time of a complete cycle is the same, for example, the time domain model is 10ms*5 times=50ms, the frequency domain model is also 50ms, and finally outputted in 50ms, for example only, but not limited thereto.
[0122] Step b2, transforming the clipped segments to obtain a frequency domain distribution diagram corresponding to each clipped segment.
[0123] Specifically, the fast Fourier transform is used to obtain the corresponding frequency domain distribution diagram for the intercepted segment, which is only taken as an example but not limited to this.
[0124] Step b3, classify and count the frequency domain distribution graphs corresponding to each intercepted segment according to the preset interval distribution to obtain the frequency result of the target time domain graph.
[0125] Specifically, the frequency domain distribution diagram corresponding to each intercepted segment is counted according to 0-500 Hz, 500 Hz-1 KHz, 1 KHz-2 KHz, 2 KHz-4 KHz, 4 KHz-16 KHz, and 16 KHz-∞, and the proportion p of each distribution is counted. i,j , where i represents the i-th channel signal, j represents the j-th frequency domain interval, and the proportion of each channel signal in each frequency domain interval is used as the frequency result of the target time domain image.
[0126] Step b4, splicing the frequency results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram to obtain a frequency domain splicing result.
[0127] Specifically, the frequency results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are spliced as the output result of the preset frequency domain distribution model, that is, the frequency domain splicing result, which is expressed as follows:
[0128] f frequency (p 1,1 ,p 1,2 ,..p 2,1 ,p 2,2 ,...,p 3,1 ,p 3,2 ,...).
[0129] The multimodal adaptive sound pickup method provided in this embodiment is conducive to accurately obtaining the audio frequency information of the current environment scene by intercepting the target time-frequency diagram and analyzing and splicing the frequency of each channel data, and ultimately identifying the environment scene more accurately.
[0130] Step S2023, using a preset energy distribution model to process the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram to obtain energy splicing results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram.
[0131] In some optional implementations, the above step S2023 includes:
[0132] Step c1, intercepting the target time-frequency diagram at preset time intervals to obtain multiple intercepted segments of the target time-frequency diagram, wherein the target time-frequency diagram includes a speech time-frequency diagram, a noise time-frequency diagram, and a bone conduction time-frequency diagram.
[0133] Specifically, the preset time interval may be n milliseconds (the value range of n is [1,100], preferably n=50, for example only, but not limited thereto), and the image is intercepted every n milliseconds, and multiple interceptions are accumulated, and one intercepted segment is regarded as an energy interval.
[0134] Step c2, calculating the short-time energy of each intercepted segment, and comparing the short-time energy of each intercepted segment with the corresponding preset energy threshold, to determine the number of intercepted segments whose short-time energy is greater than the corresponding preset energy threshold.
[0135] Specifically, short-time energy is used to describe the intensity of a signal in a short time, and its calculation can be achieved by summing the squares of the speech signal of each frame, which is only used as an example, but not limited to this. The specific calculation method can adopt any method in the existing method, which will not be repeated here. The preset energy threshold can be determined by experience, and it should be noted that the preset energy threshold of each target time-frequency graph is different.
[0136] Step c3, calculating the ratio of the number of intercepted segments whose short-time energy in the target time-frequency graph is greater than the corresponding preset energy threshold to the total number of intercepted segments as the energy result of the target time-frequency graph.
[0137] Specifically, the proportion of time in which the short-time energy in the target time-frequency graph is greater than the corresponding preset energy threshold can be determined by calculating the ratio of the number of intercepted segments greater than the preset energy threshold to the total number of intercepted segments, which is used as the energy result of the target time-frequency graph.
[0138] Step c4, splicing the energy results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram to obtain an energy splicing result.
[0139] Specifically, the energy results of the speech time-frequency graph, the noise time-frequency graph, and the bone conduction time-frequency graph are spliced to obtain the energy splicing result, which is expressed as follows:
[0140] f energy (E 1,1 ,E 1,2 ,..E 2,1 ,E 2,2 ,...,E 3,1 ,E 3,2 ,...)
[0141] Among them, E i,j It represents the proportion of time in a certain energy interval, where i represents the i-th channel signal and j represents the j-th energy interval.
[0142] The multimodal adaptive sound pickup method provided in this embodiment is conducive to accurately obtaining the audio energy information of the current environmental scene by intercepting the target time-frequency diagram and analyzing and splicing the energy of each channel data, and ultimately identifying the environmental scene more accurately.
[0143] Step S2024, using a preset probability distribution model to process the speech time-frequency diagram, the noise time-frequency diagram, the bone conduction time-frequency diagram and the lip movement cropping diagram to obtain a probability splicing result of the speech time-frequency diagram, the noise time-frequency diagram, the bone conduction time-frequency diagram and the lip movement cropping diagram.
[0144] Specifically, step S2021, step S2022, step S2023, and step S2024 are processed synchronously and in parallel.
[0145] In some optional implementations, the above step S2024 includes:
[0146] Step d1, intercepting the target time-frequency diagram at preset time intervals to obtain multiple intercepted segments of the target time-frequency diagram, wherein the target time-frequency diagram includes a speech time-frequency diagram, a noise time-frequency diagram, and a bone conduction time-frequency diagram.
[0147] Specifically, the preset time interval may be n milliseconds (the value range of n is [1,100], preferably n=50, which is only taken as an example but not limited thereto), and the data is intercepted once every n milliseconds, and multiple interceptions are accumulated.
[0148] Step d2, intercepting, scaling and grayscale conversion of the lip movement cropped image at preset time intervals to obtain a lip movement screenshot with the same resolution as the target time-frequency image.
[0149] Specifically, the preset time interval may be n milliseconds (the value range of n is [1,100], preferably n=50, which is only used as an example, but not limited thereto), and the image is intercepted every n milliseconds, and multiple interceptions are accumulated. The lip movement cropped image is intercepted, scaled, and gray-scaled to obtain a lip movement screenshot with the same resolution as the target time-frequency image, which is conducive to the fusion calculation of the target time-frequency image and the lip movement screenshot.
[0150] Step d3, input multiple clips of the target time-frequency graph and the lip movement screenshots into a preset probability distribution model to obtain the channel share probability of the speech time-frequency graph, the bone conduction time-frequency graph, and the lip movement screenshots.
[0151] Specifically, the speech time-frequency graph, the noise time-frequency graph, the bone conduction time-frequency graph, and the lip movement screenshot are input into the preset probability distribution model for inference calculation. The structure of the preset probability distribution model is as follows: Figure 4 As shown, the channel proportion probabilities p1, p2, and p3 of the speech time-frequency diagram, bone conduction time-frequency diagram, and lip movement screenshot are obtained, and the value range of each channel proportion probability is between 0 and 1.
[0152] Step d4, splicing the channel proportion probabilities of the speech time-frequency diagram, the bone conduction time-frequency diagram, and the lip movement screenshot to obtain a probability splicing result.
[0153] Specifically, the channel proportion probability p1 of the speech time-frequency graph, the channel proportion probability p2 of the bone conduction time-frequency graph, and the channel proportion probability p3 of the lip movement screenshot are directly spliced to obtain the probability splicing result f model (p1,p2,p3).
[0154] The multimodal adaptive sound pickup method provided in this embodiment is conducive to accurately obtaining the proportion information of each channel data in the current environment scene by intercepting the target time-frequency diagram and analyzing and splicing the channel proportion probability of each channel data, and finally identifying the environment scene more accurately.
[0155] Step S2025, input the average amplitude splicing result, frequency splicing result, energy splicing result, and probability splicing result into a preset scene recognition model, and output the weight coefficients of the voice data, bone conduction data, and lip movement image data.
[0156] Specifically, the preset scene recognition model is:
[0157] f(x)=αf time +βf frequency +γf energy +δf model
[0158] Among them, α, β, γ and δ are the coefficients of the average amplitude splicing result, frequency splicing result, energy splicing result and probability splicing result respectively, which have been trained in advance using sample data. α, β, γ and δ are all multi-order determinants, but their forms are different. For example, the form of α can be The form of γ can be d1 d2 d3|, which is only used as an example, but is not limited to this. The form of each coefficient is related to the form of the corresponding multiplication result. The data obtained by multiplying the coefficient with the corresponding splicing result is a first-order determinant containing three data. Finally, f(x) is output as three numbers, which are used as weight coefficients of voice data, bone conduction data and lip movement image data. The value range of each weight coefficient is between 0 and 1.
[0159] The multimodal adaptive sound pickup method provided in this embodiment analyzes the characteristics of sound and image data from multiple angles through an environmental scene recognition model to determine the surrounding environment scene, and assigns weight coefficients to different channel data according to the surrounding environment scene, so that the final fused output data is clearer and more accurate.
[0160] In some optional implementations, the process of constructing the preset scene recognition model includes:
[0161] Step e1, obtaining voice data, noise data, bone conduction data and lip movement image data under multiple preset standard environments.
[0162] Specifically, the preset standard environment can be an impact sound wave environment. According to experience, when the weight coefficients of voice data, noise data, bone conduction data, and lip movement image data are (0.2, 0.8, 0) respectively, the final output sound is clearest and most accurate. The standard environment can also be any other environment as an environment sample for collecting sample data.
[0163] Step e2, measuring the accuracy of the fused output data obtained by combining the speech data, bone conduction data and lip movement image data with different weight coefficients.
[0164] Specifically, different weight coefficients are assigned to voice data, bone conduction data and lip movement image data, and the accuracy of the fused output data is measured respectively. If the fused output data is voice data, a judgment is made based on the various voice features of the voice data, and the specific judgment process is not repeated here; if the fused output data is text data, a judgment is made based on whether the content of the text data is the same as the actual lip movement content of the user.
[0165] Step e3, determining the optimal weight coefficients corresponding to the voice data, bone conduction data and lip movement image data according to the accuracy.
[0166] Specifically, the weight coefficients of the voice data, bone conduction data, and lip movement image data when the accuracy is the highest are used as the corresponding optimal weight coefficients.
[0167] Step e4, based on the speech data, noise data, bone conduction data and lip movement image data under a preset standard environment, use the environmental scene recognition model to obtain the average amplitude splicing result, frequency splicing result, energy splicing result and probability splicing result.
[0168] Specifically, the speech data, noise data, bone conduction data and lip movement image data under the preset standard environment are input into the preset time domain distribution model to obtain the average amplitude splicing result; the speech data, noise data, bone conduction data and lip movement image data under the preset standard environment are input into the preset frequency domain distribution model to obtain the frequency splicing result; the speech data, noise data, bone conduction data and lip movement image data under the preset standard environment are input into the preset energy distribution model to obtain the energy splicing result; the speech data, noise data, bone conduction data and lip movement image data under the preset standard environment are input into the preset probability distribution model to obtain the probability splicing result.
[0169] Step e5, using the optimal weight coefficients, average amplitude splicing results, frequency splicing results, energy splicing results, and probability splicing results corresponding to the speech data, bone conduction data, and lip movement image data under multiple preset standard environments as training samples and inputting the preset recognition formula to obtain the corresponding coefficients of the average amplitude splicing results, frequency splicing results, energy splicing results, and probability splicing results.
[0170] Specifically, for the preset identification formula f(x)=αf time +βf frequency +γf energy +δf model , the optimal weight coefficient f(x) and the average amplitude splicing result f corresponding to the voice data, bone conduction data and lip movement image data under multiple preset standard environments time , frequency splicing result f frequency , energy splicing result f energy , probability splicing result f model , are all known quantities, α, β, γ and δ are unknown quantities. By inputting multiple groups of known quantities into the above formula, we can get the unknown quantities, that is, the corresponding coefficients of the average amplitude splicing result, frequency splicing result, energy splicing result and probability splicing result.
[0171] Step e6, using a preset recognition formula having corresponding coefficients of the average amplitude splicing result, the frequency splicing result, the energy splicing result, and the probability splicing result as a preset scene recognition model.
[0172] The multimodal adaptive sound pickup method provided in this embodiment selects multiple standard environments and actually measures the optimal weight coefficients of each channel data under the standard environments, and uses the channel data under the multiple standard environments and the corresponding optimal weight coefficients to obtain a preset scene recognition model. When actually picking up sound, it is beneficial to use the preset scene recognition model to obtain accurate and clear fusion output data.
[0173] Step S203, performing weighted processing on the voice data, bone conduction data and lip movement image data according to corresponding weight coefficients to obtain weighted voice data, weighted bone conduction data and weighted lip movement image data.
[0174] Specifically, the above step S203 includes:
[0175] Step S2031, preprocessing the weighted speech data and weighted bone conduction data to obtain weighted speech time-frequency diagram and weighted bone conduction time-frequency diagram, and resizing the weighted lip movement image data according to a preset size requirement to obtain a weighted lip movement image.
[0176] Specifically, the weighted speech data and weighted bone conduction data are framed and intercepted using a Hamming window, and then converted into weighted speech time-frequency diagrams and weighted bone conduction time-frequency diagrams using a short-time Fourier transform. When the weighted lip movement image data is resized, the preset size requirement is the model input size requirement.
[0177] Step S2032, concatenating the weighted speech time-frequency diagram, the weighted bone conduction time-frequency diagram, and the weighted lip movement image to obtain a multi-dimensional vector.
[0178] Step S2033, the multidimensional vector is fused using a preset multimodal fusion model to obtain fused output data. When the weight coefficients of the weighted speech data and the weighted bone conduction data are 0, the fused output data is text. When the weight coefficient of the weighted lip movement image data is 0, the fused output data is speech.
[0179] Specifically, Figure 5 As shown, the multi-dimensional vector is input into the preset multimodal fusion model for inference calculation to obtain an accurate speech-to-text translation result or a high-quality audio output signal.
[0180] Specifically, in a very quiet environment, when the user speaks very quietly and the collected data is only lip movement image data but no sound data, it is most direct to convert the lip movement image data into text based on image recognition; similarly, in an ordinary or noisy environment, both voice data and bone conduction data can be effectively transmitted. At this time, lip movement image data can be omitted and the voice data set and bone conduction data can be directly fused to accurately output the sound. Depending on the output method, text and sound can be converted to each other, and the specific conversion method will not be repeated here.
[0181] The multimodal adaptive sound pickup method provided in this embodiment uses voice data, bone conduction data, lip movement image data and corresponding weight coefficients for fusion calculation, so that the final fusion output data is clearer and more accurate, and adaptively adjusts the weights of the bone-air-light modalities according to the actual environment, automatically switches to the most suitable text or audio output mode, and always maintains high-quality output of interactive data.
[0182] Step S204, inputting the weighted speech data, weighted bone conduction data, and weighted lip movement image data into a preset multimodal fusion model to obtain fusion output data.
[0183] In this embodiment, a multi-modal adaptive sound pickup system is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the system described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0184] This embodiment provides a multi-modal adaptive sound pickup system. Figure 6 As shown, including:
[0185] The multimodal sound pickup module 601 is used to obtain and pre-process speech data, noise data, bone conduction data and lip movement image data to obtain speech time-frequency diagrams, noise time-frequency diagrams, bone conduction time-frequency diagrams and lip movement cropping diagrams.
[0186] The environment recognition module 602 is used to determine the weight coefficients of the speech data, the bone conduction data and the lip movement image data according to the speech time-frequency diagram, the noise time-frequency diagram, the bone conduction time-frequency diagram and the lip movement cropping diagram and the environment scene recognition model.
[0187] The data weighting module 603 is used to perform weighted processing on the voice data, bone conduction data and lip movement image data according to corresponding weight coefficients to obtain weighted voice data, weighted bone conduction data and weighted lip movement image data.
[0188] The multimodal fusion module 604 is used to input the weighted speech data, the weighted bone conduction data, and the weighted lip movement image data into a preset multimodal fusion model to obtain fusion output data.
[0189] In some optional implementations, the environment identification module 602 includes:
[0190] The amplitude calculation unit is used to process the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram using a preset time-domain distribution model to obtain the average amplitude splicing results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram.
[0191] The frequency domain calculation unit is used to process the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram using a preset frequency domain distribution model to obtain frequency domain splicing results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram.
[0192] The energy calculation unit is used to process the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram using a preset energy distribution model to obtain energy splicing results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram.
[0193] The probability calculation unit is used to process the speech time-frequency diagram, the noise time-frequency diagram, the bone conduction time-frequency diagram and the lip movement cut diagram using a preset probability distribution model to obtain the probability splicing results of the speech time-frequency diagram, the noise time-frequency diagram, the bone conduction time-frequency diagram and the lip movement cut diagram.
[0194] The splicing and fusion unit is used to input the average amplitude splicing results, frequency splicing results, energy splicing results, and probability splicing results into a preset scene recognition model, and output weight coefficients of voice data, bone conduction data, and lip movement image data.
[0195] In some optional implementations, the multimodal fusion module 604 includes:
[0196] The data conversion unit is used to pre-process the weighted speech data and the weighted bone conduction data to obtain the weighted speech time-frequency diagram and the weighted bone conduction time-frequency diagram, and to transform the weighted lip movement image data according to the preset size requirement to obtain the weighted lip movement image.
[0197] The data splicing unit is used to splice the weighted speech time-frequency diagram, the weighted bone conduction time-frequency diagram, and the weighted lip movement image to obtain a multi-dimensional vector.
[0198] The vector fusion unit is used to fuse the multi-dimensional vectors using a preset multi-modal fusion model to obtain fused output data.
[0199] The output form judgment unit is used to determine that when the weight coefficient of the weighted speech data and the weighted bone conduction data is 0, the fused output data is text; when the weight coefficient of the weighted lip movement image data is 0, the fused output data is speech.
[0200] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0201] The multimodal adaptive sound pickup system in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0202] The embodiment of the present invention further provides a headset, such as Figure 7 As shown, the headset includes: an air conduction microphone group 11, a bone conduction microphone 12, an image sensor 13, an earmuff 14, and a microphone rod 15.
[0203] like Figure 7 As shown, the air conduction microphone group 11 includes multiple air conduction microphones, which are respectively distributed at the front end of the microphone rod 15, the first preset position of the earmuff 14 close to the cheek side, and the surface of the earmuff away from the cheek side, for capturing the user's voice data and noise data.
[0204] like Figure 7 As shown, the bone conduction microphone 12 is located at a second preset position of the earmuff 14 close to the cheek side, and is used to collect bone conduction data, which is a vibration signal conducted by the bones of the user during speech.
[0205] like Figure 7 As shown, the image sensor 13 is located at the front end of the microphone 15 and is used to capture the lip movement image data of the user's mouth in real time.
[0206] like Figure 7 As shown, the processor determines the operating mode of the earphone according to an external mode instruction. The operating modes include a manual mode and an automatic mode. In the manual mode, weights are assigned to the voice data, bone conduction data and lip movement image data according to preset weights. In the automatic mode, the multimodal adaptive sound pickup method in the above embodiment is executed.
[0207] Specifically, Figure 8 As shown, the operation mode of the headset is determined according to the mode instruction of the headset central controller. The operation modes of the headset include manual operation mode and automatic operation mode. In the manual operation mode, the single mode mode, the mixed mode mode and the multi-mode mode can be selected through the physical function buttons. In the single mode mode, the user is allowed to specify any channel signal (voice data, bone conduction data, lip movement image data) as the final output content of the headset, that is, the weight of the channel signal is 1, and the weights of the remaining channel signals are 0; the mixed mode mode allows the user to select two channel signals for fusion processing and generate the final output content of the headset, the sum of the weights of the selected two channel signals is 1, and the weights of the remaining channel signals are 0; in the multi-modal mode, the first channel signal (voice data), the third channel signal (bone conduction data) and the fourth channel signal (lip movement image data) are integrated, and the weight coefficients of the three channels are selected according to the preset configuration, and then the channel signals are weighted and fused according to the corresponding weight coefficients to form the final output content of the headset. In automatic operation mode, the output intensity of each channel is automatically adjusted based on intelligent analysis of the user's current environment and scene, and the optimal modal combination of the headphones is determined and output, achieving intelligent adaptive adjustment.
[0208] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0209] The headset further comprises a communication interface 30 for the headset to communicate with other devices or a communication network.
[0210] The earphones provided by the present invention can automatically identify environmental scenes and provide the best channel data fusion solution, thereby providing the most accurate output results without manual intervention, greatly improving the user experience and the intelligence level of the earphones.
[0211] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0212] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0213] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A multi-modal adaptive sound pickup method, characterized in that: The method comprises: Acquire speech data, noise data, bone conduction data and lip movement image data and perform preprocessing to obtain speech time-frequency graph, noise time-frequency graph, bone conduction time-frequency graph and lip movement cropping graph; Determine the weight coefficients of the speech data, bone conduction data and lip movement image data according to the speech time-frequency graph, noise time-frequency graph, bone conduction time-frequency graph and lip movement cropping graph and the environmental scene recognition model; Performing weighted processing on the voice data, bone conduction data and lip movement image data according to corresponding weight coefficients to obtain weighted voice data, weighted bone conduction data and weighted lip movement image data; The weighted speech data, weighted bone conduction data, and weighted lip movement image data are input into a preset multimodal fusion model to obtain fusion output data.
2. The method according to claim 1, characterized in that The method further comprises: Inputting the noise time-frequency graph into a preset environment recognition model to obtain the noise value of the current environment; According to the noise value, a preset active noise reduction model is used to adjust the channel parameters of the voice data and the noise data, and active noise reduction is performed on the fused output data.
3. The method according to claim 1, characterized in that The environmental scene recognition model includes: a preset time domain distribution model, a preset frequency domain distribution model, a preset energy distribution model, and a preset probability distribution model. The weight coefficients of the voice data, the bone conduction data, and the lip movement image data are determined according to the speech time-frequency graph, the noise time-frequency graph, the bone conduction time-frequency graph, the lip movement cutout graph, and the environmental scene recognition model, including: The speech time-frequency graph, the noise time-frequency graph, and the bone conduction time-frequency graph are processed by using a preset time-domain distribution model to obtain average amplitude splicing results of the speech time-frequency graph, the noise time-frequency graph, and the bone conduction time-frequency graph; The speech time-frequency graph, the noise time-frequency graph, and the bone conduction time-frequency graph are processed using a preset frequency domain distribution model to obtain frequency domain splicing results of the speech time-frequency graph, the noise time-frequency graph, and the bone conduction time-frequency graph; The speech time-frequency graph, the noise time-frequency graph, and the bone conduction time-frequency graph are processed by using a preset energy distribution model to obtain energy splicing results of the speech time-frequency graph, the noise time-frequency graph, and the bone conduction time-frequency graph; The speech time-frequency graph, the noise time-frequency graph, the bone conduction time-frequency graph and the lip movement cut-out graph are processed by using a preset probability distribution model to obtain a probability splicing result of the speech time-frequency graph, the noise time-frequency graph, the bone conduction time-frequency graph and the lip movement cut-out graph; The average amplitude splicing result, frequency splicing result, energy splicing result and probability splicing result are input into a preset scene recognition model, and the weight coefficients of the speech data, bone conduction data and lip movement image data are output.
4. The method according to claim 3, characterized in that The process of constructing the preset scene recognition model includes: Acquire voice data, noise data, bone conduction data and lip movement image data under multiple preset standard environments; Measure the accuracy of the fused output data obtained by using different weight coefficients for speech data, bone conduction data, and lip movement image data; Determining optimal weight coefficients corresponding to the voice data, bone conduction data, and lip movement image data according to the accuracy; According to the speech data, noise data, bone conduction data and lip movement image data in the preset standard environment, an environment scene recognition model is used to obtain an average amplitude splicing result, a frequency splicing result, an energy splicing result and a probability splicing result; The optimal weight coefficients, average amplitude splicing results, frequency splicing results, energy splicing results, and probability splicing results corresponding to the voice data, bone conduction data, and lip movement image data under multiple preset standard environments are used as training samples and input into a preset recognition formula to obtain corresponding coefficients of the average amplitude splicing results, frequency splicing results, energy splicing results, and probability splicing results; A preset recognition formula having corresponding coefficients of an average amplitude splicing result, a frequency splicing result, an energy splicing result, and a probability splicing result is used as a preset scene recognition model.
5. The method according to claim 3, characterized in that: The speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are processed by using a preset time-domain distribution model to obtain average amplitude splicing results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram, including: The target time-frequency graph is intercepted at preset time intervals to obtain a plurality of intercepted segments of the target time-frequency graph, wherein the target time-frequency graph includes the speech time-frequency graph, the noise time-frequency graph, and the bone conduction time-frequency graph; Selecting a preset number of consecutive intercepted segments from the plurality of intercepted segments, and determining a plurality of signal amplitudes of the preset number of consecutive intercepted segments; Calculating an average value of the multiple signal amplitudes as an average amplitude of the target time-frequency graph; The average amplitudes of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are spliced to obtain an average amplitude splicing result.
6. The method according to claim 3, characterized in that The speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are processed by using a preset frequency domain distribution model to obtain frequency domain splicing results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram, including: The target time-frequency graph is intercepted at preset time intervals to obtain a plurality of intercepted segments of the target time-frequency graph, wherein the target time-frequency graph includes the speech time-frequency graph, the noise time-frequency graph, and the bone conduction time-frequency graph; Transforming the intercepted segments to obtain frequency domain distribution diagrams corresponding to the intercepted segments; Classify and count the frequency domain distribution graphs corresponding to the intercepted segments according to the preset interval distribution to obtain the frequency result of the target time domain graph; The frequency results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are spliced to obtain a frequency domain splicing result.
7. The method according to claim 3, characterized in that The speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are processed by using a preset energy distribution model to obtain energy splicing results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram, including: The target time-frequency graph is intercepted at preset time intervals to obtain a plurality of intercepted segments of the target time-frequency graph, wherein the target time-frequency graph includes the speech time-frequency graph, the noise time-frequency graph, and the bone conduction time-frequency graph; Calculating the short-time energy of each intercepted segment, and comparing the short-time energy of each intercepted segment with a corresponding preset energy threshold, to determine the number of intercepted segments whose short-time energy is greater than the corresponding preset energy threshold; Calculate the ratio of the number of intercepted segments whose short-time energy in the target time-frequency graph is greater than the corresponding preset energy threshold to the total number of intercepted segments as the energy result of the target time-frequency graph; The energy results of the speech time-frequency diagram, the noise time-frequency diagram, and the bone conduction time-frequency diagram are spliced to obtain an energy splicing result.
8. The method according to claim 3, characterized in that The speech time-frequency graph, the noise time-frequency graph, the bone conduction time-frequency graph and the lip movement cutout graph are processed by using a preset probability distribution model to obtain a probability splicing result of the speech time-frequency graph, the noise time-frequency graph, the bone conduction time-frequency graph and the lip movement cutout graph, including: The target time-frequency graph is intercepted at preset time intervals to obtain a plurality of intercepted segments of the target time-frequency graph, wherein the target time-frequency graph includes the speech time-frequency graph, the noise time-frequency graph, and the bone conduction time-frequency graph; The lip movement cropped image is intercepted, scaled, and gray-scaled according to a preset time interval to obtain a lip movement screenshot consistent with the resolution of the target time-frequency image; Inputting the multiple intercepted segments of the target time-frequency graph and the lip movement screenshots into a preset probability distribution model to obtain the channel proportion probabilities of the speech time-frequency graph, the bone conduction time-frequency graph, and the lip movement screenshots; The channel proportion probabilities of the speech time-frequency diagram, the bone conduction time-frequency diagram, and the lip movement screenshot are spliced to obtain a probability splicing result.
9. The method according to claim 1, characterized in that: The weighted speech data, the weighted bone conduction data, and the weighted lip movement image data are input into a preset multimodal fusion model to obtain fusion output data, including: Preprocessing the weighted speech data and weighted bone conduction data to obtain weighted speech time-frequency diagram and weighted bone conduction time-frequency diagram, and resizing the weighted lip movement image data according to a preset size requirement to obtain a weighted lip movement image; The weighted speech time-frequency diagram, the weighted bone conduction time-frequency diagram, and the weighted lip movement image are spliced to obtain a multidimensional vector; The multidimensional vector is fused using a preset multimodal fusion model to obtain fused output data. When the weight coefficients of the weighted speech data and the weighted bone conduction data are 0, the fused output data is text. When the weight coefficient of the weighted lip movement image data is 0, the fused output data is speech.
10. A multi-modal adaptive sound pickup system, characterized in that: The system comprises: The multimodal sound pickup module is used to obtain and pre-process the voice data, noise data, bone conduction data and lip movement image data to obtain the voice time-frequency diagram, noise time-frequency diagram, bone conduction time-frequency diagram and lip movement cropping diagram; An environment recognition module, used to determine the weight coefficients of the speech data, bone conduction data and lip movement image data according to the speech time-frequency graph, noise time-frequency graph, bone conduction time-frequency graph and lip movement cutout graph and an environment scene recognition model; A data weighting module, used for performing weighted processing on the voice data, bone conduction data and lip movement image data according to corresponding weight coefficients to obtain weighted voice data, weighted bone conduction data and weighted lip movement image data; The multimodal fusion module is used to input the weighted speech data, weighted bone conduction data, and weighted lip movement image data into a preset multimodal fusion model to obtain fusion output data.
11. An earphone, characterized in that: The headset includes: an air conduction microphone group, a bone conduction microphone, an image sensor, an earmuff, and a microphone rod, wherein: An air conduction microphone group, comprising a plurality of air conduction microphones, which are respectively distributed at the front end of the microphone rod, a first preset position of the earmuff close to the cheek side, and a surface of the earmuff away from the cheek side, for capturing the user's voice data and noise data; A bone conduction microphone is located at a second preset position of the earmuff near the cheek side, and is used to collect bone conduction data, wherein the bone conduction data is a vibration signal conducted by the bones of the user during speech; The image sensor is located at the front end of the microphone and is used to capture the lip movement image data of the user's mouth in real time; A processor, which is used to determine the operating mode of the headset according to an external mode instruction, wherein the operating mode includes a manual mode and an automatic mode. In the manual mode, weights are assigned to voice data, bone conduction data, and lip movement image data according to preset weights. In the automatic mode, the method described in any one of claims 1 to 9 is executed.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 9.
13. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the method according to any one of claims 1 to 9.
Citation Information
Cited By
Rail transit hearing impairment voice auxiliary system based on multi-mode perception
CN120071950A
Intelligent social assistance system and method for tinnitus patient based on multi-modal fusion
CN120954436A
Voice data recognition method and system based on AI voice algorithm
CN121237092A
