Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 2.7 : recognize_by_file throws an error #7

Closed
vigneshjathavara opened this issue Nov 1, 2017 · 0 comments · May be fixed by #16
Closed

Python 2.7 : recognize_by_file throws an error #7

vigneshjathavara opened this issue Nov 1, 2017 · 0 comments · May be fixed by #16

Comments

@vigneshjathavara
Copy link

In file acrcloud_sdk_python/raspberrypi/python2.7/acrcloud/recognizer.py the function recognize_by_file has 5 parametes with the last one being filter_e . This parameter is used during function call acrcloud_extr_tool.create_fingerprint_by_file(file_path, start_seconds, rec_length, False, filter_e) but this function accepts only 4 parameters whereas 5 are being passed. The filter_e parameter has to be removed and it solves the problem. The changed code that I am able to run successfully is acrcloud_extr_tool.create_fingerprint_by_file(file_path, start_seconds, rec_length, False)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants