zashi-android
zashi-android copied to clipboard
Leverage `FramePosition` in `QrCodeAnalyzer`
Is your feature request related to a problem? Please describe.
Although there are now direct ways how to restrict cropping the image from the analyzer, we've prepared the FramePosition
model class that holds calculated position and screen size that could be used for the correct image cropping before checking for valid data in it in QrCodeAnalyzer
.
Describe the solution you'd like
Compare the frame size with the screen size from FramePosition
and get a better BinaryBitmap
image crop value for binaryBmp.crop()
.