IRONSOFTWAREHOME
自定义二维码读取模式选项
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
自定义二维码读取模式选项

自定义二维码读取模式选项

我们致力于提供最先进的ML)模型的集成得到了体现。 通过采用尖端的QR代码读取提升到了新的水平。 我们先进的QR代码,即便在具有挑战性的场景中。 无论您是在从图像、视频还是实时相机中读取ML驱动解决方案都确保您能够快速可靠地获取所需信息。 这一创新不仅简化了数据提取,还增强了安全性,因为它可以区分合法的QR代码和潜在威胁。 有了我们的QR代码读取能力处于技术的前沿,为用户提供无缝和值得信赖的体验。

探索如何使用 IronQR 从图像中读取二维码。
在 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 天试用密钥
无需信用卡或创建账户