Log in or register to post comments

lock augmented video on image track

June 14, 2015 - 11:45pm #2


I am  trying to pause the vuforia tracking in android code,

My augmented content is video,As the user will track the marker the video should get displayed,then when user will lock it,It should pause the tracking.
I am able to do that in Unity.
In unity my code is,

if(GUI.Button(new Rect(10, Screen.height-70, 200, 60),unlock)){

islock = !islock;
TrackerManager.Instance.GetTracker<ImageTracker>().Stop();_____________________For Pause tracking

TrackerManager.Instance.GetTracker<ImageTracker>().Start();_____________________For Resume tracking


In android I used,






In Android code I am stopping 'tracking and camera' Both,.beacause  it doesnt work only stopping tracking.
But In that I am facing problem that As the camera stop it keep the same screen(means it just store the screen).

I want to keep camera on after pausing tracking and the augmeneted content also remain as it is.
How can I achieve this in android.(I am facing this problem in android).

please help..




lock augmented video on image track

June 24, 2015 - 12:41pm #1

After stopping the tracker, just de-activate the dataset. You can re-activate the dataset and re-start the tracker again when needed.

Log in or register to post comments