j05t / identify-dog-breeds-pro

Identify Dog Breeds Pro Android App
Apache License 2.0
33 stars 3 forks source link

Camera preview image distorted #2

Open licaon-kter opened 2 years ago

licaon-kter commented 2 years ago

Self Build b25fb867ab7ee8ff8114417f743cd79753f9e3c9, AOSP11

Test pattern: https://arachnoid.com/python/weatherreader/graphics/test_pattern_chart.jpg

In IndentifyDog app: Kqnsd6sIS7mDSFjSK8xuwg

In camera app: b7fy4UWeR6i1QeLE8R9H1Q

j05t commented 2 years ago

This is likely an issue with the Camera2 API and should have been fixed in one of the last commits. Could you compile and try the most recent version?

licaon-kter commented 2 years ago

Same issue with b4f265e16a6d0c21814c894ed593a7c1d287d4f5 :(

j05t commented 2 years ago

Unfortunately I'm unable to reproduce this error on the devices that are available to me at the moment. Could you try manually setting the variable useCamera2API at https://github.com/j05t/identify-dog-breeds-pro/blob/b4f265e16a6d0c21814c894ed593a7c1d287d4f5/src/com/jstappdev/identify_dog_breeds_pro/CameraActivity.java#L635 to false?

licaon-kter commented 2 years ago

No joy.

Android 11 AOSP based, always distorted Samsung 6.0 (2014?), works fine (all APKs tested)