Skip to content

Get intrinsic and extrinsic matrix, use two cameras to calculate the distance between two points in real world

License

Notifications You must be signed in to change notification settings

JiahaoPlus/camera-calibration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

camera-calibration

This repo aims to get the 3D distance of two points in the real world using two cameras.

  1. (one_cam_calibration.py) Get the intrinsic matrix and distortion matrix of the two cameras separately.
  2. (pose_estimation.py) Get the extrinsic matrix (R and T) of the two cameras according to one checkerboard.
  3. (point2d_3d.py) Calculate the 3D distance when given the 2D position of the two points in two images.

References:
https://github.com/njanirudh/Aruco_Tracker
OpenCV-Python Tutorials / Camera Calibration and 3D Reconstruction
https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_calib3d/py_calibration/py_calibration.html
https://opencv.org/license/

About

Get intrinsic and extrinsic matrix, use two cameras to calculate the distance between two points in real world

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages