Would be nice to have a prop where you could set an aspect ratio for the camera preview. getMaxPreviewResolution function (OpenNoteCameraView.java) as for now returns the supported resolution with maximum width and for example on my device that means resolving to a resolution of 2560x800. That's pretty awkward to work with. :) Resulting aspect ratio is then used for finding the corresponding image size and that's also problematic in this case. Seems to work decently when modified to get max preview resolution by width * height.
Would be nice to have a prop where you could set an aspect ratio for the camera preview. getMaxPreviewResolution function (OpenNoteCameraView.java) as for now returns the supported resolution with maximum width and for example on my device that means resolving to a resolution of 2560x800. That's pretty awkward to work with. :) Resulting aspect ratio is then used for finding the corresponding image size and that's also problematic in this case. Seems to work decently when modified to get max preview resolution by width * height.