:: AForge.NET Framework :: Articles :: Forums ::

Optimal Settings for ZXing.Net

The forum is to discuss topics related to different areas of image processing and computer vision.

Optimal Settings for ZXing.Net

Postby scoutwest » Thu Mar 16, 2017 4:32 pm

Do you have code that shows the optimal settings for decoding barcodes with ZXing.Net?

I'm capturing webcam images using AForge.Video.DirectShow and sending them to ZXing.Net. I would like some code that shows the optimal AForge settings that work best with ZXing.

To be clear, I'm holding printed barcodes up to my webcam. AForge is capturing them using video. Each frame is sent to ZXing for decoding. But ZXing has a hard time unless the barcodes are huge.

Are there settings such as contrast, brightness, resolution, pixels-per-inch, etc in AForge that work best with ZXing? Should I be using stills instead? What's the difference between video frames and stills? Is one better than the other?

Can you post code?
barcode.png (36.21 KiB) Viewed 5635 times
Posts: 1
Joined: Thu Mar 16, 2017 4:24 pm

Return to Image Processing and Computer Vision