"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Multiple BackCameras / external cam support

Hey there,

currently I work on a AR prototype (Unity 2017.4.6 -> Vuforia 7.0.57) and have a more general question: How can we switch or decide, which camera vurforia uses? I know, that there is the general choice between front default, rear, back....

Vuforia.CameraDevice.Instance.Init (CameraDevice.CameraDirection.CAMERA_BACK);

...but, modern device often have multiple cameras, like P20 or Honor 6x, Honor 7x - I tested my app on the 7x and noticed, that it automatically uses the camera with lower fov and more depth of field - which is not what I expected nor wanted.

Do you have experiences or ideas to this topic?

Another question, which is for some time in my mind: there are some devices with bad or even no camera. It would be great (for an AR installation for example) to connect a external cam (webcam?) to the usb port from the android device and use this camera input with vuforia! 

best regards Simeon

Ok, thank you for your fast and detailed answer. Now I don't have to try out stupid things and versions, can concentrate on the prototype (which still will take some months)  and I'll stay tuned for coming releases. Good to know that these topics are on your mind.

DanteMarshal

Thu, 05/05/2022 - 04:57

What's the status for this feature ? Is it available now ?

I can't seem to find any way to do this other that writing a custom driver.

Hello,

I can confirm that the out-of-the-box functionality of Vuforia Engine does not support swapping between multiple camera inputs during runtime.

Kind regards,

Dave Downing

Vuforia Engine Technical Support