- Golang >= v1.21
- A C compiler (e.g. GCC)
- ONNX Runtime (v1.18.1)
- A Silero VAD model (v5)
In order to build and/or run this library, you need to export (or pass) some env variables to point to the ONNX runtime files.
LD_RUN_PATH="/usr/local/lib/onnxruntime-linux-x64-1.18.1/lib"
LIBRARY_PATH="/usr/local/lib/onnxruntime-linux-x64-1.18.1/lib"
C_INCLUDE_PATH="/usr/local/include/onnxruntime-linux-x64-1.18.1/include"
LIBRARY_PATH="/usr/local/lib/onnxruntime-linux-x64-1.18.1/lib"
C_INCLUDE_PATH="/usr/local/include/onnxruntime-linux-x64-1.18.1/include"
sudo update_dyld_shared_cache
MIT License - see LICENSE for full text