Re:Whisper – open source speech recognition by OpenAI
by kkielhofner on Wednesday September 21, 2022 @11:09PM
(#32934397)
Haven’t tried it yet but love the concept!
Have you thought of using VAD (voice activity detection) for breaks? Back in my day (a long time ago) the webrtc VAD stuff was considered decent:
https://github.com/wiseman/py-webrtcvad
Model isn’t optimized for this use but I like where you’re headed!
Re:Whisper – open source speech recognition by OpenAI
by thuttinger on Thursday September 22, 2022 @06:15AM
(#32936903)
Interesting. I'll take a look at this, thanks!
Re:Whisper – open source speech recognition by OpenAI
by Curiositry on Thursday September 22, 2022 @06:01PM
(#32945191)
Perhaps this could be adapted?
https://github.com/mozilla/DeepSpeech-examples/blob/master/m...
[dead]
Re:Whisper – open source speech recognition by OpenAI
by secret-noun on Thursday September 22, 2022 @01:16AM
(#32935035)
impressive
If you want to give it a shot, you can find the python script in this repo: https://github.com/tobiashuttinger/openai-whisper-realtime
A bit more context on how it works: The systems default audio input is captured with python, split into small chunks and is then fed to OpenAI's original transcription function. It tries (currently rather poorly) to detect word breaks and doesn't split the audio buffer in those cases. With how the model is designed, it doesn't make the most sense to do this, but i found it would be worth trying. It works acceptably well.