Uberi / speech_recognition

Speech recognition module for Python, supporting several engines and APIs, online and offline.
https://pypi.python.org/pypi/SpeechRecognition/
BSD 3-Clause "New" or "Revised" License
8.45k stars 2.4k forks source link

recognize_ibm() APIKey or IAM? #453

Open JonhnyDev opened 4 years ago

JonhnyDev commented 4 years ago

recognize_ibm() now only works with API key and not but with username and password, could you add this fix?

thenickg commented 4 years ago

FYI: IBM deprecated access via Username and Password starting 10/30/2019, with limited support until 1/10/2020. For me on all my IBM endpoints using Username and Password, as of 1/10/2020 they stopped working. I do not believe that this library can mitigate the issue. The right fix would be removing the option for username and password from the library entirely

Read more here: https://medium.com/ibm-watson/identity-and-access-management-updates-for-watson-services-12b6344b9cf

agooday-ml commented 4 years ago

just run into this - curl with just API key is fine, but only username/password option available here. Is there a fix planned?

bfackland commented 4 years ago

I managed to get around this myself following guidance here:

IBM Speech to Text: SpeechRecognition’s method recgonize_ibm() didn’t work due to credential issue as IBM has udpated the credential system. So we didn’t use it. Instead we used IBM’s library for that.

https://www.pragnakalp.com/speech-recognition-speech-to-text-python-using-google-api-wit-ai-ibm-cmusphinx/

See heading "4. IBM Watson Speech to Text".

But it'd be great if recognize_ibm could be brought up to date 😄