Log in or register to post comments

External Camera Calibration

June 11, 2020 - 12:33am #1

For a project using Unity and Vuforia, I am required to supply the calibration of an external camera to Vuforia. Now I have all the data and entered them into the "driver.h" from the SDK. From my understanding, I now have to create a .dll from all the modified files in the SDK and somehow supply the to Vuforia. Here begins my problem. I really don't get how to 'load' the driver into my Unity environment. Unfortunately, the documentation is rather vague there. Does anybody know what to do in that instance? Or is there an easier way to include the Camera Calibration when using Unity?

Regards

External Camera Calibration

June 16, 2021 - 7:52am #6

Actually, i'm now stucked at the point where the app starts up but Vuforia (after correctly identifying the external camera and requesting camera permission) does not initialize and generates an error. If you manage to make it works, can you tell me something?

Thanks again!

External Camera Calibration

June 16, 2021 - 7:44am #5

Hi,

i am working on the same thing, actually I was able to load the driver within Unity. You just need to copy the .so files you have after compilation (as linked in preview answers) in Assets/Plugins/Android. This directory does not exist at the beginning and you need to create the folder. 

AttachmentSize
Image icon Image.JPG21.13 KB

External Camera Calibration

June 24, 2020 - 5:20am #4

Hi,

The action of calibrating the camera and uploading the camera parameters is described here: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/external-camera-calibration.html

Check out the section: Providing the Camera Intrinsics.

Also maybe you do not require such a granular control, hence we have this article on how to work the camera: https://library.vuforia.com/articles/Solution/Working-with-the-Camera#How-To-Use-the-Camera-Projection-Matrix

Hope it helps.

Vuforia Engine Support

External Camera Calibration

June 19, 2020 - 5:12am #3

Hello,

Sorry, if my question was poorly posed. The camera for recognizing markers works out of the box, but I want to improve performance by changing parameters like radial distortion etc, the intrinsic parameters. The documentary is not really helpful here, since I do not want to load sequences of images, but I just want to change camera intrinsics. I found the relevant struct for that, but I really do not know, which parts of a driver I have to implement here. More help would be greatly appreciated.



Thank you.

External Camera Calibration

June 17, 2020 - 5:17am #2

Hi,

Unity and Vuforia should work out of the box with a webcam when authoring.

If you want to include your own driver for the camera, please follow the steps described here: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/file-driver.html

Thank you.

Vuforia Engine Support

Log in or register to post comments