Realtime captions in obs-studio using DeepSpeech.
Realtime captions in obs-studio using DeepSpeech.
pip install -r ./requirements.txt
./deepspeech-models
.The folder structure should look something like:
caption_stream.py
deepspeech-models
lm.binary
output_graph.pb
output_graph.pbmm
output_graph.tflite
trie
Tools > Scripts
Python Settings
tab./caption_stream.py
in Scripts
tabCaptions Text Source
VAD Aggressiveness
controls voice activation, a lower value will let more noise through.Caption Clear Delay
controls how long captions remain on the screen.Captions Text Source
controls what element captions appear on.
The other settings are probably best left alone unless you know what you are doing.
For more details, see: https://github.com/mozilla/DeepSpeech/blob/master/examples/mic_vad_streaming/README.rst#usage