micjahn / ZXing.Net

.Net port of the original java-based barcode reader and generator library zxing
Apache License 2.0
2.7k stars 667 forks source link

Sometimes pop out decoded string from nothing by webcam #74

Closed RickyKuo closed 6 years ago

RickyKuo commented 6 years ago

When I continue scan on a white paper completely without any barcode on it, but sometimes it has result return suddenly. the return string usually EAN8, EAN13 or 2 character string. The version is .net 0.16.0.0

micjahn commented 6 years ago

Really, I need more information. Please save the image when the reader returns a result and attach it here.

RickyKuo commented 6 years ago

@micjahn thanks for your help. I got the result with a white paper from webcam as attach. The result text is 12441834 UPC_E.

Image barcodetest 2

Result message

micjahn commented 6 years ago

Thats not a white paper in my eyes. It's more like white noise. It's possible that there is a short black and white sequence within the noise which can be decoded as a barcode. I don't see any chance to fix it. You should try to get a clearer signal from you webcam.