I’m currently developing a projection mapping application within Unity3D and I’ve reached a point where I require projector’s intrisic/extrinsic matrix. In order to obtain them, I’m trying out the ofxCvCameraProjectorCalibration addon (using the calibration example available in the pack) and been having some issues:
The application is divided in 3 states: CAMERA, PROJECTOR_STATIC and PROJECTOR_DYNAMIC. The first and second one calibrate the camera and projector respectively but I don’t understand the difference between the two Projector’s ones. Upon reaching the final state (the dynamic one), the dots used in the projector calibration that were originally being projected in the Static state are gone and the application seems to be no longer doing sort of calculations, meaning it doesn’t get to the point in the code where both CameraProjectorExtrinsics.yml and calibrationProjector.yml are generated! What am I supposed to do at this stage?
The clean(maxReprojErrorCamera) crashes the application. In order to fully run the application, I have to set a high value in settings.xml so that this function is never called, however from what I’ve understood this function isn’t mandatory but how much impact does it have on the calibration?
Are the values obtained in the extrinsic matrix of the projector measurable in meters or cm?
Any help would be greatly appreciated!