OpenNoteScanner icon indicating copy to clipboard operation
OpenNoteScanner copied to clipboard

Camera support for Sony Xperia

Open elesto opened this issue 2 years ago • 2 comments

Camera preview is wrong on my Sony Xperia 5 II. Screenshot_20220224-210522

Steps to reproduce

Own a Sony Xperia 5 II Try using app

Expected behaviour

Full screen camera

Actual behaviour

Cropped camera view

Would you like to work on the issue?

I have no coding experience but i can provide help with testing and more information.

elesto avatar Feb 27 '22 03:02 elesto

Same on my OnePlus 6T, although the OnePlus 5T that I was using until very recently does not have this problem. ETA both devices run LineageOS 18.

Also on my OnePlus 6T, this app can't seem to focus the camera properly, which means that scans using the image processor come out all white. Idk if that is related, but maybe both are due to the camera API level?

syskill avatar Apr 28 '22 20:04 syskill

I'm not a maintainer for OpenNoteScanner, but I would say it is a problem of API level and/or of camera driver. In the case of the Xperia in particular, the camera subsystem is only usable with full functionality by Sony themselves; they lock the camera resolution available throught the standard API.

I had the same type of problem with my Xperia Z5 - nice camera, only usable with the sony photo app. All other camera app were limited.

afleuryg avatar Apr 28 '22 21:04 afleuryg