Log in or register to post comments

No NewSearchResult after stopping and starting cloud recognition

June 28, 2019 - 8:40am #1

Hi,

We have some problems with cloud recognition events flow.

When cloud recognition finds a marker, Vuforia first dispatches NewSearchResult event with TargetFinder.TargetSearchResult targetSearchResult as parameter. TargetFinder.TargetSearchResult contains data about the marker, like it's tracking rating and metadata. 

Immediately after NewSearchResult event, Vuforia dispatched TrackingFound, event that we use to display game objects.

The problem is that in some cases we need to stop the tracking after a marker has been recognized. After the tracking is stopped:



TrackerManager.Instance.GetTracker<ObjectTracker>().Stop();



Vuforia dispatched NewSearchResult event, and when we start tracking again:

TrackerManager.Instance.GetTracker<ObjectTracker>().Start();

and immediately recognize a new target, TrackingFound event is dispatched but never NewSearchResult, so no data about the new target is available.

The issue is that we display the game objects according to the metadata of the marker.

Thanks

 

Log in or register to post comments