信心水準 - 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軟體包。