Log in or register to post comments

Multiple BackCameras / external cam support

July 24, 2018 - 6:35am #1

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


Multiple BackCameras / external cam support

May 6, 2022 - 4:05pm #5


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

Multiple BackCameras / external cam support

May 4, 2022 - 9:57pm #4

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.

Multiple BackCameras / external cam support

July 25, 2018 - 2:44am #3

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.

Multiple BackCameras / external cam support

July 24, 2018 - 1:21pm #2


Unfortunately, the 7.2 SDK APIs do not have the capability to meet your use case (i.e. choosing one of two available back cameras). Currently, the SDK enumerates the available cameras as a runtime operation using an algorithm that was developed for devices that had just two cameras, one in the front and one in the back. With the growing market penetration of devices that provide multiple back cameras, we are looking into methods for exposing those via API. At this time I have no roadmap for when this may be commercially available.

Recently, we ran a successful beta with a limited number of partners to allow for external camera inputs to the Vuforia SDK. This was successful and is currently planned for commercial release later this year(?).

Stay tuned and thanks for your continued interest in Vuforia!


Vuforia Engine Support

Log in or register to post comments