Fingerprint extraction
Abstract
Fingerprints are bit strings extracted from a media signal (e.g. an audio or video clip) to identify said media signal. Typically, they are derived from a perceptual property of the signal, for example, the spectral energy distribution of an audio fragment or the luminance distribution of a video image. A method and arrangement for extracting a fingerprint is here disclosed which is robust with respect to shifts of the perceptual property. Such shifts occur, inter alia, when the fingerprint is derived from a logarithmically mapped spectral energy distribution of an audio signal and said audio signal is subjected to speed changes. According to the invention, the fingerprint is not derived from the perceptual property as such, but from its auto-correlation function.

Term
Term ended
Expired 11 August 2023, 3.1 years ago.
- Priority
- Filed
- Granted
- Expired
- Today
7 claims: 3 independent, 4 dependent
- 1A method of extracting a fingerprint from a media signal, comprising the steps of extracting (101) from said media signal a sequence of samples of a given perceptual property of the signal, and deriving (102, 201) from said sequence a binary sequence constituting said fingerprint, characterized in that the method comprises the steps of:- subjecting the sequence of property samples to an auto-correlation function (202) to obtain a sequence of auto-correlation values;- comparing (105) said auto-correlation values with respective thresholds;and - determining the bits of the fingerprint from the results of said comparing step.
- 6An apparatus for extracting a fingerprint from a media signal, comprising means for deriving from said media signal a sequence of samples of a given perceptual property of the signal, and means for deriving from said sequence a binary sequence constituting said fingerprint, characterized in that the apparatus comprises:- means for subjecting the sequence of property samples to an auto-correlation function (202) to obtain a sequence of auto-correlation values;- means for comparing said auto-correlation values with respective thresholds (105);and - means for determining the bits of the fingerprint from the results of said comparing step.
- 7A computer program comprising instructions to cause a programmable device to perform the steps of:- deriving from a received media signal a sequence of samples of a given perceptual property of the signal;- subjecting the sequence of property samples to an auto-correlation function (102) to obtain a sequence of auto-correlation values;- comparing said auto-correlation values with respective thresholds (105);and - determining the bits of the fingerprint from the results of said comparing step.
Independent claims3
22 paragraphs in 5 sections, as filed
FIELD OF THE INVENTION
0001The invention relates to a method and arrangement for extracting a fingerprint from a media signal.
BACKGROUND OF THE INVENTION
0002A fingerprint, also often referred to as signature or hash, is a sequence of bits that is derived from multimedia content, e.g. an audio song, an image, a video clip, etc. Multimedia fingerprints are used, inter alia, in the field of authentication where it is desired to verify whether received content is original or detect whether the content has been tampered with. Fingerprints are also used to identify media content. A service that is likely to become very popular in the near future is audio identification. A fingerprint being derived from an unknown piece of music is sent to a database where the title, artist and other metadata is looked up and returned to the consumer.
0003A known method of extracting a fingerprint from a media signal is disclosed in Applicant's International Patent Application <patcit id="pcit0001" dnum="WO02065782A"><text>WO 02/065782</text></patcit>. A schematic diagram of this prior-art method is shown in <figref idref="f0001">Fig. 1</figref>. The media signal (here an audio song) is divided into overlapping frames (101). A spectral representation of each frame is obtained by performing a Fast Fourier Transform (102). The energy of the audio signal in 33 logarithmically spaced sub-bands is subsequently computed (103). The bands lie in the range of 300-2000Hz which is perceptually the most relevant range. The 33 energy levels constitute a sequence of perceptual property samples of the respective audio signal frame. In order to be invariant with respect to the absolute loudness of the audio signal and to prevent a major single audio frequency from producing identical sequences for successive frames, a simple 2-dimensional filter (104) is applied to the spectrogram prior to obtaining 32 differential property samples. The sequence is subsequently converted into a bit string by an appropriate thresholding operation (105). More particularly, a sub-band in a particular frame is assigned a bit '1' if the energy difference with its neighboring sub-band is larger than the energy difference with its neighboring sub-band in the previous frame. Otherwise, the fingerprint bit is '0'.
0004The known method produces a string of 32 bits for each audio frame (≈0.4 sec). The frames are preferably overlapping (e.g. by a factor of 31/32) so that the bit strings change slowly with time. This makes the fingerprint extraction invariant with respect to time shifting and frame boundary positioning. Typically, blocks of 256 overlapping frames, i.e. 256x32=8192 bits ( ≈3 sec of audio) are used to identify a song.
0005The prior-art fingerprint extraction method has turned out to be very robust against almost all commonly used audio processing steps such as MP3 encoding, sample rate conversion, D/A and A/D conversion, equalization. However, it is not very robust against speed changes. It is quite common for radio stations to speed up audio by a few percent. They supposedly do this for two reasons. First, the duration of songs is then shorter and therefore it enables them to broadcast more commercials. Secondly, the beat of the song is faster and listeners seem to prefer this. The speed changes typically lie between zero and four percent.
0006<patcit id="pcit0002" dnum="US5621454A"><text>US-A-5,621,454</text></patcit> describes a method and system for producing a signature characterizing an interval of a video signal representing a picture for use in broadcast segment recognition. The signature is produced based on portions of the video signal representing corresponding regions of the picture. A first signature is formed having a plurality of values each of which is based on a respective one of the portions of the video signal and a second signature is formed also having a plurality of values each based on respective ones of a plurality of shifted portions of the video signal. The respective values of the first and second signatures are compared and bit values of a mask word are established on the basis of this comparison.
OBJECT AND SUMMARY OF THE INVENTION
0007It is an object of the invention to provide an improved method and arrangement for extracting a fingerprint from a media signal.
0008To this end, according to the present invention, there is provided a method of extracting a fingerprint from a media signal, comprising the steps of extracting from said media signal a sequence of samples of a given perceptual property of the signal, and deriving from said sequence a binary sequence constituting said fingerprint, characterized in that the method comprises the steps of: subjecting the sequence of property samples to an auto-correlation function to obtain a sequence of auto-correlation values; comparing said auto-correlation values with respective thresholds; and determining the bits of the fingerprint from the results of said comparing step.
0009The present invention also provides an apparatus as set out in claim 6 and a computer program as set out in claim 7.
0010The method according to the invention differs from the prior-art method in that the fingerprint bits are not derived from the perceptual property of the signal as such, but from the auto-correlation of said property. The invention is based on the recognition that a speed change of an audio signal causes energy levels in sub-bands to be shifted from one sub-band to another, and exploits the insight that the auto-correlation function is shift invariant.
0011The auto-correlation function is well-known in the continuous (time) domain. However, we are dealing here with a finite sequence of property values (e.g. energy levels). Therefore, in a practical embodiment of the method according to the invention, the desired auto-correlation is approximated by correlating a sub-sequence of property samples with the complete sequence of property samples.
0012The auto-correlation function is preferably computed from a statistically significant number of property samples, which is larger than the desired number of fingerprint bits. Down-sampling of the computed auto-correlation function is provided to obtain the desired number of auto-correlation values.
BRIEF DESCRIPTION OF THE DRAWINGS
0013<ul id="ul0001" list-style="none" compact="compact"><li><figref idref="f0001">Fig. 1</figref> shows schematically a prior-art arrangement for extracting a fingerprint from an audio signal.</li><li><figref idref="f0001">Fig. 2</figref> shows schematically an arrangement for extracting a fingerprint from an audio signal according to the invention.</li></ul>
DESCRIPTION OF EMBODIMENTS
0014Speed changes of an audio signal cause misalignment in both the temporal and frequency domain. Considering time misalignment, an audio excerpt subjected to a speed change of, say, 2% causes the 250<sup>th</sup> fingerprint of this excerpt to be extracted at the position of the 255<sup>th</sup> fingerprint of the original excerpt. Fortunately, in order to be shift-invariant, the fingerprints are constructed in such a way that they possess correlation along the time-axis. Therefore, the BER (bit error rate) between the original excerpt and the same excerpt with a speed change does not increase dramatically due to the temporal misalignment.
0015The main problem caused by large speed changes is therefore the frequency misalignment. In the prior arrangement, which is shown in <figref idref="f0001">Fig. 1</figref>, a 2% speedup will result in a scaling of the frequency axis of the spectrum that is obtained with the Fourier Transform.
0016For example, a tone of 500Hz then results in a tone of 510Hz and a tone of 1000Hz results in a tone of 1020Hz. After calculating the spectrum, the energy in logarithmically spaced bands is determined. Since the bands are logarithmically spaced, the speed change results in a shift of energy from one band to the next. The more energy that shifts from one band to the next, the greater the probability that the extracted fingerprint bits are erroneous. This is due to the fact that the fingerprint bits are determine by energy differences of neighboring bands.
0017It has been proposed to use a brute force approach for identifying audio with large speed changes. The brute force approach consists of storing fingerprints extracted at multiple speeds in the database, or querying the database with fingerprints that are extracted at multiple speeds. The disadvantage of this method is that the search speed and/or storage requirements increase by a factor N, where N is the number of different speeds that is necessary for a certain application.
0018<figref idref="f0001">Fig. 2</figref> shows an arrangement for extracting a fingerprint from an audio signal according to the invention. In the Figure, the same reference numerals are used for functions that are identical with or similar to the steps that have already been discussed with reference to <figref idref="f0001">Fig. 1</figref>. More particularly, the audio signal is divided into overlapping frames (101) and the spectrum of each frame is computed (102).
0019An auto-correlation step (202) is the fundamental step to achieve the better speed-change resilience. A speed change results in a shift of the computed energy vector. Auto-correlation has the property that it is shift-invariant. As is generally known, the auto-correlation p(x) of a continuous function f(t) is: <maths id="math0001"><math display="block"><mi mathvariant="normal">ρ</mi><mfenced><mi mathvariant="normal">x</mi></mfenced><mo mathvariant="normal">=</mo><msubsup><mo mathvariant="normal">∫</mo><mrow><mo mathvariant="normal">-</mo><mi mathvariant="normal">∞</mi></mrow><mi mathvariant="normal">∞</mi></msubsup><mo></mo><mi mathvariant="normal">f</mi><mfenced><mi mathvariant="normal">t</mi></mfenced><mo></mo><mi mathvariant="normal">f</mi><mo></mo><mfenced><mi mathvariant="normal">t</mi><mo mathvariant="normal">+</mo><mi mathvariant="normal">x</mi></mfenced><mo>ⅆ</mo><mi mathvariant="normal">t</mi></math><img file="EP1550297B1_D0001.tif" /></maths>
0020However, we are not dealing here with an infinite continuous function f(t) but a finite sequence of property samples (energies). In order to compute the auto-correlation from a statistically significant number of property samples, the energy of 512 sub-bands is computed (201) instead of 33. The bands are still logarithmic and still lie in the range of 300 to 2000Hz. Thus the bands have a smaller width. The auto-correlation is approximated by correlating a sub-sequence of energies with the complete sequence. More specifically, the auto-correlation p[x] is calculated from the sub-band energy samples E(j) as follows: <maths id="math0002"><math display="block"><mi mathvariant="normal">ρ</mi><mfenced><mi mathvariant="normal">x</mi></mfenced><mo mathvariant="normal">=</mo><mstyle displaystyle="true"><munderover><mo mathvariant="normal">∑</mo><mrow><mi mathvariant="normal">j</mi><mo mathvariant="normal">=</mo><mn mathvariant="normal">1</mn></mrow><mi mathvariant="normal">M</mi></munderover></mstyle><mi mathvariant="normal">E</mi><mo></mo><mfenced><mi mathvariant="normal">K</mi><mo mathvariant="normal">+</mo><mi mathvariant="normal">j</mi></mfenced><mo></mo><mi mathvariant="normal">E</mi><mo></mo><mfenced><mi mathvariant="normal">x</mi><mo mathvariant="normal">+</mo><mi mathvariant="normal">j</mi></mfenced><mo></mo><mi>for x</mi><mo mathvariant="normal">=</mo><mn mathvariant="normal">1</mn><mo mathvariant="normal">,</mo><mn mathvariant="normal">2</mn><mo mathvariant="normal">,</mo><mo mathvariant="normal">…</mo><mo mathvariant="normal">,</mo><mi mathvariant="normal">N</mi><mo mathvariant="normal">-</mo><mi mathvariant="normal">M</mi></math><img file="EP1550297B1_D0002.tif" /></maths> where N denotes the length of the whole energy vector (here N=512), M denotes the length of the sub-sequence and K denotes the position where the sub-sequence starts in the complete sequence. Typical settings for M and K are 64 and 96, respectively. To increase robustness, the resulting auto-correlation values are optionally low-pass filtered (203). The low-pass filtered auto-correlation has 512-64 = 448 values, whereas 33 input values are required for the 2-dimensional filter (104) preceding the threshold operation (105). Therefore, the 448 auto-correlation values are down-sampled to 33 values in a down-sampler (204). The resulting fingerprint is a 32-bit string for each frame.
0021Although embodiments of the method and arrangement have been described with reference to audio fingerprint extraction, the invention is not restricted thereto. Applicant's International Patent Application <patcit id="pcit0003" dnum="WO02065782A"><text>WO 02/065782</text></patcit>, already cited above, discloses a video fingerprint extracting method in which the fingerprint is derived from the mean luminance values of image blocks into which each image is divided. According to the invention, each image is now divided into a larger number of blocks, and a sub-set of the blocks (a "super-block") is correlated with the whole image for a number of positions of said super-block. The obtained sequence of auto-correlation values is invariant to shifts of the video image. The sequence is optionally low-pass filtered and subsequently down-sampled.
0022The invention can be summarized as follows. Fingerprints are bit strings extracted from a media signal (e.g. an audio or video clip) to identify said media signal. Typically, they are derived from a perceptual property of the signal, for example, the spectral energy distribution of an audio fragment or the luminance distribution of a video image. A method and arrangement for extracting a fingerprint is here disclosed which is robust with respect to shifts of the perceptual property. Such shifts occur, inter alia, when the fingerprint is derived from a logarithmically mapped spectral energy distribution of an audio signal and said audio signal is subjected to speed changes. According to the invention, the fingerprint is not derived from the perceptual property as such, but from its auto-correlation function.
Contents5
3 sheets
Sheet 1 Sheet 2 Sheet 3
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US9848250B2 | Cited by | United States of America | Applicant |
| US9961388B2 | Cited by | United States of America | Applicant |
| US10986141B2 | Cited by | United States of America | Applicant |
| US9716736B2 | Cited by | United States of America | Applicant |
| US10074108B2 | Cited by | United States of America | Applicant |
| US10771525B2 | Cited by | United States of America | Applicant |
| US9838758B2 | Cited by | United States of America | Applicant |
| US9706265B2 | Cited by | United States of America | Applicant |
| US9854330B2 | Cited by | United States of America | Applicant |
| US10791152B2 | Cited by | United States of America | Applicant |
| US9686596B2 | Cited by | United States of America | Applicant |
| US10977693B2 | Cited by | United States of America | Applicant |
| US9706265B2 | Cited by | United States of America | Applicant |
| US10032191B2 | Cited by | United States of America | Applicant |
| US9703947B2 | Cited by | United States of America | Applicant |
| US10334324B2 | Cited by | United States of America | Applicant |
| US9686596B2 | Cited by | United States of America | Applicant |
| US10567823B2 | Cited by | United States of America | Applicant |
| US10142377B2 | Cited by | United States of America | Applicant |
| US9716736B2 | Cited by | United States of America | Applicant |
| US9703947B2 | Cited by | United States of America | Applicant |
| US9866925B2 | Cited by | United States of America | Applicant |
| US10631068B2 | Cited by | United States of America | Applicant |
| US9986279B2 | Cited by | United States of America | Applicant |
| US9967295B2 | Cited by | United States of America | Applicant |
| US10880340B2 | Cited by | United States of America | Applicant |
| WO02065782A | Cites | World Intellectual Property Organization (WIPO) | – |
| US5436653A | Cites | United States of America | – |
| US5612729A | Cites | United States of America | – |
| US5621454A | Cites | United States of America | – |
| US6266429B1 | Cites | United States of America | – |
11 members in 9 offices
Priority claims3
| Document | Office | Kind | Date |
|---|---|---|---|
| 02079072 | European Patent Office (EPO) | – | |
| 02079072 | European Patent Office (EPO) | A | |
| 0303658 | International Bureau of the World Intellectual Property Organization (WIPO) | W |
Members11
| Document | Office | Kind | |
|---|---|---|---|
| WO2004030341A1 | World Intellectual Property Organization (WIPO) | A1 | |
| AU2003259400A1 | Australia | A1 | |
| KR20050046815A | Republic of Korea | A | |
| EP1550297A1 | European Patent Office (EPO) | A1 | |
| CN1685703A | China | A | |
| JP2006501498A | Japan | A | |
| US2006041753A1 | United States of America | A1 | |
| EP1550297B1This record | European Patent Office (EPO) | B1 | |
| AT426297T | Austria | T | |
| ATE426297T1 | Austria | T1 | |
| DE60326743D1 | Germany | D1 |
53 legal events, as 6 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal feeWithdrawnR119 | R119 | DE | |
| Gb: european patent ceased through non-payment of renewal feeCeasedGBPC | GBPC | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Notification of lapseLapsedST | ST | FR | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Patent ceasedCeasedPL | PL | CH | |
| No opposition filedOpposition26N | 26N | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Nl: lapsed or annulled due to failure to fulfill the requirements of art. 29p and 29m of the patents actLapsedNLV1 | NLV1 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Corresponds to:REF | REF | EP | |
| European patents granted designating irelandGrantedFG4D | FG4D | IE | |
| European patent takes effect as a national patent in ch/liEP | EP | CH | |
| Designated contracting statesAK | AK | EP | |
| European patent grantedGrantedFG4D | FG4D | GB | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| Grant fee paidORIGINAL CODE: EPIDOSNIGR3GRAS | GRAS | EP | |
| Information related to communication of intention to grant a patent modifiedORIGINAL CODE: EPIDOSCIGR1GRAC | GRAC | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOSNIGR1GRAP | GRAP | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Party data changed (applicant data changed or rights of an application transferred)RAP1 | RAP1 | EP | |
| Request for extension of the european patent (deleted)DAX | DAX | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 1550297
- Application
- 37982576
Titles3
- German
- FINGERABDRUCKEXTRAKTION
- English
- FINGERPRINT EXTRACTION
- French
- EXTRACTION DE CONDENSES
Classification
- CPC, 10
- G10H1/0058
- G10H2250/135
- G10H2250/161
- G10H2250/235
- G10L19/018
- H04N1/32122
- H04N2201/3235
- H04N2201/3236
- H04N2201/3274
- G06V20/46
- IPC, 3
- H04N1 32
- G10H1 00
- G10L19 018
Designated states27
- Contracting states, 27
- Austria
- Belgium
- Bulgaria
- Switzerland
- Cyprus
- Czechia
- Germany
- Denmark
- Estonia
- Spain
- Finland
- France
- United Kingdom
- Greece
- Hungary
- Ireland
- Italy
- Liechtenstein
- Luxembourg
- Monaco
- Netherlands (Kingdom of the)
- Portugal
- Romania
- Sweden
and 3 moreShow fewer
- Slovenia
- Slovakia
- Türkiye