Topic locked

Get Data From Camera

December 5, 2021 - 9:22am #1

Hello,

So I'm new in this world of AR aswell as working with vuforia.

So here's what i want to do:

I have a cube that will rotate (every face of the cube as a color), and then after a while the cube will stop and the color facing the camare will be my target, then i have to move around the "world" and i'll have to find that color. 

So far so good, I've acomplished that, but only using the WebCam Device (Play Mode > PlayMode Type > WEBCAM) where I have acess to the GameObject created called TextureBufferCamera... So here i was thinking it was 100% done.. until i ported to Android... and nothing happend ...

 

For some reason this GameObject (TextureBufferCamera) is only available on PlayMode - WEBCAM, and it gives me a Null pointer...

I've been searching a way to acess the camera the same way i did with textureBuffer but can't find any good explanation on how to do it...

I'm kinda new to this world and this is my second day using vuforia.

 

Get Data From Camera

December 8, 2021 - 5:40am #2

Hey there,

 

Welcome to the Vuforia Engine community forums! Excited for you to use Vuforia Engine. 

Can you elaborate on which Unity version, Vuforia Engine version, and device model you're using?

If would be also helpful to share any logs you have from the device.

 

Kind regards,

Patrick Scheper

Technical Community Manager

Topic locked