Extracting intrinsic calibration parameters from an android device's camera using the camera2 API is known to be problematic.
However the guidance has been that if the phone supports the DEPTH_OUTPUT
capability, it is guaranteed to also provide camera intrinsics (via LENS_INTRINSIC_CALIBRATION
).
This is stated in the following sources:
[The DEPTH_OUTPUT
] capability requires the camera device to support the following:
- This camera device, and all camera devices with the same
android.lens.facing
, will list the following calibration metadata entries in both CameraCharacteristics
and CaptureResult
:
android.lens.intrinsicCalibration
Still, the Huawei P30 Pro claims to support the DEPTH_OUTPUT
capability but does not provide any useful intrinsics (all intrinsic parameters are zero).
For what it's worth, the Huawei P30 Pro's support for the camera2 API is INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED
, but this should not matter, as neither of the sources cited above give any conditions on the device's camera2 API support level for extracting intrinsics.
Could anyone please help?