using IronQr;
using IronSoftware.Drawing;
using IronQr.Enum;
using System.Collections.Generic;
var inputBmp = AnyBitmap.FromFile("IMAGE_TO_READ.png");
// Use Auto => Machine Learning Scan
// Careful Scan => Useful for scanning documents slowly and carefully
QrImageInput scan_ML_and_normal = new QrImageInput(inputBmp, QrScanMode.Auto);
IEnumerable<QrResult> results1 = new QrReader().Read(scan_ML_and_normal);
// Use Machine Learning Scan
// High Speed => Useful for scanning frames from a camera
QrImageInput scan_ML_only = new QrImageInput(inputBmp, QrScanMode.OnlyDetectionModel);
IEnumerable<QrResult> results2 = new QrReader().Read(scan_ML_only);
// Use Basic Scan without Machine Learning
QrImageInput scan_normal_only = new QrImageInput(inputBmp, QrScanMode.OnlyBasicScan);
IEnumerable<QrResult> results3 = new QrReader().Read(scan_normal_only);
Imports IronQr
Imports IronSoftware.Drawing
Imports IronQr.Enum
Imports System.Collections.Generic
Private inputBmp = AnyBitmap.FromFile("IMAGE_TO_READ.png")
' Use Auto => Machine Learning Scan
' Careful Scan => Useful for scanning documents slowly and carefully
Private scan_ML_and_normal As New QrImageInput(inputBmp, QrScanMode.Auto)
Private results1 As IEnumerable(Of QrResult) = (New QrReader()).Read(scan_ML_and_normal)
' Use Machine Learning Scan
' High Speed => Useful for scanning frames from a camera
Private scan_ML_only As New QrImageInput(inputBmp, QrScanMode.OnlyDetectionModel)
Private results2 As IEnumerable(Of QrResult) = (New QrReader()).Read(scan_ML_only)
' Use Basic Scan without Machine Learning
Private scan_normal_only As New QrImageInput(inputBmp, QrScanMode.OnlyBasicScan)
Private results3 As IEnumerable(Of QrResult) = (New QrReader()).Read(scan_normal_only)
Install-Package IronQR
自訂 QR 讀取模式選項
我們致力於提供最先進的 QR 碼讀取體驗,這體現在我們對最先進的機器學習技術的整合中。(機器學習)模型。 我們採用了尖端的機器學習技術,將 QR 碼讀取提升到了新的水平。 我們先進的機器學習模型讓您的應用程式能以無與倫比的準確性和效率解碼 QR 碼,即使在具挑戰性的情況下也能表現出色。 不論您是從圖像、影片或即時攝影機串流中讀取QR碼,我們的機器學習驅動解決方案都能確保您迅速且可靠地獲得所需資訊。 這項創新不僅簡化了數據提取過程,同時也增強了安全性,因為它能夠區分合法的QR碼與潛在的威脅。 藉由我們的機器學習模型,您可以相信您的 QR 碼讀取功能處於科技前沿,為您的用戶提供無縫且可靠的體驗。