2 min read
•2026-10-09

How to Jointly Review ISP Parameters and Model Inputs After Replacing the Sensor on Rockchip Platforms?

推广 Banner

When developing a vision solution on the Rockchip platform, replacing a sensor is often not as simple as swapping a lens and tweaking a driver. The real trouble usually lies in whether the ISP tuning parameters still match what the downstream model expects. Many teams only check whether the image looks normal after swapping sensors, and miss the fact that the data distribution used for model inference has quietly changed, causing the backend detection or recognition accuracy to drop for no obvious reason.

The first step of a joint review is to confirm that the image format output by the ISP exactly matches the model preprocessing requirements. Different sensors can have different RGBIR arrangements, Bayer formats, and even dynamic range. If the ISP's Demosaic or CCM matrix has not been recalibrated for the new sensor, the output color will shift. Although the model weights remain the same, the input distribution they depend on during training is based on the original sensor. Once color cast or white balance characteristics change, the inference results are naturally distorted.

The second step is to review the ISP denoising and sharpening strength. The new sensor's noise floor often differs from that of the original sensor. The 3DNR parameters that were once appropriate may now over-smooth and wipe out fine textures, or the sharpening may be too strong and create artifacts. Both can interfere with the model's extraction of edges and local features. It is recommended to capture raw and YUV images from both the new and old sensors after ISP processing under the same lighting conditions, run the same model over the same validation set, and compare the changes in feature map activation distributions rather than only looking at the final detection rate.

The third step is to check the convergence speed and target values of auto exposure and auto white balance. Different sensors have different spectral responses. At the same AE target brightness, the actual light intake and color reproduction may shift. You need to readjust the AE weighting window and the AWB color temperature curve to ensure that the environment lighting distribution seen by the model matches the training conditions. This is especially important for outdoor scenes. If AWB overdrives the gain for blue sky or green vegetation, color-sensitive tasks can fail immediately.

Finally, it is recommended to treat the ISP parameters and model inputs as one integrated configuration and run regression tests. The Rockchip platform supports exporting a complete ISP tuning file, which can be versioned together with the model preprocessing parameters. After each sensor replacement, run at least one smoke test covering typical scenarios such as daytime, night, backlight, and warm indoor light, and observe whether the confidence distribution of the model output is close to that of the original sensor. If the deviation exceeds the preset threshold, look back at the ISP parameters first instead of rushing to retrain or tune the model. Most of the time, the problem occurs before data enters the model.

Published on 2026-10-09