Skip to main content
Associate II
May 15, 2026
Question

OV5647 calibration with ISP IQtune

  • May 15, 2026
  • 1 reply
  • 120 views

 

Hi Team,

I am currently working on a Driver Monitoring System (DMS) project using the STM32MP257F-DK board, and I have successfully integrated the OV5647 camera sensor.

At this stage, I am facing an issue related to ISP calibration. The camera is currently running with auto exposure enabled, due to which the frame contrast is not constant for any detection. To stabilize and properly tune the image, a fixed YAML calibration file is required. However, a suitable YAML file for the OV5647 sensor is not available.

From my understanding, the YAML calibration file needs to be generated using the ISP tuning/calibration tool. However, I tried following the complete process mentioned in the Wiki page  documentation, but the ISP tool is not detecting the board, which is blocking further progress.

Could anyone please guide me on the following:

  1. How can I generate a custom YAML calibration file for the OV5647 sensor using the ISP tool?
  2. Is there any alternative or manual method to create the YAML calibration file without relying on the ISP tool?
  3. Are there any reference YAML files or tuning profiles available for similar sensors that can be adapted for OV5647?

Any suggestions or guidance would be greatly appreciated.

Thanks & Regards,
Aman Sharma

1 reply

Julian E.
ST Technical Moderator
June 24, 2026

Hi ​@20DeViL00,

 

Sorry for the late answer.

The community changed and I thought I had answered…

Please find our comments below:

 

Hi Team,

I am currently working on a Driver Monitoring System (DMS) project using the STM32MP257F-DK board, and I have successfully integrated the OV5647 camera sensor.

At this stage, I am facing an issue related to ISP calibration. The camera is currently running with auto exposure enabled, due to which the frame contrast is not constant for any detection. To stabilize and properly tune the image, a fixed YAML calibration file is required. However, a suitable YAML file for the OV5647 sensor is not available.

From my understanding, the YAML calibration file needs to be generated using the ISP tuning/calibration tool. However, I tried following the complete process mentioned in the Wiki page  documentation, but the ISP tool is not detecting the board, which is blocking further progress. => MP25 is only compatible with STM32 ISP IQTune v1.3.0. Please make sure you are using the correct version and make sure you are plugging the USB cable on the right connector.

Could anyone please guide me on the following:

  1. How can I generate a custom YAML calibration file for the OV5647 sensor using the ISP tool? => Use STM32 ISP IQTune and start tuning from scratch
  2. Is there any alternative or manual method to create the YAML calibration file without relying on the ISP tool? => No there is no manual method for ISP tuning, you must use the tool provided
  3. Are there any reference YAML files or tuning profiles available for similar sensors that can be adapted for OV5647? => For new sensor support, libcamera uses an uncalibrated.yaml file where all algorithms (ISP blocks) are disabled. You can take inspiration from either imx335 or vd56g3, but most parameters are sensor-dependent, so the image quality may not be as expected if you use the same parameters.

Any suggestions or guidance would be greatly appreciated.

=> In your case, it may be worth waiting for X-LINUX-ISP v6.2.0 that will be released in mid-June, along with STM32 ISP IQTune v2.1.0, which will support new ST 2A algorithms. This version will support new ST 2A algorithms and make tuning easier with an auto-calibration procedure.

 

Have a good day,

Julian

​In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.