读取高级二维码
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}");
    }
}
NuGet下载
PM > Install-Package IronQR
读取高级二维码

读取高级二维码

我们致力于提供最先进的二维码读取体验,并通过集成最先进的机器学习 (ML) 模型来体现这一承诺。 通过运用尖端的机器学习技术,我们将二维码读取提升到了一个新的水平。 我们的高级ML模型使您的应用能够准确且高效地解码QR码,即便在具有挑战性的情况下也是如此。 无论您是从图像、视频还是实时摄像头画面中读取二维码,我们基于机器学习的解决方案都能确保您快速可靠地获取所需信息。 此创新简化了数据提取。 借助我们的机器学习模型,您可以确信您的二维码读取能力处于技术前沿,为您的用户提供流畅可靠的体验。

探索如何使用 IronQR 从图像中读取二维码
在GitHub上查看

准备开始了吗?

NuGet 下载量 82,442版本:2026.11刚刚发布