置信阈值 - ML
从 2023 年 12 月起,IronBarcode 已将机器学习技术融入其条形码检测能力。 将BarcodeReaderOptions以建立ML模型检测被视为有效的最小置信水平。 置信阈值介于0.7。
对于不使用机器学习的条码检测,请考虑使用Barcode.Slim包。
准备开始了吗?
Nuget 下载 2,317,217 | 版本: 2026.7 刚刚发布
using IronBarCode;
BarcodeReaderOptions readerOptions = new BarcodeReaderOptions()
{
ExpectMultipleBarcodes = true,
// Set minimum confidence level
ConfidenceThreshold = 0.3,
};
// Read with the options applied
var results = BarcodeReader.Read("barcode.png", readerOptions);
Imports IronBarCode
Private readerOptions As New BarcodeReaderOptions() With {
.ExpectMultipleBarcodes = True,
.ConfidenceThreshold = 0.3
}
' Read with the options applied
Private results = BarcodeReader.Read("barcode.png", readerOptions)
Install-Package BarCode
从 2023 年 12 月起,IronBarcode 已将机器学习技术融入其条形码检测能力。 将BarcodeReaderOptions以建立ML模型检测被视为有效的最小置信水平。 置信阈值介于0.7。
对于不使用机器学习的条码检测,请考虑使用Barcode.Slim包。