跳至页脚内容
条形码工具

QR Code Reader from Image Online Tools

术语QR码代表快速响应码。 QR码是可以由智能手机和其他设备读取的二维条码。 它们可以用于在狭小空间中存储大量信息,常用于显示文本、联系信息、二进制代码或网站链接。 QR码首次发明于1994年,由Denso Wave公司设计。他们设计为一种可以通过扫描仪或相机电子读取的条码。 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 Decoder Online

ZXing Decoder Online is an online barcode and QR code scanner. 只需上传PNG或其他格式的QR码图像,它将开始解码。 同样,您可以为任何信息创建QR码。 大多数情况下,该信息将是您希望在QR码中编码的URL或文本。

让我们看看如何使用ZXing在线解码器:

class="content-img-align-center">
class="center-image-wrapper"> Qr Code Reader From Image 3 related to ZXing Decoder Online
  • 点击选择文件按钮并选择QR图像文件。选择图像后,点击提交按钮。 它将开始读取代码。 如果有可识别的代码,它将读取QR码并显示结果。
class="content-img-align-center">
class="center-image-wrapper"> Qr Code Reader From Image 4 related to ZXing Decoder Online

我们已经看到如何使用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 在佛罗里达州迈阿密长大,并在佛罗里达大学学习计算机科学和统计学。