Log in or register to post comments

Model Target Trained Test App

February 15, 2019 - 8:39am #1

Hi,

I am using version 8.0.10 of Model Target Trained test from this apk "vuforia-unity-android-modeltargetstrainedtest-8-0-10_0.apk" with Nexus 9 (Android version 7.1.1 Kernal version 3.10.103-gfa7d4389a60) to test my trained model target dataset. However, when connect this Nexus to my development PC (windows 10) I don't see this folder /sdcard/Android/data/com.vuforia.samples.ModelTargetsAdRecoTest to load my dataset as instruct here https://library.vuforia.com/articles/Solution/model-target-test-app-user-guide.html under section "Loading your own datasets onto the device" . Uninstall and reinstall doesn't help.

The Model Target Test from this apk "vuforia-unity-android-modeltargetstest-8-0-10.apk" work fine I do see the folder /sdcard/Android/data/com.vuforia.unity.ModelTargetsTest to add my dataset.

Any help please.

Model Target Trained Test App

March 26, 2019 - 7:55am #7

Hello,

Looks like the app has been updated for 8.1 to now only have a single path:

/sdcard/Android/data/com.vuforia.engine.ModelTargetsTest/files/ModelTargetData/SomeDataSet/SomeDataSet.dat

https://library.vuforia.com/content/vuforia-library/en/articles/Solution/model-target-test-app-user-guide.html

Thanks,

Vuforia Engine Support

Model Target Trained Test App

March 20, 2019 - 7:49am #6

What is the folder name to add your dataset for version 8.1.7. I use com.vuforia.unity.ModelTargetsTest/files/ModelTargetData/ and my dataset doesn't show up in the app?

Thanks

Model Target Trained Test App

February 20, 2019 - 7:27am #5

Hi Medabit,

It works now, my was com.vuforia.samples.com.vuforia.engine.ModelTargetsTrainedTest/TestModel and it should be com.vuforia.engine.ModelTargetsTrainedTest/files/ModelTargetData/<your-dataset-name>/ as your latest reply.

Thanks

Model Target Trained Test App

February 19, 2019 - 1:39pm #4

Hello,

Although it is not obvious, there are two (2) different kinds of Model Targets datasets: ones that are trained for Model Targets with Advanced Recognition, and ones that are not.

Trained Model Target datasets require an additional authoring step, with the 3D model being uploaded to a Vuforia service that uses artificial intelligence to detect the model. Regular Model Target datasets do not require this step. I mention this because the datasets are not compatible between the two, or at least that's what I found during my experimentation when looking into your issue.

So, for untrained Model Targets, you would use vuforia-unity-android-modeltargetstest-8-0-10.apk and place the XML and DAT files in /sdcard/Android/data/com.vuforia.unity.ModelTargetsTest/files/ModelTargetData/<your-dataset-name>/

For trained Model Targets, you would use vuforia-unity-android-modeltargetstrainedtest-8-0-10.apk and place the XML and DAT files in /sdcard/Android/data/com.vuforia.engine.ModelTargetsTrainedTest/files/ModelTargetData/<your-dataset-name>/

I verified that both worked yesterday.

Lastly, be sure your app has permissions to read the sdcard. This can be set on device in app settings.

Good luck.

Thanks,

Vuforia Engine Support

 

Model Target Trained Test App

February 19, 2019 - 11:34am #3

Thank you for the response medabit. However it still doesn't work for the test app package vuforia-unity-android-modeltargetstrainedtest-8-0-10.apk downloaded.

I create a folder as "/sdcard/Android\data/com.vuforia.samples.com.vuforia.engine.ModelTargetsTrainedTest/TestModel" and then I place two files .xml and .dat inside this folder.

I restart the app and when I am in the app I don't see this test dataset as I saw in the other test package named "vuforia-unity-android-modeltargetstest-8-0-10.apk"

Do I miss anything?

Model Target Trained Test App

February 18, 2019 - 10:13am #2

Hello,

Apologies for the inconvenience.

Re-reading the library article, I can see where some additional text is required for better instructions. Let me attempt to clarify the write up:

To make a dataset visible to the apps, upload these two files onto the device storage by copying them into the following directory for the Model Targets Test App:

/sdcard/Android/data/com.vuforia.unity.ModelTargetsTest/files/ModelTargetData/<YourDatasetName>/

or the following directory for the Model Target Advanced Recognition Test App:

/sdcard/Android/data/com.vuforia.samples.ModelTargetsAdRecoTest/files/ModelTargetData/<YourDatasetName>/

Calling your attention to important points:

  1. If the Model Targets Test App / Model Target Advanced Recognition Test App *has not* yet been started, you will have to create the parent directories manually:
    • /sdcard/Android/data/com.vuforia.unity.ModelTargetsTest/files/ModelTargetData/
    • /sdcard/Android/data/com.vuforia.samples.com.vuforia.engine.ModelTargetsTrainedTest/
      • Note that the fully qualified app name is incorrect in the article quote above
  2. You *must* create the additional directory for writing the .dat and .xml files (e.g. <YourDatasetName>), and then copies these files into the directory *before* starting the test app
    • The content of these directories will be read each time the test app is started
  3. It is recommended that you restart the test app each time you want to test a new device database as there is a bug that may interfere with tracking performance if the database swap is done during run time

Hope this helps. I've also opened a ticket to have the article updated for accuracy and clarity.

Thanks,

Vuforia Engine Support

Log in or register to post comments