Open altec404 opened 7 years ago
I have the same issue. becase this code "from libs.reader_microphone import FileReader" in recognize-from-file.py, but the class FileReader is not in the source file. @itspoma can you share the all source code here ? Thanks.
@altec404 @pmars you need to make a change on recognize-from-file.py
and replace libs.reader_microphone
to libs.reader_file
.
@pmars yeah, you're right, thanks! On libs.reader_file
there're FileReader
class that is responsible for parse audio from fs.
Hello, I make a change on recognize-from-file.py and replace libs.reader_microphone to libs.reader_file. But it still don't work. As I can see it necessary make more changes. Thanks! Great Job.
Hello, I make a change on recognize-from-file.py and replace libs.reader_microphone to libs.reader_file. But it still don't work. As I can see it necessary make more changes. Thanks! Great Job.
I have the same issue.Have you solved it?
It seems that those codes are not given...This repo seems wouldn't be updated.But the site still works, it would mislead others.
@northfun there're not site for this repository. It was built as a project for conference's speech. Feel free to propose PR, so I review/merge changes for others.
recognize-from-file.zip it's the code that i write refer the recognize_from_microphone.py.hope it will help.
Do we have any solution to the recognize from file scenario? @itspoma
recognize-from-file.zip it's the code that i write refer the recognize_from_microphone.py.hope it will help.
@dianaxun
Cool! This script seems to work fine with some sets of audio files.
Unfortunately it gets some wavs completely wrong (the same wavs work when played back in through mic)
I did see a division by zero error which may indicate the issue.
/home/guy/repos/audio-fingerprint-identifying-python/libs/fingerprint.py:91: RuntimeWarning: divide by zero encountered in log10 arr2D = 10 * np.log10(arr2D) # calculates the base 10 logarithm for all elements of arr2D
Here a functional implementation for recognize audio from file (a bit refactored to work with python 3.6.9): recognize-from-file.py
Enjoy ^^
From where the command recognize-from-file.py is taking the file that has to be recognized....Unable to understand
From where the command recognize-from-file.py is taking the file that has to be recognized....Unable to understand
The master branch from this repo is not functionnal, it's why i send a functionnal version of this feature (see my previous comment for the link)
In my implementation, i've used argparse
for taken parameters/arguments from the command line (for example the audio filename).
Good luck and have fun :)
Hello, I try to test "make recognize-file filepath". But it didn't work. Is it possible recognize from mp3 file? Thanks