xiaozhi-esp32-server/main/xiaozhi-server/models/snakers4_silero-vad/examples/go/README.md

333 B

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

go run ./cmd/main.go test.wav

Note

Make sure you have the ONNX Runtime library and C headers installed in your path.