跳過到頁腳內容
條碼工具

QR碼閱讀器的在線圖像工具

術語QR碼代表快速響應碼。 QR碼是可以由智能手機和其他設備讀取的2D條碼。 它們可以用來在小空間內存儲大量信息,經常用於顯示文本、聯繫信息、二進位碼或網站鏈接。 QR碼由Denso Wave Inc.於1994年首次發明。它們被設計成一種類型的條碼,可以通過掃描儀或攝像頭電子讀取。 QR碼的工作原理與超市的條碼相同。 它是一個機器可掃描的圖像,可以使用智能手機的原生相機應用立即讀取。

QR碼在我們的社會中變得更加必要,因為它們可以存儲大量信息,隨著智能手機和其他設備的發明,它們變得更加易於訪問。 它們對於企業也很有幫助,因為它們允許公司將聯繫信息放在所有的營銷材料上,這能夠通過營銷努力提高客戶轉化率。

QR碼已經成為我們生活的重要組成部分,因為它們可以在大多數產品、廣告,甚至名片上找到。 QR碼已經使用多年,但因為智能手機能夠掃描它們而在最近幾年變得流行起來。 我們可以使用Google Lens應用在手機上掃描QR碼。 它在Google Photos應用中可用。

有更多的在線QR碼工具可以用來掃描QR碼。 讓我們來看看它們:

在線QR碼讀取器

4qrcode

4qrcode is a handy tool that can create and scan QR codes. 你只需輸入信息(如URL),軟件會自動生成你的QR碼。 另外,你可以保存它們為不同的格式,例如PNG、JPEG、SVG和EPS。 我們希望你能確保記住你想編碼的內容種類。 輸入文本可以是任意類型的信息。 輸入的例子包括文本、數字、網站鏈接、圖像甚至視頻。 具有不同類型內容的QR碼可以根據服務生成。有很多類型的QR碼,所以一定要使用正確的。 您可以嘗試尋找一個適合你的選項的QR碼生成器。

讓我們看看如何使用4qrcode掃描QR碼:

class="content-img-align-center">
class="center-image-wrapper"> Qr Code Reader From Image 1 related to 4qrcode
  • 點擊文件圖標並選擇QR碼圖像。 你可以拖放圖像文件。
  • 當你選擇圖像後,它會自動解碼並在下個框中顯示輸出。
class="content-img-align-center">
class="center-image-wrapper"> Qr Code Reader From Image 2 related to 4qrcode

ZXing解碼器在線

ZXing Decoder Online is an online barcode and QR code scanner. 只需上傳QR碼的PNG或其他格式的圖像,它會開始解碼。 同樣,你可以為任何信息創建QR碼。 主要是那些信息將會是你想要在QR碼中編碼的URL或文本。

讓我們來看看如何使用ZXing在線解碼器:

class="content-img-align-center">
class="center-image-wrapper"> Qr Code Reader From Image 3 related to ZXing解碼器在線
  • 點擊選擇文件按鈕並選擇QR圖像文件。選擇圖像後,點擊提交按鈕。 它將開始讀取代碼。 如果有可識別的代碼,它將讀取QR碼並顯示結果。
class="content-img-align-center">
class="center-image-wrapper"> Qr Code Reader From Image 4 related to ZXing解碼器在線

我們已經看到如何輕鬆使用ZXing QR碼應用掃描QR碼。

IMGonline.com.ua

IMGonline is an amazing tool that can decode QR Codes online. It will scan QR codes and show the decoded value. 讓我們來看看如何做到這一點:

class="content-img-align-center">
class="center-image-wrapper"> Qr Code Reader From Image 5 related to IMGonline.com.ua
  • 點擊選擇文件按鈕,並選擇QR碼圖像。 你可以選擇BMP、GIF、JPEG、PNG和TIFF格式的圖像。
  • 選擇QR碼圖標圖像後,點擊確定按鈕。 它將開始處理QR碼,並在下一頁顯示QR碼詳細信息。
class="content-img-align-center">
class="center-image-wrapper"> Qr Code Reader From Image 6 related to IMGonline.com.ua

這樣我們就可以看到QR碼中包含了什麼詳細信息,這是在線和免費的。

IronBarcode:C# 條碼庫

IronBarcode是C#開發者的綜合條碼庫。 它提供了一個簡單的API,用於在C#中生成和讀取條碼。 它還有一個QR碼讀取器和QR碼生成器,可用於在C#程序中讀取和生成QR碼。 IronBarcode庫可以解析PNG、JPEG、GIF、BMP和TIFF格式的條碼。 它還可以生成相同類型的條碼。IronBarcode還有內建的QR碼生成器。

IronBarcode包含一個BarcodeReader類、一個BarcodePrint類和定制的Xamarin.Forms條碼。 它還包括在Barcode類中選擇的新顏色,除了IronBarcode中已經提供的黑色、白色和紅色外,還引入了支持膚色和髮色的新顏色:中等棕褐色、淺棕褐色、深棕色、深金/棕色混合、淺金/棕色混合。

讓我們來看看如何使用IronBarcode庫讀取QR碼:

using IronBarCode;  // Make sure to include the IronBarcode namespace

// Attempt to read a barcode from the specified image
BarcodeResult result = BarcodeReader.QuicklyReadOneBarcode("QuickStart.jpg");

if (result != null)
{
    // Output the text content of the barcode if it's successfully read
    Console.WriteLine(result.Text);  
}
using IronBarCode;  // Make sure to include the IronBarcode namespace

// Attempt to read a barcode from the specified image
BarcodeResult result = BarcodeReader.QuicklyReadOneBarcode("QuickStart.jpg");

if (result != null)
{
    // Output the text content of the barcode if it's successfully read
    Console.WriteLine(result.Text);  
}
Imports IronBarCode ' Make sure to include the IronBarcode namespace

' Attempt to read a barcode from the specified image
Private result As BarcodeResult = BarcodeReader.QuicklyReadOneBarcode("QuickStart.jpg")

If result IsNot Nothing Then
	' Output the text content of the barcode if it's successfully read
	Console.WriteLine(result.Text)
End If
$vbLabelText   $csharpLabel

這是一個非常簡單的方法,可以使用IronBarcode庫讀取QR碼。 QuicklyReadOneBarcode函數將讀取QR碼並將輸出存儲在result變量中。

我們可以按照這段代碼來提高工作:

using IronBarCode;  // Make sure to include the IronBarcode namespace
using System.Drawing;  // Needed for Rectangle

// Define a specific read area to increase scanning speed and accuracy
Rectangle readArea = new Rectangle(100, 200, 300, 400);

// Attempt to read a barcode from the specified image and area, considering only specific barcode types
BarcodeResult result = BarcodeReader.QuicklyReadOneBarcode("QuickStart.jpg", readArea, BarcodeEncoding.QRCode | BarcodeEncoding.Code128);

if (result != null)
{
    // Output the text content of the barcode if it's successfully read
    Console.WriteLine(result.Text);  
}
using IronBarCode;  // Make sure to include the IronBarcode namespace
using System.Drawing;  // Needed for Rectangle

// Define a specific read area to increase scanning speed and accuracy
Rectangle readArea = new Rectangle(100, 200, 300, 400);

// Attempt to read a barcode from the specified image and area, considering only specific barcode types
BarcodeResult result = BarcodeReader.QuicklyReadOneBarcode("QuickStart.jpg", readArea, BarcodeEncoding.QRCode | BarcodeEncoding.Code128);

if (result != null)
{
    // Output the text content of the barcode if it's successfully read
    Console.WriteLine(result.Text);  
}
Imports IronBarCode ' Make sure to include the IronBarcode namespace
Imports System.Drawing ' Needed for Rectangle

' Define a specific read area to increase scanning speed and accuracy
Private readArea As New Rectangle(100, 200, 300, 400)

' Attempt to read a barcode from the specified image and area, considering only specific barcode types
Private result As BarcodeResult = BarcodeReader.QuicklyReadOneBarcode("QuickStart.jpg", readArea, BarcodeEncoding.QRCode Or BarcodeEncoding.Code128)

If result IsNot Nothing Then
	' Output the text content of the barcode if it's successfully read
	Console.WriteLine(result.Text)
End If
$vbLabelText   $csharpLabel

這段增強代碼通過指定QR碼的特定區域來掃描,提高了讀取條碼的速度和準確性。 我們還可以指定特定的條碼格式(或多個格式),以便IronBarcode不必嘗試解碼每一種已知的條碼類型。

IronBarcode庫免費供個人使用,但如果你是一個開發者,你需要購買IronBarcode的許可證才能在你的商業項目中使用它。 它還有一個免費試用在生產中使用而沒有水印。 你可以在不提供支付信息的情況下訪問試用版。 Once you have decided to buy the software, go to this link and choose the plan according to your choice.

Jordi Bardia
軟體工程師
Jordi 在 Python、C# 和 C++ 上最得心應手,當他不在 Iron Software 展現技術時,便在做遊戲編程。在分担产品测测试,产品开发和研究的责任时,Jordi 为持续的产品改进增值。他说这种多样化的经验使他受到挑战并保持参与, 而这也是他与 Iron Software 中工作一大乐趣。Jordi 在佛罗里达州迈阿密长大,曾在佛罗里达大学学习计算机科学和统计学。