AR function using Vuforia on a UI Button

I am currently working on a thesis where I would like to combine an AR function together with a UI button. For example; when the AR Camera (UI button) was pressed the AR Camera function of Vuforia will scan the image target and display the associated information. Is it possible that way? Any help will be much appreciated. Thanks in advance.

You have the Image Target object. This is the one that runs the tracking with the attached component ImageTargetBehaviour.

The DefaultTrackableEventHandler registers and listens to the ImageTargetBehaviour. So when ITB finds or loses a target, it screams it and DTEH hears it.

By default DTEH simply gets all colliders and renderers on the object but you can do whatever you want.

What you need is a method that sets that object on and off.

public GameObject imageTrackerObj;
public void SetTracker(){
     imageTargetObj.SetActive(true);
} 

then create a button and add that method as event. Set the image target object off and run.
As you look around the tracker is off so nothing happens, press the button and the tracker is now on and you should get the object.