When I run the Vuforia sample app using Image targets, the detection of the target is pretty instaneous i.e. as soon as I bring the target in front of the camera, it draws a teapot on the target.
But I am trying to use Vuforia api as part of my larger android application. There, somehow, it seems to take longer to detect the target and start tracking. I have to show the target to the camera for anywhere between 5-30 seconds before it is detected. When it gets detected, it is tracked quite well. When I print out the result of state.getNumTrackableResults() function, it shows me 0 for quite some time even when the target is in full view.
Same thing happens when I take the target out of camera view and then bring it back. The detection of the target is not instantaneous. FYI, I am using smaller sized stones and chips images which I have verified to work flawlessly with Vuforia sample app. Any idea why this is happening ?