Add Speaker ID demo for C# (#862)

This commit is contained in:
Fangjun Kuang
2024-05-11 13:27:33 +08:00
committed by GitHub
parent a88b3bac21
commit 677bc1da3e
10 changed files with 511 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -ex
if [ ! -e ./3dspeaker_speech_eres2net_base_sv_zh-cn_3dspeaker_16k.onnx ]; then
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/speaker-recongition-models/3dspeaker_speech_eres2net_base_sv_zh-cn_3dspeaker_16k.onnx
fi
if [ ! -d ./sr-data ]; then
git clone https://github.com/csukuangfj/sr-data
fi
dotnet run