← Back

ofxKinect2ProjectorCalibration

github.com/Kj1/ofxKinect2ProjectorCalibration · @Kj1
OF 0.8 Computer Vision

Openframeworks 084 addon for calibrating kinect V2 with projector (windows only)

18 4 Last commit 11y ago Created 11y ago

Forks

Forks pushed to more recently than Kj1/ofxKinect2ProjectorCalibration itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

whg/ofxKinect2ProjectorCalibration by @whg · ★ 1 · pushed 10y ago

README

ofxProjectorKinectV2Calibration



Openframeworks 084 addon for calibrating a kinect V2 and a projector, currently work in progress info: http://forum.openframeworks.cc/t/projector-kinect-calibration/12712 WINDOWS ONLY!

Calibration procedure

See this excellent video; the addon really implents Elliots video literally. https://www.youtube.com/watch?feature=player_embedded&v=llQM-OGsETQ

Used addons

Example videos

https://vimeo.com/75415111 (with kinectV1 but concept & gui is exactly the same) https://vimeo.com/100504580

How to use the calibrated output

See example. The important stuff:

//[setup] load calibration file (once)
kinectProjectorOutput.load(saveFile);

//[draw] get contour of the person in the kinect label/person image
vector<ofPoint> points;
for (int j = 0; j < contourFinder.blobs[i].nPts ; j++) {
	points.push_back(contourFinder.blobs[i].pts[j]);
}
//Project points from depth XY coordinates to projector XY coordinates.
//internally, depth XY location is transformed to world (x,y,z) then to projector XY.
vector<ofPoint> projected = kinectProjectorOutput.projectFromDepthXYVector(points);

Chessboard finding parameters



Calibration parameters

Get this addon

HTTPS
SSH