Camera calibration and pose estimation of a chessboard using solvePnP Using Opencv-python to estimate pose of a chessboard. Run camcalib.py first to calibrate the camera and get the camera matrix and distortion coefficient. Then run solpnp.py to estimate the extrinsic matrix.
This folder contains the program I used to run on Raspberry pi. PyQt is used to make the GUI. Run main.py
Required packages include:
- PyQt4
- OpenCV3
- imutils(for the raspberry pi camera)
- numpy
This folder contains a matlab model of the camera. You can specify the parameters of the intrinsic and extrinsic matrix and watch how the image of the chessboard changes.