【问题标题】:Why the speak recognition score is 0为什么说话识别分数是0
【发布时间】:2021-03-05 10:33:21
【问题描述】:

我使用cognitive speech sdk sample 创建了一个 Speaker Recognition profiler,它工作正常,结果分数是 0.8,然后我想重用 profile,但分数总是 0。 我哪里错了?

void TextIndependentVerification(shared_ptr<VoiceProfileClient> client, shared_ptr<SpeakerRecognizer> recognizer)
{
    std::cout << "Text Independent Verification:\n\n";
    
    auto profile = VoiceProfile::FromId("3b32c3dc-a974-497f-b6af-7cda3b607751");

    std::cout << "Created profile ID: " << profile->GetId() << "\n";

    SpeakerVerify(profile, recognizer);
 
}

【问题讨论】:

    标签: azure-cognitive-services


    【解决方案1】:

    请按照以下 REST API 验证现有配置文件是否与输入音频相匹配。 https://docs.microsoft.com/en-us/rest/api/speakerrecognition/verification/textindependent/verifyprofile

    使用 SDK,您可以使用以下helper 函数并验证通过现有语音配置文件。

    【讨论】:

      猜你喜欢
      • 2016-07-18
      • 2022-11-26
      • 1970-01-01
      • 2017-04-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多