置信阈值 - ML
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);
NuGet下载
PM > Install-Package BarCode
置信阈值 - ML

置信阈值 - ML

从 2023 年 12 月起,IronBarcode 已将机器学习技术融入其条形码检测能力。 设置ConfidenceThreshold属性的BarcodeReaderOptions,以确定被认为有效的机器学习模型检测的最低置信度水平。 置信度阈值介于0.0和1.0之间,默认设置为0.7。

对于不使用机器学习的条形码检测,建议使用Barcode.Slim软件包。

通过 IronBarcode 学习图像校正技术
在GitHub上查看

准备开始了吗?

NuGet 下载量 2,575,633版本:2026.11刚刚发布