IRONSOFTWAREHOME
读取高级二维码
using IronQr;
using IronSoftware.Drawing;
using System;
using System.Collections.Generic;

// Open the asset to read a QR Code from
var inputBmp = AnyBitmap.FromFile("IMAGE_TO_READ.png");

// Load the asset into QrImageInput
QrImageInput imageInput = new QrImageInput(inputBmp);

// Create a QR Reader object
QrReader reader = new QrReader();

// Read the Input an get all embedded QR Codes
IEnumerable<QrResult> results = reader.Read(imageInput);

// Use and Store the information as required
foreach (QrResult result in results)
{
    // String value of the QR Code
    Console.WriteLine(result.Value);

    // URI value of the QR Code
    Console.WriteLine(result.Url);

    // Coordinates of the QR Code
    foreach (IronSoftware.Drawing.PointF point in result.Points)
    {
        Console.WriteLine($"{point.X}, {point.Y}");
    }
}
Imports IronQr
Imports IronSoftware.Drawing
Imports System
Imports System.Collections.Generic

' Open the asset to read a QR Code from
Dim inputBmp = AnyBitmap.FromFile("IMAGE_TO_READ.png")

' Load the asset into QrImageInput
Dim imageInput As New QrImageInput(inputBmp)

' Create a QR Reader object
Dim reader As New QrReader()

' Read the Input and get all embedded QR Codes
Dim results As IEnumerable(Of QrResult) = reader.Read(imageInput)

' Use and Store the information as required
For Each result As QrResult In results
    ' String value of the QR Code
    Console.WriteLine(result.Value)

    ' URI value of the QR Code
    Console.WriteLine(result.Url)

    ' Coordinates of the QR Code
    For Each point As IronSoftware.Drawing.PointF In result.Points
        Console.WriteLine($"{point.X}, {point.Y}")
    Next
Next
NuGet Download
PM > Install-Package IronQR
读取高级二维码

读取高级二维码

我们致力于提供最先进的二维码读取体验,并通过集成最先进的机器学习 (ML) 模型来体现这一承诺。 通过采用最先进的 ML 技术,我们将二维码阅读提升到了一个新的水平。 我们先进的机器学习模型使您的应用程序能够以无与伦比的准确性和效率解码二维码,即使在具有挑战性的场景下也是如此。 无论是从图像、视频还是实时摄像机画面中读取 QR 码,我们的 ML 解决方案都能确保您快速、可靠地获取所需信息。 这项创新不仅简化了数据提取,而且还提高了安全性,因为它能够区分合法的二维码和潜在的威胁。 借助我们的机器学习模型,您可以确信您的二维码读取能力处于技术前沿,为您的用户提供流畅可靠的体验。

探索如何使用 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 天试用密钥
无需信用卡或创建账户