In real-world projects, we often encounter a puzzling phenomenon: the HiSilicon camera delivers beautiful color, sharpness, and noise control, fully passing subjective evaluations. Yet the backend AI model's detection rate remains low, with frequent missed detections. Where does the problem lie? In most cases, the ISP and the model are optimized independently, lacking joint optimization.
In the traditional workflow, ISP tuning engineers pursue visual quality, while algorithm engineers focus on feature preservation. These two goals are not aligned: human eyes prefer high contrast, strong sharpening, and saturated colors, but AI models rely on raw textures, edge gradients, and the signal-to-noise ratio of target regions. When the ISP applies excessive noise reduction or edge enhancement to make the image look better, critical features may be smoothed away or distorted, causing the model to fail to see clearly. This contradiction becomes even more pronounced in low-light, backlight, and motion-blur scenarios.
Therefore, initiating a joint debugging project is not an optional enhancement but a necessity. When starting such a project, it is recommended to first clarify the business scenarios and failure cases. For example, in intelligent transportation, if missed detection of small targets at night is a key issue, you should collect raw images and model inference results from corresponding scenes to build a joint evaluation dataset. The evaluation set should not only focus on bounding box IoU; it must also analyze the sensitivity of each ISP module (such as NR, AE, and sharpening) to feature responses.
During the debugging process, intermediate ISP outputs (for example, after denoising and before gamma correction) can be fed into the model for offline simulation. The model's feature map responses can then guide ISP parameter adjustments in reverse. This requires ISP engineers and algorithm engineers to jointly build a feature visualization tool, using heatmaps like Grad-CAM to compare whether low-level textures are preserved. Practical experience shows that moderately reducing noise reduction strength, adjusting the AE target EV value, and limiting sharpening gain can often significantly reduce missed detections while having minimal impact on human-perceived image quality.
In terms of project organization, it is recommended that the algorithm lead takes charge, with ISP engineers and embedded engineers participating together, iterating through four phases: problem profiling, parameter sensitivity analysis, joint optimization, and scenario regression. Avoid splitting the task into two standalone phases such as image quality acceptance and model deployment. At the same time, establish version management, recording the model accuracy and image quality score corresponding to each round of ISP parameters, to build a reusable joint tuning database.
Ultimately, joint debugging is not about sacrificing image quality to accommodate the model, but about understanding the model's needs and achieving overall system performance with minimal cost. This type of project is essentially about treating the camera system as a whole perceptual entity to refine, which is of great significance for the stability and robustness of real-world deployment. If you are troubled by missed detections, consider starting with ISP and model joint debugging—you may be surprised to find a whole new path forward.
