Tool/software:
Our customer want to read isp parameters like brightness, sharpness and etc. Can the sdk support that and if any reference code?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Our customer want to read isp parameters like brightness, sharpness and etc. Can the sdk support that and if any reference code?
Hi Xingxing,
Our customer want to read isp parameters like brightness, sharpness and etc.
I don't think there is a single parameter in VISS for brightness or sharpness.
The sharpness tuning is mapped and programmed to VISS-EE registers.
Hi Dilna K ,
The ticsi2rx driver that is used by /dev/videoX does not have any controls, so it's not possible to read the brightness control from that device.
Regards,
Bas Vermeulen
Our customer will according this value to determine if need turn on the LED light. Do you think it is doable?
ISP does not have a readable parameter for brightness.
It might be possible for you to read the sensor exposure time and gain to infer the scene brightness if you have set up Auto Exposure.
Hi Xingxing,
I agree with Gang that the best way for you is to read the exposure and analog gain provided by the 2A algorithm for the sensor: https://github.com/TexasInstruments/edgeai-gst-plugins/blob/main/ext/tiovx/gsttiovxisp.c#L2338
For example, when the exposure and analog gain are very close or equal to the maximum values specified by the sensor, it most likely means that the scene is dark and you can probably turn on the LED light.
Dilna K the "brightness" parameter may not be available for every sensor. In addition, you should use /dev/v4l-subdev to check sensor parameters. Please refer to this FAQ: How can I change the sensor parameters using v4l2-ctl?
Regards,
Jianzhong