khoren93 / flutter_zxing

Flutter plugin for scanning and generating QR codes using the ZXing library, supporting Android, iOS, and desktop platforms
https://pub.dev/packages/flutter_zxing
MIT License
98 stars 56 forks source link

Barcode scan with black background issue #57

Closed HoVvo closed 1 year ago

HoVvo commented 1 year ago

I have an issue scanning barcode which has a black background.

The scanner don’t scan the barcode only works if background is white.

Example of black background barcode which not able to scan. barcode_example

khoren93 commented 1 year ago

Hi there,

Thank you for your question and for bringing this issue to my attention.

I have released a new version v0.8.5 and would like to ask if you could please check if the issue still persists in the new version. You can use ReaderWidget with tryInverted: true parameter to scan inverted codes with black backgrounds.

Thank you again for your support. Best regards, Khoren

khoren93 commented 1 year ago

I am closing this issue because it has been fixed in the latest version. Thanks for reporting the issue.