[go: up one dir, main page]

Skip to content

Program for non-planar camera calibration, mean square error, RANSAC algorithm, and testing with & without noisy data using extracted 3D world and 2D image feature points.

License

Notifications You must be signed in to change notification settings

chandnii7/Camera-Calibration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Camera Calibration for Computer Vision

Program 1 performs feature extraction from an input picture based on 2D image points and corresponding 3D world points. Main purpose:

  1. Generate chessboard features automatically using OpenCV
  2. Manually select features through mouse click

Program 2 performs non-planar camera calibration using the feature points provided in the input file (3D world points and corresponding 2D image points). Main purpose:

  1. Non-planar Camera Calibration
  2. Mean Square Error between known points and computed points
  3. Random Sample Consensus (RANSAC) algorithm for projection matrix
  4. Testing with different noise percentages

Programs were implemented using Python and OpenCV. Refer the report for further implementation details, format of input files, and instructions to run the code: View Report

Results:

  1. Input File Example:


  1. Features Extracted:


  1. Non-planar Camara Calibration Example:


  1. Non-planar Camara Calibration with RANSAC using noisy data Example:


  1. For more noisy data, we get huge mean square error with RANSAC as it fails completely. This is because of 2 main reasons:
    • RANSAC does not work well with low inlier ratios as every point in the dataset gets a vote just for being in the model. This makes the model more robust towards outliers. So, we need more inliers and less outlier for RANSAC to work properly. It does not work well as especially when there are more than 50% outliers.
    • RANSAC is also not reliable when there are a lot of parameters to tune. Here, we have 12 parameters which makes it more complicated.

About

Program for non-planar camera calibration, mean square error, RANSAC algorithm, and testing with & without noisy data using extracted 3D world and 2D image feature points.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published