Skip to content Skip to sidebar Skip to footer

Cameracharacteristics Sensor_info_exposure_time_range Gives Wrong Values

I am using SENSOR_INFO_EXPOSURE_TIME_RANGE to calculate the range of supported exposure time. I tested this in Huawei P30 Pro and it seems like this API is giving wrong values(1000

Solution 1:

As Camera algorithms are defined differently on different phone models and manufactures, for Huawei Mate30 Pro, please use HMS camera kit API to get the calculated exposure range instead of using Android Camera2 native API:API example is as follows, then you will see the exposure range returned as : 1/4000-30s.

mMode.getModeCharacteristics() .getParameterRange(RequestKey.HW_PRO_SENSOR_EXPOSURE_TIME_VALUE)

For more detailed info. on how to integrate HMS camera Pro. Mode, please refer to HMS Camera Engine Developer’s Guide:

Please note: HMS Camera Engine SDK is currently only available on HMS phones.

Post a Comment for "Cameracharacteristics Sensor_info_exposure_time_range Gives Wrong Values"