Open shamtastic opened 5 years ago
hi, did you work it out? I'm trying to make this work but still have this error.
Hye. sorry for disturbing. i didnt run this python yet, but when i see the file recognize-from-file.py .. "from libs.reader_microphone import FileReader". you can see in libs.reader_microphone.. "class MicrophoneReader(BaseReader):" which it call different file.. i think you should change "from libs.reader_file import FileReader" inside the file recognize-from-file.py . I'm really sorry if this won't help.
@rvbcia Not yet, i ditched the project for the time being.
@niknoorakmal True, that was an issue with the code yes, i fixed that a while back. This isnt exactly the issue @rvbcia and i are having though. Thanks though :) If you managed to fix it and make it work, can you please send me the updated on, that would be much appreciated. Thanks :)
@shamtastic feel to create PR to share changes with others.
Kind regards, Roman
I have the same issue with recognize-file. Could you share your code changes please? thanks:)
Ive beet getting the following error whenever i try to recognize from a file! Any ideas how to fix this? or what the problem might be
Traceback (most recent call last): File "recognize-from-file.py", line 7, in
r.recognize(seconds=seconds)
TypeError: recognize() got an unexpected keyword argument 'seconds'
Makefile:25: recipe for target 'recognize-file' failed
make: *** [recognize-file] Error 1