Page 1 of 1

Image alignment

Posted: Thu May 21, 2020 8:25 pm
by neilpstevenson
I’m using the latest SLP to stream video at 1280x720, but I’m finding my two cameras aren’t very accurately aligned. Since the two camera images are being clipped (down the centre from what I see), it would be better if I could adjust the used portion of the image. Can I change how is is clipped to align the images better? Probably be much better if I just could use the same part of the image from both cameras.

Re: Image alignment

Posted: Fri May 22, 2020 9:03 pm
by Realizator
Physical cameras alignment is a challenge. Usually we try to do it as well as possible for the video live stream (as we have no real-time alignment algorithms like for the OpenCV, but for the high resolution).
For the clipping you can use the "roi" argument. I described how to use it for the photo and video in this article: https://stereopi.com/blog/macro-3d-photo-stereopi Search by "roi" on this page. This ROI option is used for both cameras simultaneously, and I'm not sure you can do a different roi for each camera.

Re: Image alignment

Posted: Fri Nov 27, 2020 10:56 pm
by JamesDavid
I agree, aligning in HW is a challenge, can there be separate ROI's for each camera (using SLP)?