Search code examples
androidcameracamera-calibrationandroid-camera2

Camera 2 API - Intrinsic Camera Parameters


Is there a way to find out Intrinsic Camera Parameters in Android using Camera 2 API without using OpenCV?

The official documentation has CameraCharacteristics which contains intrinsic parameters. But using it always returns null as in Referred Question. My device support level for Camera2 is logged as "LEGACY". Is that the reason for the intrinsic parameters being unavailable? What is the way to obtain them in such cases?


Solution

  • Intrinsic camera parameters are not yet widely supported on Android devices.

    Only devices that support the DEPTH_OUTPUT capability are required to support them; in particular, LEGACY devices will never support them. Devices without that capability may support lens calibration fields, but it's relatively unlikely right now.

    In the upcoming Android P release, devices that support the new LOGICAL_MULTI_CAMERA capability will also have to support some lens calibration metadata, but that's only available in the P beta release right now.