Python 音频指纹和识别 Python Dejavu

Dejavu 是一个 Python 库,用于音频指纹和识别的算法。Dejavu 听一次音频后就会记录该音频的指纹信息,然后可通过麦克风对输入的音频进行识别是否同一首歌。

Python 音频指纹和识别 Python Dejavu

Python 音频指纹和识别 Python Dejavu

Python Dejavu依赖情况如下:

pyaudio for grabbing audio from microphone

ffmpeg for converting audio files to .wav format

pydub, a Python ffmpeg wrapper

numpy for taking the FFT of audio signals

scipy, used in peak finding algorithms

matplotlib, used for spectrograms and plotting

MySQLdb for interfacing with MySQL databases

Python 音频指纹和识别 Python Dejavu

相关推荐