ByteScout Barcode Reader SDK - VB.NET - Decode Damaged QR Code - ByteScout

ByteScout Barcode Reader SDK – VB.NET – Decode Damaged QR Code

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Reader SDK – VB.NET – Decode Damaged QR Code

How to decode damaged QR code in VB.NET using ByteScout BarCode Reader SDK

This code in VB.NET shows how to decode damaged QR code with this how to tutorial

The sample shows steps and algorithm of how to decode damaged QR code and how to make it work in your VB.NET application. What is ByteScout BarCode Reader SDK? It is the SDK for barcode decoding. Can read all popular types from Code 128, GS1, UPC and Code 39 to QR Code, Datamatrix, PDF417. Images, pdf, TIF images and live web camera are supported as input. Designed to handle documents with noise and defects. Includes optional splitter and merger for pdf and tiff based on barcodes. Batch mode is optimized for high performance with multiple threads. Decoded values can be exported to XML, JSON, CSV or into custom data format. It can help you to decode damaged QR code in your VB.NET application.

This code snippet below for ByteScout BarCode Reader SDK works best when you need to quickly decode damaged QR code in your VB.NET application. In order to implement the functionality, you should copy and paste this code for VB.NET below into your code editor with your app, compile and run your application. You can use these VB.NET sample examples in one or many applications.

You can download free trial version of ByteScout BarCode Reader SDK from our website to see and try many others source code samples for VB.NET.

Try ByteScout BarCode Reader SDK today: Get 60 Day Free Trial or sign up for Web API

Program.vb
      
Imports Bytescout.BarCodeReader Module Program Sub Main() Try 'Read Barcode Process Dim reader As Reader = New Reader() reader.RegistrationKey = "demo" reader.RegistrationName = "demo" ' Set Barcode type to find reader.BarcodeTypesToFind.QRCode = True ' ----------------------------------------------------------------------- ' NOTE: We can read barcodes from specific page to increase performance . ' For sample please refer to "Decoding barcodes from PDF by pages" program. ' ----------------------------------------------------------------------- ' Read barcodes Dim barcodes() As FoundBarcode = reader.ReadFrom("corrupted_barcode_qrcode.png") For Each code As FoundBarcode In barcodes Console.WriteLine("Found barcode with type '{0}' and value '{1}'", code.Type, code.Value) Next Catch ex As Exception Console.WriteLine(ex.Message) End Try Console.WriteLine("Press any key to exit...") Console.ReadLine() End Sub End Module

Try ByteScout BarCode Reader SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout BarCode Reader SDK page

Explore ByteScout BarCode Reader SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next