zashi-android icon indicating copy to clipboard operation
zashi-android copied to clipboard

Leverage `FramePosition` in `QrCodeAnalyzer`

Open HonzaR opened this issue 10 months ago • 0 comments

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().

Alternatives you've considered

Additional context

HonzaR avatar Apr 22 '24 06:04 HonzaR