"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

UVC Camera Driver explanation

Hi, I'm following the guide given in "Building and Using the UVC Camera Driver Sample" (https://library.vuforia.com/content/vuforia-library/en/articles/Solution/uvc-camera-driver.html) to get video streaming from a USB webcam connected to a phone with Android OS. It is not very clear to me how I should proceed in the last paragraph "Using UVC Camera Driver" in the case of Unity.

In points 1 and 2 how do I add the libUVCDriver.so, libuvc, libusb, libjpeg-turbo and UVCDriver.jar files in an Unity project? Do I need to edit the gradle file? If so, how can I change it to Unity?

In step 3 where do I find the Vuforia :: init () statement?

In point 4.b can the code be added in a script linked to any object in the Unity project?

Finally, I modified the ExternalCameraCalibration.xml file as shown, with the settings of my USB camera. But now this file must be copied to some Unity folder?

I tried to do the following:

I copied the mainTemplate.gradle file into Assets / Plugins / Android and modified it as indicated in points 1 and 2, then adding:

Please help me. How can I analyze video frames from an external USB camera connected to an Android device via USB?

 

vandergav

Mon, 10/28/2019 - 10:41

Hi Metal90, I'm currently facing the same issue as you are here. I'm confused as to how to proceed with "Using UVC Camera Driver". Where do I have to put the libraries, "libUVCDriver.so, libuvc, libusb, libjpeg-turbo and UVCDriver.jar" ?