mirror of
https://github.com/snakers4/silero-vad.git
synced 2026-02-05 09:59:20 +08:00
Golang example
This commit is contained in:
19
examples/go/README.md
Normal file
19
examples/go/README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
## Golang Example
|
||||
|
||||
This is a sample program of how to run speech detection using `silero-vad` from Golang (CGO + ONNX Runtime).
|
||||
|
||||
### Requirements
|
||||
|
||||
- Golang >= v1.21
|
||||
- ONNX Runtime
|
||||
|
||||
### Usage
|
||||
|
||||
```sh
|
||||
go run ./cmd/main.go test.wav
|
||||
```
|
||||
|
||||
> **_Note_**
|
||||
>
|
||||
> Make sure you have the ONNX Runtime library and C headers installed in your path.
|
||||
|
||||
Reference in New Issue
Block a user