Log in or register to post comments

ImageTargets : 3 different Datasets?

July 26, 2012 - 6:47am #1

Hi,

I would like to know if it is possible to load three different Datasets in ImageTargets Sample, so using an enumtype instead of the boolean mIsStonesAndChipsDataSetActive.

Is it possible to get three different Datasets with one tracker ? (or is it better to regroup two Datasets in one ?)

Thanks in advance

(Just an other question : how many pictures max can we put in a single DataSet (without having lags or so).

ImageTargets : 3 different Datasets?

October 11, 2012 - 7:33pm #7

You'll add the datasets to your assets folder and then you can switch between them using a update callback class - see ImageTargets_UpdateCallback on line 90 of ImageTargets.cpp in the ImageTargets sample project for an example of how to do this. This class is called when the tracker is updated and capable of loading and de/activating datasets.

ImageTargets : 3 different Datasets?

September 24, 2012 - 7:19am #6

I'm sorry that I didn't declare that i'm trying to do that on Android... and i tried to find something in the fourm even searching here in the fourm is some kind confusing, but didn't find what i'm looking for...thanks in advance.

ImageTargets : 3 different Datasets?

September 24, 2012 - 6:39am #5

This is straightforward.

Assuming you are using iOS, simply add the dataset .dat and .xml files to your resources.

Then at runtime you can use ActivateDataSet to select the dataset that will be used.  Only one dataset can be active at any time.

It might be worth searching the forums to see if this question has been answered before.

N

ImageTargets : 3 different Datasets?

September 24, 2012 - 4:55am #4

I'm sorry but I'm new here, so can you tell me how exactly can I use more than two datasets?

ImageTargets : 3 different Datasets?

July 27, 2012 - 1:55am #3

Thanks for information ;)

ImageTargets : 3 different Datasets?

July 26, 2012 - 7:02am #2

Hi GabrielS

You can have any number of datasets, but only one can be active at any point in time (using activateDataSet)

In each dataset there is a mentioned figure of 80 images per dataset, though some have had success in loading many more than this.

HTH

N

Log in or register to post comments