getFocalLength
Returns the camera's focal length in pixels. The focal length is conventionally represented in pixels. For a detailed explanation, please see Disecting the Camera Matrix, Part 3: The Intrinsic Matrix. Pixels-to-meters conversion can use
SENSOR_INFO_PHYSICAL_SIZE and SENSOR_INFO_PIXEL_ARRAY_SIZE in the Android Characteristics API.Declaration
open fun getFocalLength(): FloatArray
Summary
Returns
a float[2] containing the focal length. The order of values is {fx, fy}.
Returns the camera's focal length in pixels. The focal length is conventionally represented in pixels. For a detailed explanation, please see Disecting the Camera Matrix, Part 3: The Intrinsic Matrix. Pixels-to-meters conversion can use
SENSOR_INFO_PHYSICAL_SIZEandSENSOR_INFO_PIXEL_ARRAY_SIZEin the Android Characteristics API.