我們致力於提供最先進的二維碼讀取體驗,並透過整合最先進的機器學習 (ML) 模型來體現這一承諾。 透過運用尖端的機器學習技術,我們將二維碼讀取提升到了一個新的水平。 我們的先進ML模型使您的應用程式能夠在挑戰性場景中準確且高效地解碼QR碼。 無論您是從影像、視訊或即時攝影機畫面中讀取二維碼,我們基於機器學習的解決方案都能確保您快速可靠地獲取所需資訊。 這項創新簡化了資料擷取。 借助我們的機器學習模型,您可以確信您的二維碼讀取功能處於技術前沿,為您的用戶提供流暢可靠的體驗。
探索如何使用 IronQR 從影像中讀取二維碼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
NextImports 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