"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

Access Video in Android Project

I am currently working on an Android project where I need to access the video stream from the camera.

Unlike the non Eyewear SDK, the video stream I get is in Grayscale so I needed to change format. I tried to use setFrameFormat() as it is used in the SampleApplicationSession.java (in the startAR() method). After a few tests, the setFrameFormat() does not seems to work in the Eyewear version, crashing when I try to get RGB565, or just doing nothing when I try another format.

how can setFrameFormat() be used in the Eyewear SDK ? or is there any other way to get a RGB (565 or 888) version of the video stream with the Eyewear SDK ?

Thanks.

I am not using Unity for this project, just native Android with Android Studio, so I used this: https://developer.vuforia.com/library//articles/Solution/How-To-Access-the-Camera-Image-the-Native-APIs