Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

ZXing.Net how to dynamically adjust barcode background color

$
0
0

I am planning to use ZXing.Net(.Mobile) in a Xamarin.Forms app.

Scanning barcode black on white works no problem, using the various Barcode scanner samples (e.g. Acr.Barcodes, thanks)

Client has thousands of barcodes in black on yellow background.

These do not scan.

How to configure ZXing.Net to filter out the yellow background?

I have taken several photos of the barcode black on yellow and with a couple of manual contrast and brightness adjustments, I can easily remove the yellow background and improve the barcode.

Can this be done dynamically in ZXing.Net, and if so, can a workable code snippet be provided?

A snippet from the iOS or Android world would be helpful...

Very new to ZXing, so not sure if this can be done or where to start with adjustment.

Thanks, Geoff


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>