a customizable scan overlay to help user understands where he should position the desired barcode
The ability to scan only a portion of the camera feed, to help reduce false results when scanning multiple barcodes at the same time.
Known issues:
-The overlay animation has very poor performance when executed on mobile. Might have to be disabled by default on mobile (or implemented using something like a Lottie animation, to see if the performances improve ?)
The image used for barcode analysis is actually bigger than the visual scan zone on the screen. This is due to the ratio issues between a flutter widget size, and the actual video feed resolution. Needs to be worked out by applying a multiplier to the values used to calculate the image portion
The goal of the PR is to add two main things:
Known issues: -The overlay animation has very poor performance when executed on mobile. Might have to be disabled by default on mobile (or implemented using something like a Lottie animation, to see if the performances improve ?)
Demo here: https://flutter-scan-adeo.web.app