Skip to content

This folder contains code you need to perform camera calibration

Notifications You must be signed in to change notification settings

MateusPincho/Calibration-Mocap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📸 Camera Calibration Virtual Arena Status PRs Welcome

Camera calibration Guide using CoppeliaSim.

  • This project came from the need to improve the camera calibration results of Mocap Arena, once the system works with an error in focal distance calibration, which impacts the accuracy of the results.

Camera-based measurement and space reconstruction offer the advantages of automation, speed, and accuracy. However, precise measurements necessitate the determination of the camera's intrinsic parameters through calibration. This involves capturing images of a known calibration pattern and solving for the camera model parameters. Reprojection error, the discrepancy between predicted and observed image points, is a key factor influencing calibration accuracy. Minimizing this error is the goal of camera calibration to ensure reliable measurements.

This project presents a camera calibration test environment, developed in CoppeliaSim Robot Simulator, where it's possible to test camera calibration methods and evaluate the accuracy of state of art technics available for parameters estimation.

📖 This project also contains:

  • A workflow for generate ground truth calibration images.
  • A matematical explanation of camera models and the process to estimate the intrisics parameters.
  • A pratical guideline to correctily estimate the intrisic parameters and have accurate measurements.
  • An analisys of camera calibration methods with respect to accuracy evaluation.

🗒️ Requirements

  • CoppeliaSim EDU 4.6
  • Python 3.x
  • Numpy
  • OpenCV

🖥️ Usage

First use

  • Install CoppeliaSim EDU in their website

  • Make a clone of this repo

git clone https://github.com/MateusPincho/Calibration-MoCap.git

Generate non-distorted calibration image

Generate distorted calibration image

Perfom camera calibration with virtual images

Perfom camera calibration with real images

🔗 Useful Links:

For more information about the camera calibration process, check:

The camera used for test the calibration algorithms is a Raspberry V2 Cam. For test the algorithm perfomance with high distortion lenses, is used Raspberry V1 Cam.

The techniques is also tested in Mocap Arena, for analyse the their perfomance for optical tracking systems.

Is used four models of calibration targets: Chessboard, Circle Grids, ArUco and ChArUco

Developing team

Mateus Pincho de Oliveira

Lorenzo Carrera de Oliveira

About

This folder contains code you need to perform camera calibration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published