"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Failed to load tracker data.

Hi everyone! i have a problem when i change imagetarget from StonesAndChips to config (created TMS) as follow JNIEXPORT int JNICALL Java_com_qualcomm_QCARSamples_ImageTargets_ImageTargets_loadTrackerData(JNIEnv *, jobject) { LOG("Java_com_qualcomm_QCARSamples_ImageTargets_ImageTargets_loadTrackerData"); // Get the image tracker: QCAR::TrackerManager& trackerManager = QCAR::TrackerManager::getInstance(); QCAR::ImageTracker* imageTracker = static_cast( trackerManager.getTracker(QCAR::Tracker::IMAGE_TRACKER)); if (imageTracker == NULL) { LOG("Failed to load tracking data set because the ImageTracker has not" " been initialized."); return 0; } // Create the data sets: dataSetStonesAndChips = imageTracker->createDataSet(); if (dataSetStonesAndChips == 0) { LOG("Failed to create a new tracking data."); return 0; } /* dataSetTarmac = imageTracker->createDataSet(); if (dataSetTarmac == 0) { LOG("Failed to create a new tracking data."); return 0; } */ // Load the data sets: if (!dataSetStonesAndChips->load("config.xml", QCAR::DataSet::STORAGE_APPRESOURCE)) { LOG("Failed to load data set."); return 0; } /* if (!dataSetTarmac->load("Tarmac.xml", QCAR::DataSet::STORAGE_APPRESOURCE)) { LOG("Failed to load data set."); return 0; } */ // Activate the data set: if (!imageTracker->activateDataSet(dataSetStonesAndChips)) { LOG("Failed to activate data set."); return 0; } LOG("Successfully loaded and activated data set."); return 1; } and ndk build is good but i build to .apk and run on x10i then show error "Failed to load tracker data" Please help me error. Thank so much!

Malleswari

Wed, 05/29/2013 - 06:24

Hi   iam also face  this issues, 

 

 

 

      i  config the eco123.xml and eco.dat but still i getting the issues "failed to load tracker data when i lunch the app in device".

 

 

Malleswari

Wed, 05/29/2013 - 11:59

Hi 

 

i follow all the steps what you say,but i didnt solve that one,in config the all MyImages.dat,MyImages.xml but 

 

still  i get that InitQCARtask:onPostExcute:failed to initialze the QCAR.excute in consol.

Have you tried the following:

- uninstalling the App from your device

- manually removing the /.libs  ./bin and  ./obj directories from your project 

- rebuilding with ndk-build 

- refreshing the project in Eclipse

- running

?

Malleswari

Wed, 05/29/2013 - 13:27

yes i uninstall the app in my device, and remove libs,objs floder manvaly,and build rebuild the app by using cygwin terrminal,and refres my project and again i run the project

 

 

but i didnt solve that one

 

I see. 

I would recommend debugging the issue by adding some additional logs in the native code (C++);

you need to identify where exactly is the problem (e.g. is it failing because it does not find the XML / DAT files, or maybe something else...)

bmsbanglore

Fri, 08/02/2013 - 01:47

Hi,

I was able to change the Sample Image tracker with my own Tracker data got using Target Manager's Deveice Database.I followed the steps from this link 

srini1290

Fri, 08/23/2013 - 05:51

Hi,

Even I'm facing the same problem mentioned by @bmsbangalore.

Can anybody me help with this issue?

Thanks,

Srinivas

Hi Alessandro,

Thanks for responding.

We are using  Vuforia SDK V2.0.30. And yet we are getting the error " Failed to load dataset". The latest SDK available on the Vuforia website is 2.6.10. Is there a difference that we need to take care of?

Is there any targets with zero_stars rating in your database ?

Also, SDK 2.0.31 is not able to load databases created with the latest Target Manager (so, that error is expected);

it is surprising however that you still see the same error after upgrading to SDK 2.6.