Log in or register to post comments

Android: Play a video in AR when an image is recognized using Vuforia without using Unity

October 8, 2018 - 10:16pm #1

Hello,

I am currently experimenting with vuforia sample code found here https://developer.vuforia.com/downloads/samples in Android, without using Unity to get a few AR experiences. What I need is for an video to get played in AR when an image is recognized by Vuforia, and also position the video around the image where I need it to be. I know there are a few tutorials available online for this, but I'm looking for an alternative that uses just Java code (not Unity) so I don't have to go through the process of learning Unity for just this. I found a feature "CloudReco" where a 3D object is placed on a recogonized image in the camera, but I cannot figure out how I can place a video instead of the 3D model on the image. I hope someone with OpenGl knowledge can advise me in this issue. I also do not feel Vuforia has enough documentation to help beginners get through with creating their own AR experiences. Any comments/advice would be greatly appreciated.

Thank you.

Android: Play a video in AR when an image is recognized using Vuforia without using Unity

August 11, 2019 - 1:33pm #3

For now, i added metedata to target in database. Then, i could get metadata(this is a video link which you want to play). You can get video's link with this way. I think i can play this video by Android VideoPlayer. But i don't know how can i replace video place. I want video place must be same with target.

Android: Play a video in AR when an image is recognized using Vuforia without using Unity

October 9, 2018 - 12:46pm #2

Hello,

There is a native sample similar to your use case on the same page under Advanced Topics.

Note: The Video Playback sample is not a feature of Vuforia. Rather, it is a demonstration app that provides source code to devs as a reference for creating a similar experience. Unfortunately, this can also mean that your success may vary when trying to re-use the codebase in its existing form.

If you have playback issues, try emulating the our source videos' encoding format and native resolution with your content. Perhaps this will allow you to effectively re-use the code.

Thanks,

Vuforia Engine Support

Log in or register to post comments