"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

AR CAMERA AND MAIN CAMERA

Hello ,

I'm new to vuforia and unity, trying to develop an app which should scan a qr code and make a api call to fetch details and display in augmented reality.

i found a qrscanner  app built using zxing library,

url:   https://github.com/kefniark/UnityBarcodeScanner/tree/master/

this can be used as a boiler plater for my app. The problem is in this app the developer used "main camera". i've built the android apk and it is working fine. Now i replaced main camera with ARcamera . now when i build an apk, the app is not working fine. main camera is able to get continuous camera feed, but arcamera is unable to give me the continous feed, instead i'm getting a black screen. 

Can someone help me in knowing the difference between MAIN CAMERA and ARCAMERA? will they function differently in giving me continuous feed? 

If i use ARcamera, how can i render continous feed from the camera, so that i can keep scanning  for a qrcode. Also i'm using RAWIMAGE to display whatever i'm getting from my camera.  Please Help!! Thank You.

Sounds like you are trying to use two different camera feeds at the same time?  You can only use one at a time, Vuforia's or your plugins.

sri3har5ha

Tue, 10/30/2018 - 08:17

Thanks @dpizzle for your insight. although i did not completely understand your comment,  i have a doubt that how can it work with main camera in the scene? the android app built with main camera in the scene is giving me continuous feed and able to  scan perfectly.

I'll try to explain again.  Maybe you're confused about the concepts of camera in unity and the camera data from the device's physical camera.  They are two different ideas.