# Online/streaming speech recognition

**URL:** <https://discuss.huggingface.co/t/online-streaming-speech-recognition/4456>\
**Category:** Research\
**Created:** [March 17, 2021, 12:22am UTC](https://discuss.huggingface.co/t/online-streaming-speech-recognition/4456 "2021-03-17T00:22:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Salama1429](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@Salama1429](https://discuss.huggingface.co/u/Salama1429)\
**Post date:** [October 26, 2022, 8:19am UTC](https://discuss.huggingface.co/t/online-streaming-speech-recognition/4456/3 "2022-10-26T08:19:28Z")

</div>

please check this one

> [@Use wav2vec2 models with a microphone easily](https://discuss.huggingface.co/t/use-wav2vec2-models-with-a-microphone-easily/5522):
>
> Hello folks, I wrote a little lib to be able to use any wav2vec2 model from the model hub with a microphone. Since wav2vec2 does not support streaming mode, I used voice activity detection to create audio chunks that I can feed into the model. Here is a little example, you can [find the code on github](https://github.com/oliverguhr/wav2vec2-live). from live\_asr import LiveWav2Vec2 german\_model = "maxidl/wav2vec2-large-xlsr-german" asr = LiveWav2Vec2(german\_model,device\_name="default") asr.start() try: while True: tex…

---

_[View the full topic](https://discuss.huggingface.co/t/online-streaming-speech-recognition/4456)._
