I have uploaded the pictures on myTrackables and changed the two datasets of the ImageTargets sample app, but now I always get these error messages:
08-25 00:56:46.178: E/AR(2820): DetectorAndTracker: failed reading config file 'bakk.xml'
08-25 00:56:46.178: E/AR(2820): DetectorNFT4_DataSet::beginModify(): Dataset is already in modify state
08-25 00:56:46.178: E/AR(2820): Failed to load dataset 'bakk.xml'.They are called bakk.dat/.xml and secondMarker.dat/.xml.
I have changing the code for loading datasets like that:
if (!myStones->load("bakk.xml", QCAR::DataSet::STORAGE_APPRESOURCE)) { LOG("Failed to load data set."); return 0; } if (!secondMarker->load("secondMarker.xml", QCAR::DataSet::STORAGE_APPRESOURCE)) { LOG("Failed to load data set."); return 0; }
and the variables of the two datasets for the hole ImageTargets.cpp file:
QCAR::DataSet* myStones = 0;QCAR::DataSet* secondMarker = 0;
Can anybody help me?
thanks for all
DataSet::beginModify(): Dataset is already in modify state
Hello,
Are you creating your two datasets. An example of the chips and stones data set is below:
DetectorNFT4_DataSet::beginModify(): Dataset is already in modif
Yes, I have created the two dataset with the following methods:
// Create the data sets:
myStones = imageTracker->createDataSet();
if (myStones == 0)
{
DetectorNFT4_DataSet::beginModify(): Dataset is already in modif
To confirm, these dataset resources are in your project's assets folder?
Did you remove StonesAndChips and Tarmac from the assets folder as well? - and you were able to run the samples unmodified?
Are you using the original Android manifest?
DetectorNFT4_DataSet::beginModify(): Dataset is already in modif
Yes, they are in my asset folder.
Yes, first I remove them from the project folder.
Yes, I was able to run the unmodified sample, but now I have reconfigured it from modified to unmodified and it also didn't work.
Yes, I use the original manifest.
DetectorNFT4_DataSet::beginModify(): Dataset is already in modif
Hello,
Starting with the ImageTargets sample:
1. Download your dataset.
2. Unzip your .xml and .dat file and place in a folder on your computer
DetectorNFT4_DataSet::beginModify(): Dataset is already in modif
It works perfect.
I have newly imported the ImageTargets sample and with your instructions it works very well.
Thanks for your help.