Ask Your Question

aligning two cameras with similar views

asked 2014-07-09 16:21:39 -0600

mikey gravatar image


I have a pair of cameras (picameras) setup in my vehicle at the top of the windshield looking out the front. They are about 22" apart. I capture an image stream from each one and view them side-by-side using OpenCV. Are there OpenCV tools to align the two cameras? I believe this would be akin to having the two views registered to each other? I have started a blog discussing this project which gives more detail: where there are some sample images taken from the captured image streams.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-10 18:02:59 -0600

Witek gravatar image

You can try stitching but with the quality of images you have I doubt it will work. Make sure your cameras are aligned better so you have more common area and try to get rid of the reflections. Still, images are blurry and hard to match (trees that have similar features and the road is quite featureless). Moreover, in your images you have objects that are very near and very far. AFAIK translational stitching is not working with objects that are too close to the camera.

edit flag offensive delete link more


Thanks Witek, I will take a look. The images are blurred due to the motion, of which I have not figured out a solution to that yet. And the reflection I saw after the fact and am rearranging the gear I use to remove the reflections. As for the view, this is one of the reasons for the data collect as understanding roads where there's not much there to go with is one of the problems that needs to be addressed over the next few years. Again thanks...

mikey gravatar imagemikey ( 2014-07-13 10:23:23 -0600 )edit

Question Tools


Asked: 2014-07-09 16:21:39 -0600

Seen: 1,496 times

Last updated: Jul 10 '14