Golang example

This commit is contained in:
streamer45
2023-11-08 17:48:36 -06:00
parent cb92cdd1e3
commit bbbc657dad
4 changed files with 108 additions and 0 deletions

19
examples/go/README.md Normal file
View 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.