camera-samples icon indicating copy to clipboard operation
camera-samples copied to clipboard

CameraXBasic field of view is cropped/wrong focal length in exif

Open ghfab opened this issue 1 year ago • 0 comments

Hi it seems that photos created with CameraXBasic app are croped compared to photos taken with the default Photo application with the same aspect ratio. There is a significant crop in the two dimensions: the observed focal length of acquired photos is about 20% greater than photos taken with the default Photo application. Note that the focal recorded in exif data is the same than photo application, and thus, it is wrong (4.38mm instead of about 5.26mm). I’m using the sample code as it without modification.

Tested on Google Pixel 6a - Android 14 - AP2A.240905.003.FA This issue seems related to https://github.com/android/camera-samples/issues/155

ghfab avatar Oct 18 '24 08:10 ghfab