OpenNoteScanner icon indicating copy to clipboard operation
OpenNoteScanner copied to clipboard

Distorted camera view on Android 9 on Xiaomi A2

Open rndmh3ro opened this issue 6 years ago • 3 comments

Distorted camera view on Android 9 on Xiaomi A2.

Steps to reproduce

  • Install the app from the play store and start it.
    • Version: 1.0.32-gplay
  • start it

Expected behaviour

  • non distorted camera view (see image)

Actual behaviour

  • distorted camera view (see image)

Additional notes

deactivating "match preview aspect ratio" does not help

rndmh3ro avatar Aug 04 '19 14:08 rndmh3ro

https://gist.github.com/rndmh3ro/34251862476f629fa807fbc1b60c0728

rndmh3ro avatar Aug 04 '19 14:08 rndmh3ro

@rndmh3ro please post sample screenshots, captures and the logcat with both options of "aspect ratio". It's ideal to force stop the app before start collecting the logcat

allgood avatar Aug 04 '19 16:08 allgood

@ctodobom, here you find the required information. I force stopped the app before starting logcat. Interestingly the resulting scan has the correct aspect! However I cannot really use this as the documents won't get scanned with the screwed preview.

Aspect ratio off:

  • https://gist.github.com/rndmh3ro/b69e5d3f7265cf38ba280fd947ecae99
  • screenshots: https://imgur.com/a/gyAO4Rp

Aspect ratio on:

  • https://gist.github.com/rndmh3ro/0e8bca2ce7d09d6d62c0bfa2bfd800a8
  • screenshots: https://imgur.com/a/5htn51B

rndmh3ro avatar Aug 07 '19 09:08 rndmh3ro