Pink image distortion unresolved; requesting longer camera-to-HAT cable or specs

Hi everyone, I’m running into a strange issue with my Arducam B0331 kit (4 cameras on a HAT with a Raspberry Pi). When I use it outdoors in bright sunlight with the cameras angled slightly downward, I get a pink/purple color cast at the edges of the image. It happens on all 4 cameras, not just one. I’m using the factory lenses that came with the kit. Indoors it looks fine. I also tried capturing video with libcamera-vid -t 10000 -o test.h264 but that doesn’t seem to save all 4 camera streams. Has anyone run into this?

Thanks for the report. My first thought is lens shading. An edge color cast that shows up in bright conditions is often related to shading correction, so let’s start there. Can you post a photo of the camera boards/version so I can confirm what hardware you’re on? Also, just to be clear: the standard libcamera-vid command captures a single camera. Which HAT/firmware setup are you using for the 4-camera capture? And to confirm, this is the B0331 color set, right? (The B0267 is monochrome, so it wouldn’t produce a color cast at all.)

Here’s a photo of the camera back/version: image0.jpeg

Yes, it’s the B0331 color set. All 4 cameras show the pink edge cast, but only in sunny outdoor light when they’re pointed down. Overcast or indoor shots are basically fine. One more thing - is there a longer cable available for the cameras-to-HAT connection? If not, could you share the technical specs for that cable so I can try to source one from a third party?

Thanks, that photo helps. On the cable question: we don’t provide longer extension cables for the camera-to-HAT link, and I’d strongly discourage using one. Those are high-speed MIPI signal lines, and adding cable length tends to compromise signal integrity, which can lead to unstable image data on the Pi side. For reliable operation, keep the current cable length. I’ll dig into the pink edge cast on our side and get back to you.

Any update on the pink distortion issue? Just following up.

Sorry for the delay. We’ve been testing this using the Raspberry Pi lens shading correction tools. Unfortunately the improvement was minimal - the pink edge cast is still present after tuning. That suggests it’s not something correctable in software, and points more toward the lens module itself. We’re testing upgraded lens modules for all four cameras internally, and I’ll update you as soon as I have results.

I tried swapping in different lenses myself, but the pink distortion is still there. Since changing the lenses didn’t help, could the sensor be the cause?

I don’t think it’s the sensor. The fact that all four units show the same behavior in bright conditions, and that lens shading correction barely changes it, still points to the lens module rather than the sensor. We’re evaluating a different lens for this kit. I’ll post back once I have confirmation on that.