Audio copy-move tampering detection and positioning method and system based on multi-feature decision fusion
Through the multi-feature decision-making fusion method, multiple features in the audio file are calculated and compared for similarity, which solves the problem of being unable to accurately locate the copy-move tampering position in the existing technology, and achieves higher detection accuracy and robustness.
Patent Information
- Application Number
- CN202111471209.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-03
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-12-03
AI Technical Summary
Existing technology cannot accurately locate the specific location of copy-move tampering in audio files, resulting in inaccurate detection.
A multi-feature decision-making fusion method is used to preprocess the audio file, obtain the sound segment and segment the bytes, calculate the pitch frequency characteristics, color autocorrelation map characteristics and short-term energy characteristics of each byte, compare the similarity, and the fusion result is Realize the detection and location of copy-move tampering.
It improves the accuracy of copy-move tampering detection, can accurately locate the tampering location, enhances robustness, and adapts to conventional signal processing attacks.
Smart Images

Figure CN114360580B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital audio technology, and in particular to an audio copy-move tampering detection and positioning method, system, storage medium and electronic device based on multi-feature decision fusion. Background Art
[0002] With the popularity of various powerful audio editing software, even ordinary users without professional knowledge can easily and arbitrarily edit digital audio files or even maliciously tamper with them, which brings great challenges to the authenticity of digital audio. Among them, copy-move tampering is to copy and paste part of the same audio section to other parts, thereby achieving semantic tampering of the audio.
[0003] For copy-move tampering detection, most of the current mainstream methods are based on voice activity detection (VAD) technology, which aims to distinguish the voiced and silent segments from complex speech signals and determine the starting position of each voiced segment. It is an important technology in the fields of speech detection, speech recognition, speech enhancement, etc. Specifically, VAD divides the audio file into several voiced segments and silent segments, and then determines whether copy-move tampering exists by calculating the similarity between all voiced segments or bytes.
[0004] Although the above detection method can detect copy-move tampering in audio files, it is often unable to accurately locate the specific location of the copy-move tampering. Obviously, there is still much room for improvement. Summary of the invention
[0005] 1. Technical issues to be solved
[0006] In view of the shortcomings of the prior art, the present invention provides an audio copy-move tampering detection and positioning method, system, storage medium and electronic device based on multi-feature decision fusion, which solves the technical problem that the prior art cannot accurately locate the specific location of the copy-move tampering.
[0007] (II) Technical solution
[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions:
[0009] An audio copy-move tampering detection and positioning method based on multi-feature decision fusion, comprising:
[0010] S1. Preprocess the audio file to be tested to obtain all the sound segments of the audio file to be tested;
[0011] S2, using an energy entropy ratio-based method to perform byte segmentation on each of the voiced segments;
[0012] S3, calculating multiple typical features of each of the bytes, and comparing the similarities of the same typical features of any two bytes, until the comparison is completed in pairs, to obtain a complete similarity comparison result; the multiple typical features at least include fundamental frequency features, color autocorrelation map features and short-time energy features;
[0013] S4. The complete similarity comparison results are integrated to complete the copy-move tampering detection and positioning of the audio file to be tested.
[0014] Preferably, the S4 specifically includes:
[0015] S41, judging the relationship between the similarity between the same typical features of any two bytes and the similarity threshold corresponding to the typical features according to a preset similarity threshold set;
[0016] S42, if the similarity of each typical feature of any two bytes is less than the corresponding similarity threshold, then the two bytes are determined to be a copy-move byte pair;
[0017] S43, for each byte in the copy-move byte pair, expand one frame before and after the beginning and the end to form two new bytes, and compare the similarity of the same typical feature of the two new bytes with the similarity threshold corresponding to the typical feature;
[0018] S44. If the similarity of each typical feature of the new two bytes is less than the corresponding similarity threshold, proceed to S43; otherwise, the position of the new two bytes is the copy-move tampering position.
[0019] Preferably, the S42 further includes:
[0020] If the similarity of each typical feature of any two of the bytes is not less than the corresponding similarity threshold, the two bytes are determined to be a non-copy-move byte pair.
[0021] Preferably, the DTW distance is used to calculate the similarity between the pitch frequency features of any two bytes.
[0022] Preferably, the cosine distance is used to calculate the similarity between the color autocorrelation map features of any two bytes.
[0023] Preferably, the short-time energy and difference are used to calculate the similarity of the short-time energies of any two bytes.
[0024] Preferably, a VAD method based on spectral entropy method is used to preprocess the audio file to be tested.
[0025] An audio copy-move tampering detection and positioning system based on multi-feature decision fusion, comprising:
[0026] A preprocessing module, used to execute S1, preprocess the audio file to be tested by using a VAD method based on spectral entropy method, and obtain all the voiced segments of the audio file to be tested;
[0027] A segmentation module, used to execute S2, and perform byte segmentation on each of the voiced segments using an energy entropy ratio-based method;
[0028] A comparison module, used to execute S3, calculate multiple typical features of each of the bytes, and compare the similarity of the same typical features of any two bytes, until the comparison is completed, and obtain a complete similarity comparison result; the multiple typical features at least include fundamental frequency features, color autocorrelation map features and short-time energy features;
[0029] The completion module is used to execute S4, integrate the complete similarity comparison results, and complete the copy-move tampering detection and positioning of the audio file to be tested.
[0030] A storage medium stores a computer program for audio copy-move tampering detection and positioning based on multi-feature decision fusion, wherein the computer program enables a computer to execute the audio copy-move tampering detection and positioning method as described above.
[0031] An electronic device, comprising:
[0032] one or more processors;
[0033] Memory; and
[0034] One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs including instructions for executing the audio copy-move tampering detection and positioning method as described above.
[0035] (III) Beneficial effects
[0036] The present invention provides an audio copy-move tampering detection and positioning method, system, storage medium and electronic device based on multi-feature decision fusion. Compared with the prior art, it has the following beneficial effects:
[0037] The present invention comprises calculating a plurality of typical features of each byte in a video to be detected, and comparing the similarity of the same typical features of any two bytes until the pairwise comparison is completed, thereby obtaining a complete similarity comparison result; the plurality of typical features at least include fundamental frequency features, color autocorrelation map features and short-time energy features, that is, the most typical features are extracted from three different domains, namely, the frequency domain, the space domain and the time domain, respectively, and the detection accuracy of a single feature can be guaranteed to a certain extent; the complete similarity comparison results are integrated to complete the copy-move tampering detection and positioning of the audio file to be detected, and the positioning accuracy can be further improved based on the multi-feature decision fusion, so as to realize the accurate positioning of the specific position of the tampering. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 A flowchart of an audio copy-move tampering detection and positioning method based on multi-feature decision fusion provided by an embodiment of the present invention;
[0040] Figure 2 A flowchart of another audio copy-move tampering detection and positioning method based on multi-feature decision fusion provided by an embodiment of the present invention;
[0041] Figure 3 A comparison chart of the absolute error values of the copy-move tampering detection and positioning method provided in an embodiment of the present invention and other three methods on 100 tampered audios;
[0042] Figure 4 A structural block diagram of an audio copy-move tampering detection and positioning system based on multi-feature decision fusion provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described. 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] The embodiments of the present application solve the technical problem that the prior art cannot accurately locate the specific location of copy-move tampering by providing an audio copy-move tampering detection and positioning method, system, storage medium and electronic device based on multi-feature decision fusion.
[0045] The technical solution in the embodiment of the present application is to solve the above technical problems, and the overall idea is as follows:
[0046] The embodiment of the present invention includes calculating multiple typical features of each byte in the video to be detected, and comparing the similarity of the same typical features of any two bytes until the pairwise comparison is completed to obtain a complete similarity comparison result; the multiple typical features include at least fundamental frequency features, color autocorrelation map features and short-time energy features, that is, the most typical features are extracted from three different domains: frequency domain, space domain and time domain, which can guarantee the detection accuracy of a single feature to a certain extent; the complete similarity comparison results are integrated to complete the copy-move tampering detection and positioning of the audio file to be detected, and the positioning accuracy can be further improved based on multi-feature decision fusion, so as to accurately locate the specific location of the tampering.
[0047] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0048] Example:
[0049] The first side is clear, such as Figure 1 As shown, an embodiment of the present invention provides an audio copy-move tampering detection and positioning method based on multi-feature decision fusion, including:
[0050] S1. Preprocess the audio file to be tested to obtain all the sound segments of the audio file to be tested;
[0051] S2, using an energy entropy ratio-based method to perform byte segmentation on each of the voiced segments;
[0052] S3, calculating multiple typical features of each of the bytes, and comparing the similarities of the same typical features of any two bytes, until the comparison is completed in pairs, to obtain a complete similarity comparison result; the multiple typical features at least include fundamental frequency features, color autocorrelation map features and short-time energy features;
[0053] S4. The complete similarity comparison results are integrated to complete the copy-move tampering detection and positioning of the audio file to be tested.
[0054] First, the embodiments of the present invention extract the most typical features from three different domains: frequency domain, space domain, and time domain, which can ensure the detection accuracy of a single feature to a certain extent while effectively reducing the false detection rate; and when setting each similarity threshold, it is slightly enlarged to reserve a certain judgment buffer space. This has good robustness and can better adapt to some conventional signal processing attacks.
[0055] Second, the embodiments of the present invention can further improve the accuracy of positioning based on multi-feature decision fusion, solving the problem that most existing studies are based on voice endpoint detection technology, which can only detect whether the entire audio segment has been tampered with, but cannot accurately locate the specific location of the tampering.
[0056] The following will introduce each step of the above technical solution in detail with specific content:
[0057] S1. Preprocess the audio file to be tested to obtain all the sound segments of the audio file to be tested.
[0058] In order to minimize the impact of noise and silence, the audio file to be tested needs to be volume normalized, framed and windowed, and the VAD technology based on spectral entropy method is used to divide the audio into several segments with sound and silence. After preprocessing, the entire audio file can be divided into several segments with sound and silence, thus laying the foundation for the next step of byte segmentation.
[0059] S2. Segment each of the voiced segments into bytes using an energy entropy ratio-based method.
[0060] In order to improve the accuracy of copy-move tampering detection and positioning, the embodiment of the present invention further performs byte segmentation on the divided voiced segments based on the energy entropy ratio method. If Chinese speech is used as the processing object, each byte contains a complete Chinese character.
[0061] Assuming that a certain voiced segment signal after segmentation of the audio file to be detected is x, the byte segmentation steps are described as follows:
[0062] 1) First, window x and frame it to get several frame signals x c (c=1,2...), and for each frame x c Perform fast Fourier transform (FFT) to obtain the coefficient X c (q), q represents the qth spectral line.
[0063] The short-time energy E of the cth frame is calculated according to the following formula: c and short-time spectral entropy H c .
[0064]
[0065]
[0066] Where G is the FFT length, and only the positive frequency part is taken.
[0067] 2) Calculate the energy entropy ratio EEF corresponding to the cth frame according to the following formula: c .
[0068]
[0069] 3) EEF c Compare with the threshold L1. If the energy entropy ratio of any consecutive L2 (L2 = 1, 2...) frames satisfies EEF c ≥L1, the continuous audio frames of length L2 are considered to be one byte of the voiced segment.
[0070] It should be emphasized that L1 needs to select a suitable threshold to split bytes, because only by ensuring that a byte is accurately split into only one byte, rather than containing multiple bytes, can a more accurate and specific copy-move tampering location be determined based on multi-feature decision fusion in subsequent steps.
[0071] After the above processing, the voiced segment signal x can be divided into several bytes {S1, S2, ..., S n},S i Represents the i-th speech byte, 1≤i≤n.
[0072] S3, calculating multiple typical features of each of the bytes, and comparing the similarities of the same typical features of any two bytes, until the comparison is completed in pairs, to obtain a complete similarity comparison result; the multiple typical features at least include fundamental frequency features, color autocorrelation map features and short-time energy features.
[0073] It is understandable that the multiple typical features in this step are not strictly limited. Exemplarily, the multiple typical features in the embodiment of the present invention may include fundamental frequency features, color autocorrelation map features and short-time energy features.
[0074] That is, the embodiment of the present invention extracts gene frequency, color autocorrelation map features and short-time energy features from the frequency domain, spatial domain and time domain of audio respectively, and comprehensively considers the typical features of these three different domains in order to fully perceive the subtle changes of the audio signal.
[0075] Specifically:
[0076] A. Fundamental frequency characteristics
[0077] In the frequency domain, the vibration frequency of the speaker's vocal cords is the fundamental frequency. As a representative feature in the audio frequency domain, it can effectively and accurately reflect the differences between different bytes of the speaker.
[0078] For any byte S obtained by segmentation i , for each frame it contains Extract gene frequency features. The specific steps are as follows:
[0079] 1) Calculate the frame according to the following formula The short-time autocorrelation function and the mean amplitude difference function in For Frame For each sampling point in , l=1,...,N, N is the frame length of each frame, and v∈[min,max[]] is the time delay.
[0080]
[0081]
[0082] 2) Calculate the frame The ratio of the short-time autocorrelation function to the average amplitude difference function:
[0083]
[0084] 3) Search in the interval v∈[min,max[]] The maximum value of v is taken as The fundamental frequency of the speech frame
[0085] According to the above steps, any byte S can be obtained i The gene frequency vector
[0086] Based on this, the similarity between bytes can be measured by DTW distance. i and S j , its DTW distance is:
[0087]
[0088]
[0089] Where r = 1, 2, ..., n i , q=1,2,...,n j .
[0090] After iterative calculation of the above formula, the final solution is That is two bytes S i and S j DTW distance between i,j .
[0091] B. Color Autocorrelation Map Features
[0092] In the spatial domain, the emergence of spectrogram plays a crucial role in speech analysis, and contains rich speech information. The color autocorrelation map not only contains the different proportions of color pixels in the same image, but also contains spatial relationship information.
[0093] For any byte S i , this paper extracts the color autocorrelation map features from its spectrogram. The specific steps are as follows:
[0094] 1) First generate the speech byte S i Spectrogram I k .
[0095] 2) Spectrogram I k Quantized into 64 colors, for any two pixels and The distance between the two is calculated according to the following formula:
[0096]
[0097] 3) Assume ω r Represents any one of the 64 colors, then the spectrogram I is calculated according to the following formula k The color autocorrelation coefficient of r The probability that the distance between two pixels is z.
[0098]
[0099] Obviously, from the spectrogram I k The autocorrelation coefficients of 64 colors can be obtained as byte S i The color autocorrelation map feature vector P i =[δ i,1 ,δ i,2 ,...,δ i,64 ].
[0100] Based on this, the similarity between bytes can be measured using the cosine distance. i and S j , the cosine distance cos i,j The calculation is as follows:
[0101]
[0102] C. Short-term energy characteristics
[0103] In the time domain, the speaker's voice carries energy. As a classic time domain feature, short-time energy has been widely used in speech signal processing. Based on this, the similarity between bytes is measured by the difference between the sum of short-time energies.
[0104] For any byte S i , first use the following formula to extract each frame it contains Short-term energy:
[0105]
[0106] Among them, y(l) is the speech frame The amplitude of the lth sampling point in .
[0107] Furthermore, Byte S i The short-time energy sum is:
[0108]
[0109] Based on this, the similarity between bytes is measured by the difference in short-time energy sum. i and S j , the difference between its short-time energy and i,j The calculation is as follows:
[0110] Δ i,j =E i -E j (14)
[0111] Specifically, the DTW distance is used to calculate the similarity between the pitch frequency features of any two bytes.
[0112] S4, integrating the complete similarity comparison results to complete the copy-move tampering detection and positioning of the audio file to be tested; specifically including:
[0113] S41. According to a preset similarity threshold set, determine the relationship between the similarity between the same typical features of any two bytes and the similarity threshold corresponding to the typical features.
[0114] S42. If the similarity of each typical feature of any two of the bytes is less than the corresponding similarity threshold, the two bytes are judged to be a copy-move byte pair; if the similarity of each typical feature of any two of the bytes is not less than the corresponding similarity threshold, the two bytes are judged to be a non-copy-move byte pair.
[0115] S43, for each byte in the copy-move byte pair, one frame is extended before and after the beginning and the end to form two new bytes, and the similarity of the same typical feature of the two new bytes is compared with the similarity threshold corresponding to the typical feature.
[0116] S44. If the similarity of each typical feature of the new two bytes is less than the corresponding similarity threshold, proceed to S43; otherwise, the position of the new two bytes is the copy-move tampering position.
[0117] It should be pointed out that, in this embodiment, the threshold value of the similarity corresponding to each of the above typical features can be set according to actual needs and is not strictly limited here.
[0118] For example, when setting the threshold, the threshold can be set as low as possible to ensure a low false detection rate. At the same time, it is very difficult for non-copy-move bytes to meet the above judgment conditions, because the similarities of the three feature values need to meet their respective thresholds at the same time. Therefore, the threshold can also be slightly enlarged to reserve a certain judgment buffer space without affecting the judgment result. In the latter case, as long as the similarity of a certain typical feature of the two bytes is greater than or equal to the similarity threshold corresponding to the typical feature, it is directly judged as a non-copy-move byte pair. Such processing can increase the resistance to conventional signal processing attacks to a certain extent and improve robustness.
[0119] In order to verify the effectiveness of the audio copy-move tampering detection and positioning method (multi-feature decision fusion, MFDF for short) provided in the embodiment of the present invention, a comparative analysis is performed with the latest DFT-PCC method, PF-DTW method and LBP-MSE method.
[0120] First, the experimental data set and parameter settings are given. Then, the effectiveness of the MFDF method provided in the embodiment of the present invention for copy-move tampering detection and positioning is analyzed, and further comparative tests and analyses are performed with the above-mentioned related methods. Finally, the robustness of the comparative method to conventional signal processing attacks is further analyzed.
[0121] The performance test process is based on the copy-move audio dataset constructed from the Tsinghua University Chinese corpus THCHS-30 (Wang and Zhang, 2015). It mainly includes two parts: 500 original audios and 500 copy-move tampered audios. The 500 original audios are randomly extracted directly from THCHS-30. In order to construct the 500 copy-move tampered audio dataset, Cool Edit Pro audio editing software is used to randomly select a complete byte from each original audio and copy and paste it to other positions in the voice. All audios are wav files with a sampling rate of 16kHz and a quantization bit of 16 bits.
[0122] The codes of all methods are written based on MATLAB and tested on a personal PC with Intel(R) Core(TM) i7-7700CPU@3.60GHz, RAM 8.0GB, and Windows 7 operating system.
[0123] 1. Accuracy test
[0124] Based on 1,000 audio files in the copy-move dataset, MFDF, DFT-PCC, PF-DTW and LBP-MSE are compared and analyzed; precision and recall are used as evaluation indicators for copy-move tampering detection.
[0125] Table 1 Copy-move tampering detection results of different methods
[0126]
[0127] Table 1 gives the detection results of the four methods. It can be seen that the MFDF method proposed in the embodiment of the present invention is superior to other methods in both precision and recall, all reaching more than 97%, while the other three methods are all below 90%. Specifically, compared with PF-DTW, DFT-PCC, and LBP-MSE, the precision is increased by about 12, 11, and 26 percentage points, respectively, and the average increase is about 16 percentage points; the recall rate is increased by about 26, 28, and 33 percentage points, respectively, and the average increase is about 29 percentage points.
[0128] The above experimental results show that the MFDF method provided by the embodiment of the present invention has a better detection effect on copy-move tampering.
[0129] 2. Positioning accuracy test
[0130] In order to further compare the positioning accuracy of the four methods, 100 tampered audios that were correctly detected by the four methods were randomly selected for analysis. First, the 100 tampered audios were sorted in ascending order according to the absolute positioning error value of MFDF, and the absolute positioning error values of the corresponding audio numbers on PF-DTW, DFT-PCC and LBP-MSE after sorting were counted. Among them, since PF-DTW and LBP-MSE use the same segmentation method, their absolute positioning error values are the same. Figure 3 The absolute positioning errors of the four methods on 100 tampered audios are given. As can be seen from the figure, the absolute positioning errors of MFDF on 89 of the 100 audios are less than or equal to those of other methods.
[0131] Table 2 Average absolute error of positioning of different methods (seconds)
[0132]
[0133] In addition, Table 2 shows the average absolute error values of the four methods on 100 tampered audios. It can be seen from the table that compared with PF-DTW, LBP-MSE, and DFT-PCC, the positioning accuracy of MFDF is improved by about 43%, 43%, and 49%, respectively, and the average improvement is about 45%.
[0134] The above experimental results show that the MFDF method provided by the embodiment of the present invention is significantly better than the existing methods in the accuracy of copy-move tampering positioning, and can locate more accurate copy-move tampering areas.
[0135] 3. Robustness test
[0136] In actual audio authentication activities, audio tampering operations are often supplemented with some conventional signal processing attacks to cover up the traces of tampering, for example, 1) Noise addition: adding 30db Gaussian white noise to the audio; 2) Filtering: median filtering the audio; 3) Upsampling: upsampling the audio by 18kHz; 4) Downsampling: downsampling the audio by 14kHz; 5) MP3 compression: compressing the audio by mp3 with a bit rate of 160kbps and keeping the sampling rate unchanged.
[0137] In order to test the robustness of the four methods against the conventional signal processing attacks, a signal processing method was used to attack the 1,000 audios, generating a total of 5,000 attack audios. Tables 3 and 4 respectively give the detection precision and recall of the four methods on the attack audio dataset.
[0138] Table 3 Detection accuracy of the MFDF method in this paper on the signal processing attack audio dataset
[0139]
[0140] Table 4 Detection recall of the MFDF method in this paper on the signal processing attack audio dataset
[0141]
[0142] It can be seen that after five conventional signal processing attacks, the precision and recall of the four methods have decreased, but the MFDF method of the present invention is still better than the comparison method in precision and recall, and the average value is more than 94%, while the other three methods are all below 85%. Specifically, compared with PF-DTW, DFT-PCC, and LBP-MSE, the average precision is increased by about 16 percentage points, and the average recall is increased by about 31 percentage points.
[0143] The above experimental results show that the MFDF method provided by the embodiment of the present invention has good robustness and can better adapt to some conventional signal processing attacks.
[0144] Second, as Figure 4 As shown, an embodiment of the present invention provides an audio copy-move tampering detection and positioning system based on multi-feature decision fusion, including:
[0145] A preprocessing module, used to execute S1, preprocess the audio file to be tested by using a VAD method based on spectral entropy method, and obtain all the voiced segments of the audio file to be tested;
[0146] A segmentation module, used to execute S2, and perform byte segmentation on each of the voiced segments using an energy entropy ratio-based method;
[0147] A comparison module, used to execute S3, calculate multiple typical features of each of the bytes, and compare the similarity of the same typical features of any two bytes, until the comparison is completed, and obtain a complete similarity comparison result; the multiple typical features at least include fundamental frequency features, color autocorrelation map features and short-time energy features;
[0148] The completion module is used to execute S4, integrate the complete similarity comparison results, and complete the copy-move tampering detection and positioning of the audio file to be tested.
[0149] In a third aspect, an embodiment of the present invention provides a storage medium storing a computer program for audio copy-move tampering detection and positioning based on multi-feature decision fusion, wherein the computer program enables a computer to execute the audio copy-move tampering detection and positioning method as described above.
[0150] In a fourth aspect, an embodiment of the present invention provides an electronic device, including:
[0151] one or more processors;
[0152] Memory; and
[0153] One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs including instructions for executing the audio copy-move tampering detection and positioning method as described above.
[0154] It can be understood that the audio copy-move tampering detection based on multi-feature decision fusion, storage medium, electronic device and positioning system provided in the embodiments of the present invention correspond to the audio copy-move tampering detection and positioning method based on multi-feature decision fusion provided in the embodiments of the present invention. The explanation, examples and beneficial effects of the relevant contents can refer to the corresponding parts in the audio copy-move tampering detection and positioning method, which will not be repeated here.
[0155] In summary, compared with the prior art, the present invention has the following beneficial effects:
[0156] 1. The embodiments of the present invention extract the most typical features from three different domains: frequency domain, space domain, and time domain, which can ensure the detection accuracy of a single feature to a certain extent while effectively reducing the false detection rate; and when setting each similarity threshold, it is slightly enlarged to reserve a certain judgment buffer space. This has good robustness and can better adapt to some conventional signal processing attacks.
[0157] 2. The embodiments of the present invention can further improve the accuracy of positioning based on multi-feature decision fusion, and solve the problem that most existing studies are based on voice endpoint detection technology, which can only detect whether the entire audio segment has been tampered with, but cannot accurately locate the specific location of the tampering.
[0158] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0159] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An audio copy-move tampering detection and positioning method based on multi-feature decision fusion, characterized in that: include: S1. Preprocess the audio file to be tested to obtain all the sound segments of the audio file to be tested; S2, using an energy entropy ratio-based method to perform byte segmentation on each of the voiced segments; S3, calculating multiple typical features of each of the bytes, and comparing the similarities of the same typical features of any two of the bytes, until the comparisons are completed pairwise, to obtain a complete similarity comparison result; The multiple typical features at least include fundamental frequency features, color autocorrelation map features and short-time energy features; S4. The complete similarity comparison results are integrated to complete the copy-move tampering detection and positioning of the audio file to be tested.
2. The audio copy-move tampering detection and location method according to claim 1, characterized in that: The S4 specifically includes: S41, judging the relationship between the similarity between the same typical features of any two bytes and the similarity threshold corresponding to the typical features according to a preset similarity threshold set; S42, if the similarity of each typical feature of any two bytes is less than the corresponding similarity threshold, then the two bytes are determined to be a copy-move byte pair; S43, for each byte in the copy-move byte pair, expand one frame before and after the beginning and the end to form two new bytes, and compare the similarity of the same typical feature of the two new bytes with the similarity threshold corresponding to the typical feature; S44. If the similarity of each typical feature of the new two bytes is less than the corresponding similarity threshold, proceed to S43; otherwise, the position of the new two bytes is the copy-move tampering position.
3. The audio copy-move tampering detection and location method as claimed in claim 2, characterized in that: The S42 further includes: If the similarity of each typical feature of any two of the bytes is not less than the corresponding similarity threshold, the two bytes are determined to be a non-copy-move byte pair.
4. The audio copy-move tampering detection and location method according to any one of claims 1 to 3, characterized in that: The DTW distance is used to calculate the similarity between the pitch frequency features of any two bytes.
5. The audio copy-move tampering detection and location method according to any one of claims 1 to 3, characterized in that: The cosine distance is used to calculate the similarity between the color autocorrelation map features of any two bytes.
6. The audio copy-move tampering detection and location method according to any one of claims 1 to 3, characterized in that: The short-time energy and difference are used to calculate the similarity of the short-time energies of any two bytes.
7. The audio copy-move tampering detection and location method according to any one of claims 1 to 3, characterized in that: The audio file to be tested is preprocessed using a VAD method based on spectral entropy method.
8. An audio copy-move tampering detection and positioning system based on multi-feature decision fusion, characterized in that: include: A preprocessing module, used to execute S1, preprocess the audio file to be tested by using a VAD method based on spectral entropy method, and obtain all the voiced segments of the audio file to be tested; A segmentation module, used to execute S2, and perform byte segmentation on each of the voiced segments using an energy entropy ratio-based method; A comparison module, used to execute S3, calculate multiple typical features of each of the bytes, and compare the similarity of the same typical features of any two bytes, until the comparison is completed between the two bytes, to obtain a complete similarity comparison result; The multiple typical features at least include fundamental frequency features, color autocorrelation map features and short-time energy features; The completion module is used to execute S4, integrate the complete similarity comparison results, and complete the copy-move tampering detection and positioning of the audio file to be tested.
9. A storage medium, characterized in that: It stores a computer program for audio copy-move tampering detection and positioning based on multi-feature decision fusion, wherein the computer program enables the computer to execute the audio copy-move tampering detection and positioning method as described in any one of claims 1 to 7.
10. An electronic device, characterized in that: include: one or more processors; Memory; as well as One or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, the programs including a program for executing the audio copy-move tampering detection and positioning method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method for classifying digital audio automatically
CN103854646A
Audio cognate tampering detection method applying inter-frame amplitude spectrum correlation of bytes
CN108510994A
Method and system for audio matching
WO2009097738A1
