By Ange3d
on Mon, 05/19/2014 - 11:03
Hi,
I would like to be able to pause the AR engine, still getting the camera rendering.
The documentation is not very usefull :
static void com.qualcomm.vuforia.Vuforia.onResume | ( | ) | [static] |
Executes AR-specific tasks upon the onResume activity event
static void com.qualcomm.vuforia.Vuforia.onPause | ( | ) | [static] |
Executes AR-specific tasks upon the onResume activity event
Can I know more about that please ?
Thanks !
Pause/Resume AR without camera stop
Hi,
you can do this by stopping the Trackers; if you look at the sample code (e.g. in ImageTargets), you can find some code like this:
Quote:
OK. After some research I did this.
Just copy the next Script in a new script and call it "RecognitionSwitch" (or whatever you want, as long as it has same class name and script name):
Pause/Resume AR without camera stop
Hi !
Will the start-stop reset the tracker datas ?
I mean : sometimes the pose is not good, not well oriented, and we would like to make a "reset" instead of moving the camera far from the marker to force it.
thanks.
Pause/Resume AR without camera stop
When you stop the Tracker, all the currently tracked targets are lost, and when you restart it, the engine will try to detect again those targets fom scratch; so, if this is what you mean with "reset", it could work indeed.
Pause/Resume AR without camera stop
Thanks :-)
Pause/Resume AR without camera stop
@AlessandroB
Hi,I tried your code but it doesnt work.
ImageTracker is not recognize So I used ObjectTracker instead of ImageTracker.
Still it doesnt work.
My code is here