Page 1 of 1

Camera images are vertically offset (not aligned)

Posted: Wed Jul 07, 2021 6:11 am
by nexfmillion
Hello,

I've set up my StereoPi using two Raspberry Pi cameras attached to the acrylic board. I've made sure they are centered properly. However, whenever I take a stereo image, the right frame is vertically offset downward from the left frame.

Here's an image taken from the SLP OS image: https://imgur.com/a/AetuPsW Holding a phone up to the cameras shows just how much vertical offset there is.

This problem also occurs with other cameras - tried both with two wide-angle cameras attached to the other acrylic sheet, and two Pi Pro cameras mounted in a 3d printed case - same exact effect, the right image is offset from the left vertically. Additionally, when using the Pro cameras, the white balance on the right image differs significantly from the left.

The problem also occurs when capturing with raspistill, or using Python + PiCamera or Python + OpenCV for capture. No matter what setup I use, the same effect occurs - right image offset vertically and incorrect white balance.

Please advise?

PS: I'm having problems with the forum login. For others: try using a private browsing window and choosing Remember Me.

Re: Camera images are vertically offset (not aligned)

Posted: Tue Jul 27, 2021 12:21 pm
by Realizator
Hi nexfmillion,
This is the physical alignment issue.
If you are using V2 cameras you shoul know they have a sticky foam under the small sensor part. If you touch the sensor by finger, this foam changes its shape, and cameras are misaligned for a few minutes. After that, they are slowly going back to their original state.
If you are using v1, their sensor part should be gkued to the PCB by the sticky scotch. Please check they are fixed as intended.

Are your cameras boards sits parallel to the acrylic part?

You see, the software part can't affect this issue. You can try to loosen the fastening screws and try to align cameras using the real-time livestream (or HDMI output) for the correct alignment.