#### [Apq\.Cfg](index.md 'index') ### [Apq\.Cfg](Apq.Cfg.md 'Apq\.Cfg').[CfgBuilder](Apq.Cfg.CfgBuilder.md 'Apq\.Cfg\.CfgBuilder') ## CfgBuilder\.WithEncodingConfidenceThreshold\(float\) Method 设置编码检测置信度阈值(0\.0\-1\.0) ```csharp public Apq.Cfg.CfgBuilder WithEncodingConfidenceThreshold(float threshold); ``` #### Parameters `threshold` [System\.Single](https://learn.microsoft.com/en-us/dotnet/api/system.single 'System\.Single') 置信度阈值,范围 0\.0\-1\.0,默认 0\.6 #### Returns [CfgBuilder](Apq.Cfg.CfgBuilder.md 'Apq\.Cfg\.CfgBuilder')