Coder Social home page Coder Social logo

handeyecalibration-using-opencv's Introduction

HandEyeCalibration

This code is an openCV implementation for Handeye calibration. The implementation is done using this flowchart:

Flowchart of implementation

To use this code is contained in HandEyeCalibration_class.py

The file describes a class named CameraCalibration with 4 mandatory inputs:

image_folder - a folder containing images of a chessboard. The images names should be color_images_xxx.npz where xxx is image number

Transforms_folder - a folder containing the transforms from the base of the robot to the end effector. The transforms should be named T_base2ee_xxx.npz. where xxx is the number. It is important that the numbers in the transformations and the Images correspond to the same isntance. For example color_image_001 was taken at the same time as T_base2ee_001.npz

pattern_size: the number of corners in the chessboard pattern, default is (4,7)

square_size: the size of the squares in the chessboard pattern, default is 33/1000. The units in the transforms and the square size need to be the same!!

Output: The output of this class is 12 files, each correspond do a different method in the HandEye calibration functions in openCV The class will also output the images with the detected corners for verification

An example is included in the folder Cal2 and within the HandEyeCalibration_class.py

Installation

  1. Clone this repository:
git clone https://github.com/JonesCVBS/HandEyeCalibration-using-OpenCV.git

2.Change directory to the cloned repository:

cd HandEyeCalibration-using-OpenCV

3.Install the required dependencies using the requirements.txt file:

pip install -r requirements.txt

handeyecalibration-using-opencv's People

Contributors

dependabot[bot] avatar jonescvbs 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.