Ask Your Question

Offset between two cameras

asked 2019-02-05 17:43:22 -0500

Hi, I'm fairly new to OpenCV so I apologize if this is a simple thing.

My issue is that I have two cameras mounted roughly on top of each other and I'd like to calculate the offset between them. I'm relatively sure that I can do this with some sort of stereo rectify and detection of chessboard patterns, but being unfamiliar with OpenCV I'm not quite sure.

Finding chessboard patterns is easy enough, but using that data for the offset is unclear.

Can someone point me in the right direction?

edit retag flag offensive close merge delete


are the two cameras looking at a fixed object? Maybe you could find the object with both cameras and calculate the bounding box offset...?

cerr gravatar imagecerr ( 2019-02-05 19:16:01 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-02-06 02:17:31 -0500

LBerger gravatar image

You must calibrate your system and you will find offset between your cameras (translation vector T)

read stereoCalibrate doc

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-02-05 17:43:22 -0500

Seen: 126 times

Last updated: Feb 06 '19