IRONSOFTWAREHOME
自訂 QR 碼讀取模式選項
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

Dim inputBmp = AnyBitmap.FromFile("IMAGE_TO_READ.png")

' Use Auto => Machine Learning Scan
' Careful Scan => Useful for scanning documents slowly and carefully
Dim scan_ML_and_normal As New QrImageInput(inputBmp, QrScanMode.Auto)
Dim 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
Dim scan_ML_only As New QrImageInput(inputBmp, QrScanMode.OnlyDetectionModel)
Dim results2 As IEnumerable(Of QrResult) = New QrReader().Read(scan_ML_only)

' Use Basic Scan without Machine Learning
Dim scan_normal_only As New QrImageInput(inputBmp, QrScanMode.OnlyBasicScan)
Dim results3 As IEnumerable(Of QrResult) = New QrReader().Read(scan_normal_only)
NuGet Download
PM > Install-Package IronQR
自訂 QR 碼讀取模式選項

自訂 QR 碼讀取模式選項

我們對提供最先進的ML)模型得以體現。 透過採用尖端的QR程式碼閱讀已經提升到下一個級別。 我們的先進QR程式碼,即使在挑戰性的情境中。 無論您是從圖片、影片或現場攝影鏡頭中讀取ML支持解決方案確保您能迅速且可靠地獲取所需資訊。 這一創新不僅簡化了資料提取,還增強了安全性,因為它可以區分合法的QR程式碼和潛在威脅。 有了我們的QR程式碼讀取能力處於技術前沿,為您的使用者提供無縫且可靠的體驗。

探索如何使用IronQR從圖片讀取QR程式碼。
在 GitHub 查看

準備好開始了嗎?

Nuget Downloads 74,386版本:2026.9剛剛發布

Key in blue circle

立即免費取得 30 天試用金鑰

Your trial license will be sent to your email address

無任何限制。100% 解鎖。無需信用卡。

bullet_checked無需信用卡或建立帳號無任何限制。100% 解鎖。無需信用卡。
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
預約您的免費現場演示
Booking Badge

受到全球數百萬工程師的信賴

Iron Software的客戶標誌
獲取您的無義務諮詢
填寫以下表單或發送電子郵件至sales@ironsoftware.com
您的詳細資訊將始終保密。
受到全球數百萬工程師的信賴
Iron Software的客戶標誌
立即獲取您的30天試用金鑰
無需信用卡或帳戶建立