Closed chrowe closed 3 years ago
Ok, not sure what I did to cause this, but I went through the steps again using Docker and it is working now
# Get dependencies
FROM ubuntu:18.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y \
git \
python2.7 \
python-pip \
python-tk \
ffmpeg \
portaudio19-dev \
python-pyaudio
RUN pip install matplotlib termcolor scipy pydub PyAudio
RUN git clone https://github.com/itspoma/audio-fingerprint-identifying-python.git
# Install
WORKDIR "./audio-fingerprint-identifying-python"
RUN make clean reset
RUN mkdir mp3
# Get file to test with
RUN apt-get install -y wget
RUN cd mp3 && wget https://files.freemusicarchive.org/storage-freemusicarchive-org/music/WFMU/Broke_For_Free/Directionless_EP/Broke_For_Free_-_01_-_Night_Owl.mp3
# Test things are working
RUN python collect-fingerprints-of-songs.py
RUN python get-database-stat.py
I am following https://ourcodeworld.com/articles/read/973/creating-your-own-shazam-identify-songs-with-python-through-audio-fingerprinting-in-ubuntu-18-04
When I run
python collect-fingerprints-of-songs.py
I get
Any thoughts on what I might be doing wrong?