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.
Current version only works on Linux
- CMAKE 2.8
- OpenCV 3.1.0
- PCL 1.7
- OpenSceneGraph 3.4.0
- xinerama, X11
- Checkout the directory
- mkdir build
- cd build
- cmake ..
- make
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
9 June 2016: First commit
Some OS may have projector-camera synchronization problem, it will be solved later.