DeepSpeech as a (Docker) Service for IBus
Project description
DeepSpeech as a (Docker) Service for IBus
This repository includes the following:
- a Docker container that can run DeepSpeech hardware-accelerated by your host OS's (nVidia) graphics card; the container reads audio from a pipe and reports results to an event
- an IBus Engine that allows the reslts of the recognition to be treated as regular input to the (Linux) host operating system
Installation/Setup
git clone https://github.com/mcfletch/deepspeech-docker.git
cd deepspeech-docker
Starting the daemon in a docker container:
./recogpipe/dockersetup.py
# when docker container is started...
./recogpipe/daemon.py
Feeding some data into the daemon from your microphone:
ffmpeg-audio.sh
Feeding some data into the daemon from a wav file:
ffmpeg-sample.sh path/to/your/file.wav
Running the IBus daemon on your desktop:
./recogpipe/ibusengine.py
Testing bits out...
Sending audio to the daemon
./ffmpeg-audio.sh hw:1,1
./ffmpeg-sample.sh /path/to/some.wav
Viewing the raw transcripts from the daemon
nc -U /tmp/dspipe/events
Running the ibus engine interactively:
./ibusengine.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
recogpipe-0.1.0.tar.gz
(1.2 MB
view details)
File details
Details for the file recogpipe-0.1.0.tar.gz.
File metadata
- Download URL: recogpipe-0.1.0.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e77f670af956b831e731b0cc4eab9dffa5541cc4af90b8df152ec77c1570d2f4
|
|
| MD5 |
9fb7c4e703280ed580cfbf88b7cb1954
|
|
| BLAKE2b-256 |
040442694ac91c43931fc3dc06eec57e331db6302b0834cb3e6a8447f4903370
|