IRONSOFTWAREHOME
閱讀進階 QR 碼
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
閱讀進階 QR 碼

閱讀進階 QR 碼

我們對於提供最先進的QR碼讀取體驗的承諾體現在我們整合了最新的機器學習(ML)模型。 透過採用尖端的機器學習技術,我們將QR Code的讀取提升到全新層次。 我們的先進ML模型使您的應用程式能夠以無與倫比的準確性和效率來解碼QR碼,即使在具有挑戰性的情境中也是如此。 無論您是從圖片、影片或即時相機畫面中讀取QR Code,我們的機器學習驅動解決方案可確保您迅速且可靠地獲取所需資訊。 這項創新不僅簡化了資料提取,也提高了安全性,因為它可以區分合法的QR碼和潛在的威脅。 有了我們的ML模型,您可以放心,您的QR碼讀取能力處於技術的前沿,為您的使用者提供無縫且可靠的體驗。

探索如何使用IronQR從圖片中讀取QR Code
在 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天試用金鑰
無需信用卡或帳戶建立