I need to recognize a QR code with the following source code:
Imports Saaspose.OCR Imports System.Web Imports System.Drawing Saaspose.Common.Product.BaseProductUri = “saaspose.com - saaspose Resources and Information.” Saaspose.Common.SaasposeApp.AppSID = “78xxxxxxxxxxxx” Saaspose.Common.SaasposeApp.AppKey = “88xxxxxxxxxxx” Dim filePath As String = “c:\temp\MyImage.png” Dim Symbology As String = “QR” ’ Create an instance of BarCodeReader class Dim localReader As New BarCodeReader() ’ Call ReadFromLocalImage() method to upload the image and perform barcode recognition ’ The here is the list of recognized barcodes Dim barcodes As List(Of RecognizedBarCode) = localReader.ReadFromLocalImage(filePath, “”, DirectCast([Enum].Parse(GetType(BarCodeReadType), Symbology, True), BarCodeReadType)) ’ Display the value and type of all the recognized barcodes For Each barcode As RecognizedBarCode In barcodes Console.WriteLine("Codetext: " + barcode.BarCodeValue + vbLf & "Symbology: " + barcode.BarCodeType) Next
It is not working for me.
Submitted from: http://saaspose.com/