Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brklntmhwk/leopard-stt-rust


https://github.com/brklntmhwk/leopard-stt-rust

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Leopard Speech-to-Text Rust

This is a speech-to-text software powered by Leopard Speech-to-Text from [Picovoice](https://picovoice.ai/).

The code inside this repo mostly refers to
- https://github.com/Picovoice/leopard

## Prerequisites
- You have already
- installed Rust dev environment on your local machine
- https://www.rust-lang.org/ja/tools/install
- signed up for Picovoice
- https://console.picovoice.ai/
- In your dashboard, copy your accesskey

## How to use

1. Clone this repo
```
git clone https://github.com/brklntmhwk/leopard-stt-rust.git
```
2. Open it in a code editor

3. Create ```.env``` file in the project root and paste your accesskey as ACCESS_KEY in ```.env```
- Refer to ```.env.example```

4. Put an audio file (mp3, etc..) in audio/ directory
- you could put multiple files, but only the first one is supposed to be read in an alphabetical order

5. Build & run this binary project
```
cargo run
```

5. The resultant text file is created as output.txt