简体   繁体   中英

How can I calculate the distance between two cameras (opencv-python)?

I'm using Python. I have two cameras (left and right) and I'm calibrating them using opencv and its function "calibrateCamera", so I got intrinsics and extrinsics parameters of both cameras and photos.

I also have photos taken at the same time with both cameras, so now I have to calculate the distance between them...

How can I calculate it?

You could use euclidean distance. https://en.wikipedia.org/wiki/Euclidean_distance specifically the three dimensions

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM