cancel
Showing results for 
Search instead for 
Did you mean: 

OV5647 calibration with ISP IQtune

20DeViL00
Associate II

 

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 1
Julian E.
ST Employee

Hi @20DeViL00,

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.

 

As for your questions:

  1. Please use STM32 ISP IQTune and start tuning from scratch
  2. No there is no manual method for ISP tuning, you must use the tool provided
  3. 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.

 

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.
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.