Home:ALL Converter>Android camera2 API intrinsics and the DEPTH_OUTPUT capability

Android camera2 API intrinsics and the DEPTH_OUTPUT capability

Ask Time:2022-09-14T15:01:34         Author:cptjacksparrow

Json Formatter

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?

Author:cptjacksparrow,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/73712728/android-camera2-api-intrinsics-and-the-depth-output-capability
yy