Need help for reading barcode with unconventional position?

back to home  >  Tech FAQ  >  Scan barcode in image with particular position in C# .NET project

Question:

Hi, I'm Matt. I have some barcode images, and want to decode the barcode data from these images. But there is one thing, the barcodes in the pictureare not located at the left top corner, but has random position, some are at the bottom, some are at the center. Does your .net barcode reader support scanning barcode in these positions?

Besides, I'm working in asp.net web application using C# code.

---- Matt

Answer:

Hi, Matt.

Maybe it's a good news to you. The pqScan .net barcode reader can scan and recognize all the barcode in images, no matter where the barcodes locating. It means you can decode all your barcode images using our .net barcode reading SDK, it can read any barcode in the picture with any position, such as top, right, bottom, left, top-left, top-right, bottom-left, bottom-right, and center. For example, EAN/UPC barcodes always appeared at the bottom of the goods description in supermarket, and PDF417 usually located at the top left or top right of personal records.

Reading the barcodes with unfixedposition in image is so simple and easy to do by our reader control. Here we provide a sample tutorial to do it for you, just copy the example C# code to the Page_Load event(or your any other method for barcode reading in the aspx.cs).

Bitmap bmp = Bitmap.FromFile("barcode-image.jpeg");

BarcodeResult[] results = BarCodeScanner.Scan(bmp);

foreach (BarcodeResult result in results)
{
    Console.WriteLine("Barcode data : ");
    Console.Write(result.Data.ToString());
}

Hope the C# code can be helpful. Besides using our barcode reader in web projects, you can also decode barcodes in Window Forms application with same library.

---- pqScan Support Team

Online Demo Download Trial Can I Read Barcode in PDF document using C#? Need help for reading barcode with unconventional position? How to read barcode from Microsoft Office? Can I read barcode image from report in C# .NET? Can I read color barcode image in C# .NET? Is it available for reading all of the barcode in a picture by one time? How to scan barcode from webcam or other device? Can I use your barcode reading SDK in Mono? I can't scan barcode from my images with different DPI. How to scan barcode in asp.net web application? How to scan barcode in WPF project using C# language? Can I run your .net barcode reader library in Windows7 or Windows8? How to scan rotated barcode in .net project?