Is it available for reading multiple barcodes in a picture by one time?

back to home  >  Tech FAQ  >  Recognizing all barcode in a picture in C# .NET project


Hi, I'm Aaron. I'm looking for a solution to scan one time and recognize all barcodes in an image. Before download you barcode reader library, can you tell me is it available by using your library? If true, can you give me some demo code in C#, such as scanning all PDF417?

---- Aaron


Hi, Aaron.

I'm glad to tell you that pqScan .NET Barcode Scanner is able to scan multiple barcodes from a picture in once. There are two scenarios in the return barcode results.

First is that there are two or more different type of barcodes in the image, such as one Code 128, one QR Code, and one Data Matrix. While you scanning this barcode picture, you can get all the three barcode results. Second is that there are multiple barcodes with equal barcode symbol in one image, our .net barcode reader control can also decode all this barcode type out to you.

Before you using our barcode reader toolkit, make sure your projects is running in the .net framework 2.0 or highter. The C# example code is only one line, it's really simple and easy to use.

using System;
using System.Drawing;
using PQScan.BarcodeScanner;

namespace BarcodeReaderQuestion
    class Program
        static void Main(string[] args)
            //load barcode picture to memory
            Bitmap bmp = Bitmap.FromFile("barcode-image.png");

            //scan all PDF 417 barcde in this image.
            BarcodeResult[] results = BarCodeScanner.Scan(bmp, BarCodeType.PDF417);

            foreach (BarcodeResult result in results)
                //show each PDF 417 message
                Console.WriteLine("PDF-417 Barcode data : ");

Hope the C# code can be helpful.

---- 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 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?