arunityx icon indicating copy to clipboard operation
arunityx copied to clipboard

Custom Camera Calibration

Open FaithGriffin opened this issue 2 years ago • 1 comments

Hello, I am trying to calibrate my app to a projector. I saw https://github.com/artoolkitx/artoolkitx-calibration and I think this will be a tool that I might use to map our projected surface to the rendered objects by ARToolkitx. Is there a way to add the camera_para.dat to ARUnityX?

FaithGriffin avatar Jan 22 '24 11:01 FaithGriffin

Yes, in arunityX you can specify camera parameters from a file by placing it in StreamingAssets and setting the name on the ARXController component. image

However camera calibration is really about the incoming image stream, rather than the displayed image stream. In artoolkitX, the same calibration data is used on both sides (to dewarp the camera stream, and to apply warping to the virtual environment to match the warped camera background image stream). If you want to use different output warping, this is possible with code modifications, but not supported out-of-the-box.

philip-lamb avatar Feb 07 '24 20:02 philip-lamb