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
Private inputBmp = AnyBitmap.FromFile("IMAGE_TO_READ.png")
' Load the asset into QrImageInput
Private imageInput As New QrImageInput(inputBmp)
' Create a QR Reader object
Private reader As New QrReader()
' Read the Input an get all embedded QR Codes
Private 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 point
Next result
Install-Package IronQR
高度なQRコードを読み取る
最先端の機械学習 (ML) モデルの統合により、最先端の QR コード読み取りエクスペリエンスを提供するという当社の取り組みが実証されています。 最先端のMLテクノロジーを採用することで、QRコードの読み取りを次のレベルに引き上げました。 当社の高度な ML モデルにより、困難なシナリオでもアプリケーションで比類のない精度と効率で QR コードをデコードできるようになります。 画像、動画、ライブカメラのフィードからQRコードを読み取る場合でも、当社のMLパワーソリューションは、必要な情報を迅速かつ確実に取得することを保証します。 この革新により、データ抽出が簡素化されるだけでなく、正当な QR コードと潜在的な脅威を区別できるため、セキュリティも強化されます。 当社の ML モデルを使用すると、QR コード読み取り機能が最先端の技術であり、ユーザーにシームレスで信頼性の高いエクスペリエンスを提供できることを確信できます。