Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Quickstart guide and steps on Linux #43

Open
@eliaspekkala

Description

@eliaspekkala

I had trouble understanding the Quickstart guide in the README, but eventually got it working.

Maybe we could update the Quickstart guide to show the exact steps (to try it) on each platform?

In case it helps someone, here is what I did to try deepspeech-rs on Linux (Manjaro):

  1. git clone [email protected]:RustAudio/deepspeech-rs.git

  2. cd deepspeech-rs

  3. wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/deepspeech-0.9.3-models.pbmm

  4. mkdir models

  5. mv deepspeech-0.9.3-models.pbmm ./models

  6. wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/native_client.amd64.cpu.linux.tar.xz

  7. mkdir native_client

  8. tar xf native_client.amd64.cpu.linux.tar.xz --directory=./native_client

  9. export LD_LIBRARY_PATH=./native_client

  10. export LIBRARY_PATH=./native_client

  11. arecord -f cd -c 1 test.wav

  12. Say "one two three" and then press Ctrl-c

  13. cargo run --release --example client ./models ./test.wav

  14. Look at the output, which should be "one two three"

  15. All done! To try other words/sentences, do steps 11 to 13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions