GithubHelp home page GithubHelp logo

camera-calibration's Introduction

Generic badge Generic badge

Assignment-01

The goal of the assignment is to familiarize you to the process of camera calibration and the critical role it plays in using any measurements of the world from images.

Please raise doubts on the appropriate assignment thread on Moodle.

Instructions

  • Follow the directory structure as shown below:
    ├── src           
          ├── Assignment01.ipynb
    ├── images //your images
    ├── data  //provided data
    └── README.md
    
  • src will contain the Jupyter notebook(s) used for the assignment.
  • images will contain images used for the questions.
  • data contains images provided to you already, for solving the questions.
  • Follow this directory structure for all following assignments in this course.
  • Make sure you run your Jupyter notebook before committing, to save all outputs.

Dataset

  • black-dots.JPG : for DLT and RANSAC based estimation.

  • measurement.JPG : Measurements are shown according to scale(in mms). World co-ordinate of every point can be calculated using the unit measurements given from the origin.

  • checkerboard-[01-15].JPG : for Zhang algorithm based estimation Size of each square on checkerboard 29mmX29mm.

Helper code

Function to get Rotation matrix from Euler angles :

def eulerAnglesToRotationMatrix(theta) :
    R_x = np.array([[1,0,0],[0,math.cos(theta[0]),-math.sin(theta[0])],[0,math.sin(theta[0]), math.cos(theta[0])]])
    R_y = np.array([[math.cos(theta[1]),0,math.sin(theta[1])],[0,1,0],[-math.sin(theta[1]),0,math.cos(theta[1])]])             
    R_z = np.array([[math.cos(theta[2]),-math.sin(theta[2]),0],[math.sin(theta[2]),math.cos(theta[2]),0],[0,0,1]])
    R = np.dot(R_z,np.dot(R_y,R_x))
    return R

camera-calibration's People

Contributors

utkarsh-ls avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.