- If you are using an untrained Model Target dataset with a single model, you should create a DataSet via the ObjectTracker, load the .dat/.xml file pair representing your Model Target dataset, and activate the DataSet. ModelTarget instances are available via the DataSet.
- If you are using a trained Model Target dataset with multiple Model Targets and/or multiple Guide Views, you should first obtain the appropriate TargetFinder from the ObjectTracker, initialize it with the .dat/.xml file pair representing your Model Target dataset, and start it running. Check the TargetFinder periodically (typically every frame). ModelTarget instances become available on the TargetFinder after tracking has been enabled for a target.
You will need to render a GuideView image over the camera image to help users position their device correctly so that tracking can begin. You can obtain a GuideView from your ModelTarget instance.