GithubHelp home page GithubHelp logo

limingyangpro / projectorcameracalibration Goto Github PK

View Code? Open in Web Editor NEW
21.0 3.0 7.0 1.77 MB

An application for calibrating procam system with a small board, whatever the projector's focusing distance is.

CMake 0.94% C++ 98.22% Shell 0.84%

projectorcameracalibration's Introduction

Projector Camera Calibration

This an application for calibrating procam system practically. User calibrates the system with a small board (about B4 paper size), whatever the projector's focusing distance is.

Compatibility

Current version only works on Linux

Pre-requirements

  1. CMAKE 2.8
  2. OpenCV 3.1.0
  3. PCL 1.7
  4. OpenSceneGraph 3.4.0
  5. xinerama, X11

Compilation

  1. Checkout the directory
  2. mkdir build
  3. cd build
  4. cmake ..
  5. make

Usage

Print function help: ./procamcalib -? -i : input stream name (filename or camera ID) -o : output file name -b : file including points coordinates on calibration board -p : file including points coordinates to project -n : number of views -r : record the calibration input (both the video stream and n images used for calibration)

Example: ./procamcalib -i 1 -b ./patterns/B4/B4Pattern.txt -p ./patterns/B4/B4PatternProjected.txt -o calibrationResult -n 10 -r

More patterns are available in ./patterns/

Video: https://www.youtube.com/watch?v=Npd0rKHBH_w

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

9 June 2016: First commit

Issues

Some OS may have projector-camera synchronization problem, it will be solved later.

projectorcameracalibration's People

Contributors

limingyangpro avatar limiy1 avatar

Stargazers

K9Ctec avatar  avatar  avatar k-vernooy avatar  avatar  avatar XStarry avatar Jessica Thompson avatar  avatar  avatar  avatar  avatar  avatar Siyuan Xiang avatar  avatar Israel Ferreira avatar Paul Yun avatar Kyosuke Miyamura avatar Philippe Giraudeau avatar  avatar Jung-Hyun Ian Byun avatar

Watchers

James Cloos avatar Piotr Garbat avatar  avatar

projectorcameracalibration's Issues

Calibration Issue

Hi Limingyang,

Good day! Thanks very much for your work!
I used your code for calibration, using a zed mini camera and a projector.
Since zed mini camera is not directly supported, I tried to use offline calibration. First I tried to use a saved .avi file, however, I had the issue saying that "There is no input video stream from file ". I think this might be caused by by OpenCV issue. So I took several images, and set them as -i parameters. It can be read, however, it has the issue "Unable to stop the stream: Inappropriate ioctl for device". I think it get stuck in some loops. Could you please tell me how should I solve the problem?

Thanks again for your work and reply!

What camera to use?

I used the intel realsense camera and kinect one and they didn't work. Will you tell me the exact camera you used in the video?

Porting to OpenCV 4

Thanks for this intuitive projector camera calibration tool.

I tried to port the the code to OpenCV 4, unfortunately there are some methods in liblgc which are not compatible with OpenCV 4.
Is there a way to port the library too?

Is this tool working? Can I use it for Kinect One (v2) projector calibration?

Hi, I am an italian research scholar. I'm working on Projective Augmented Reality with a robotic head. Unfortunately, I still have problems with Camera (I'm using a Kinect One) - Projector calibration.

I have:

  1. Realized with my supervisor a new ProCam Calibration tool based on Matlab ProCamCalib toolbox (https://code.google.com/archive/p/procamcalib/) with automatic splitting and recognition of projected and physical chessboards, but this gives us not perfect results (residual reprojection error about 1... px)

  2. Conveniently modified the promising 3D Scanning Software (http://mesh.brown.edu/calibration/) to make it able to work with Kinect One but there is something to change that avoids to manage good results.

Therefore, I'd like to know if your pro_cam_calib tool here shared works properly and I can use it to solve my problems calibrating a Kinect One (v2) with a fixed-focus Optoma pocket projector.

Thank you in advance,

Michele Mambrini

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.