I am trying to use the Vuforia Video Playback sample app as the starting point for a university project. What I want to do is develop a small iOS based app that will recognise a target, that I define, and play a video of my choice over the target as per the sample app. I am brand new to Vuforia so I would really appreciate some help and guidance by way of a simple explanation of the following:
-
Having created my own target dataset using the target manager and downloaded the .xml and .dat files, where do I have to update the sample app code in order for my target to be used rather than the Stones&Chips example?
-
Once I have my target integrated, what sample app code do I need to modify to invoke my own video (either streamed from the web or stored locally on the iPhone) when my target is detected? As I said, I’m very new to this environment and find I learn best by examples so any help and guidance would be much appreciated…
Hi Adam,
The first thing to do is check NUM_VIDEO_TARGETS as there has to be a reason why it is dropping through the case statement. If you can discover this then you can get to the root of the problem.
The other thing you can do is to check the dataset i.e. that the images are unique. You could try this in the standard Image Targets app and check the teapot colours - this will be far quicker than doing it within the Video Playback sample.
Once you are sure about the dataset and everything else, the next thing is to trace it through the debugger and find out exactly why - there has to be a simple explanation.
HTH
N