bedangsen / voicesens Goto Github PK
View Code? Open in Web Editor NEWA Voice Biometric Application using Watson Speech to Text
License: Apache License 2.0
A Voice Biometric Application using Watson Speech to Text
License: Apache License 2.0
Dear developers,
Your project VoiceSens requires "fuzzywuzzy==0.17.0" in its dependency. After analyzing the source code, we found that the following versions of fuzzywuzzy can also be suitable without affecting your project, i.e., fuzzywuzzy 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.15.1, 0.16.0, 0.18.0. Therefore, we suggest to loosen the dependency on fuzzywuzzy from "fuzzywuzzy==0.17.0" to "fuzzywuzzy>=0.8.0,<=0.18.0" to avoid any possible conflict for importing more packages or for downstream projects that may use ddos_script.
May I pull a request to further loosen the dependency on fuzzywuzzy?
By the way, could you please tell us whether such dependency analysis may be potentially helpful for maintaining dependencies easier during your development?
Details:
Your project (commit id: 92c6def) directly uses 2 APIs from package fuzzywuzzy.
fuzzywuzzy.fuzz.partial_ratio, fuzzywuzzy.fuzz.ratio
Beginning fromwhich, 11 functions are then indirectly called, including 7 fuzzywuzzy's internal APIs and 4 outsider APIs as follows:
[/bedangSen/VoiceSens]
+--fuzzywuzzy.fuzz.partial_ratio
| +--fuzzywuzzy.utils.make_type_consistent
| +--difflib.SequenceMatcher
| +--fuzzywuzzy.StringMatcher.StringMatcher.__init__
| | +--warnings.warn
| | +--fuzzywuzzy.StringMatcher.StringMatcher._reset_cache
| +--difflib.SequenceMatcher.get_matching_blocks
| +--fuzzywuzzy.StringMatcher.StringMatcher.get_matching_blocks
| | +--fuzzywuzzy.StringMatcher.StringMatcher.get_opcodes
| +--difflib.SequenceMatcher.ratio
| +--fuzzywuzzy.StringMatcher.StringMatcher.ratio
| +--fuzzywuzzy.utils.intr
+--fuzzywuzzy.fuzz.ratio
| +--fuzzywuzzy.utils.make_type_consistent
| +--difflib.SequenceMatcher
| +--fuzzywuzzy.StringMatcher.StringMatcher.__init__
| +--fuzzywuzzy.utils.intr
| +--difflib.SequenceMatcher.ratio
| +--fuzzywuzzy.StringMatcher.StringMatcher.ratio
Since all these functions have not been changed between any version for package "fuzzywuzzy" from [0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.15.1, 0.16.0, 0.18.0] and 0.17.0. Therefore, we believe it is safe to loosen the corresponding dependency.
Running on m1 macbook pro, while following installation instructions I've encountered this:
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [4 lines of output]
<string>:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
error in pandas setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
pytz >= 2011k
~~~~~~~^
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
Really nice project! I'd like to ask say there's only one person enrolled as a user. If that person logs in and then a different person speaks into the mic, the "max" will always return the same person so there will always be a match. Is there a threshold for the log likelihood we can set that at some point none of the enrolled users match the user thats speaking?
background_voice.wav file is missing in the static/audio/background_voice.wav.
can please say what type of file is it
I got the error in line number 198 in voice.py at recognised_words
once I complete my audio detection after that I got error like list index out of range
please help me in this
Index list out of bounds at line 198
When the user is enrolling it's creating a Users directory but during checking it's checking in Models. How am I supposed to create my own .gmm files so as to get validated as an user ?
Hashing the audio files and signing it with the clients private key, to prevent man in the middle attacks.
The Python speech recognition library still uses the legacy authentication method. Need to change this to the new AIM method of authentication.
Look into how to deploy the model created as a WML model and generating an endpoint for the scoring, so that it can be used as an API
Configure performance monitoring to evaluate and retrain the model periodically to ensure the model performance is acceptable. You will need an existing PostgreSQL or IBM Db2 Warehouse on Cloud connection associated with your project to be used as your feedback data connection.
Can this be used in the project?
Hey there,
I'm trying to setup the demo of this awesome project but I'm experimenting a bug. I've managed to add my IBM credentials and start up the Flask server, but when I try to complete the enrollment process, after pressing the "Start recording" button, the web app keeps stuck in the "Scanning for Environmental Sound" for quite more than 5 seconds. I'm silent and a I can see sound waves in the web app, but nothing happens. I don't know if I'm suppose to start speaking or anything.
Thanks for your time and hope to get this working!
After enrolling myself I try to authenticate my account and when I try to sign in it says user does not exist. Does anyone know how to fix this?
when signing in with an existing user, it brings me back to the enrollment page instead of the verify page, when trying to manually go to the verify page it produces this error. Does anyone know how to resolve this?
Traceback (most recent call last):
File "/home/michael/.local/lib/python3.8/site-packages/flask/app.py", line 2091, in call
return self.wsgi_app(environ, start_response)
File "/home/michael/.local/lib/python3.8/site-packages/flask/app.py", line 2076, in wsgi_app
response = self.handle_exception(e)
File "/home/michael/.local/lib/python3.8/site-packages/flask/app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "/home/michael/.local/lib/python3.8/site-packages/flask/app.py", line 1518, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/michael/.local/lib/python3.8/site-packages/flask/app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "/home/michael/.local/lib/python3.8/site-packages/flask/app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/michael/VoiceSens/voice.py", line 291, in verify
(rate, signal) = scipy.io.wavfile.read(filename_wav)
File "/home/michael/.local/lib/python3.8/site-packages/scipy/io/wavfile.py", line 647, in read
fid = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: ''
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.