We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to read Barcode from scanned pdf image?

Hi, am facing some problem in reading barcode from a scanned pdf image. The scenario is we scan a form having a barcode and some fields all these scanned forms/pdf’s are stored in a folder on the system. Is it possible to write a code in asp.net which will read the barcode and extract the value or some number from that barcode which can be stored. Can someone suggest something??

Thanks

This message was posted using Page2Forum from Recognizing Multiple Symbologies in Single Image - Aspose.BarCode for .NET

Hi,


Welcome to Aspose.BarCode Forum.

Please check the live demo of your required functionality in ASP.NET environment. You can also view the source code of this demo by clicking the “Source: Read-from-pdf.aspx.cs” tab.

On source code view, you will notice that we have used PdfExtractor Class to extract images from a PDF file. These extracted images are supplied to BarCodeReader constructor one by one along with a second parameter that is of BarCodeReadType. If you are not aware of the BarCode type, then please provide this parameter as BarCodeReadType.AllSupportedTypes.

Hope it helps. If you are still unable to read BarCode from your PDF then please provide us your source code and sample PDF file for our review.