Log in or register to post comments

How can I customize ImageTargets sample

July 11, 2013 - 7:21am #1

I try to costumize ImageTargets sample.

I want to implement image recognition just replacing the default sample pictures.

I try to replace the default ones with my own pictures  but  when I open a Cygwin bash shell to build the native C++ source files with the NDK package of the Android SDK its output is the following:

Android NDK: ERROR:jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that jni/../../../build/lib/armeabi/libQCAR.so exists  or that its path is correct
/cygdrive/c/Development/Android/android-ndk-r8/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.
Which is the best way of replacing  the default background images with my own ones without having this problem?


How can I customize ImageTargets sample

September 21, 2013 - 4:00pm #7

Hello dear moderator,

After following your thorough guidance I tried to come up with ideas to increase stars in my pictures.I found a way based on an online photoshop to sharpen my pictures and I obtained spectacular results.Almost all  my pictures' stars increased by 1 to 3 stars.I inserted 25 pictures to my device database and when I checked this application to the museum 90% of photos were recognizable.

My next target is to replace the teapot with an effective way to implement this indoor navigation that I want to make. I mainly aim at recognizing a picture through image recognition, after that I will display some basic information concerning the aforementioned asset and then I will display an arrow which will navigate the user to the next asset.I want to number the assets and to guide the user towards right, left, front or back.

Where do I have to change my code first of all to customize teapot display?

Thank you in advance

How can I customize ImageTargets sample

September 5, 2013 - 8:47am #6

Hi, glad to hear that you managed to replace the sample pictures.

Coming to your new questions:

- using the Local Contrast Enhancement (LCE) procedure may help, but there is no general way of predicting this, other than making a quick test on one or two of your pictures and see if you can get at least an extra star in your rating.

- another possiblity would be to attach a small Frame Marker next to the museum assets; Frame Markers can be recognized very easily, do not need to be pre-processed or uploaded to the Target Manager and you can use up to 512 of them (which could be sufficient in the Museum case):


- a third alternative could be to add a small Image Target next to the actual Museum asset (for example, typically each Museum asset, be it a picture or a sculpture or other) have a small notice / label explaining that asset; if you could manage to embed a small custom picture (with high rating) in that label, you could potentially augment that.

I don;t know if this answers your questions fully, but these are possible ideas to explore.


How can I customize ImageTargets sample

September 5, 2013 - 8:20am #5

Thank you very much for your really crucial guidance.

I successfully replaced the sample pictures with ones that I carefully selected so as to be according to your important instructions concerning the rating of each one and the image recognition works great.

But my problem is that I want to make a project in which I will implement an augmented reality application which will recognize exhibits of  a museum and through image recognition it will be able to navigate the user into the museum.

The photos that I selected from the museum are hardly 2 ratings and as a result when I tried to make the image recognition with them I had no result, since no one of them was able to be recognized.

Wad do you really think that would be the best idea ??

Do you believe that LCE procedure would make it easier for me to recognize them and if not could I follow any other way to recognize them, for example QR etc???

Thank you in advance


How can I customize ImageTargets sample

July 11, 2013 - 10:54pm #4

If you want to recognize your own pictures (instead of the sample ones) you need to create some Image targets from your pictures using the Target Manager, then create and download the Dataset and use it in the sample.

I recommend to read the developer guide first, as these are really the basic concepts in Vuforia, so it is important to familiarize with them first:




Also, this FAQ explains specifically what you need to do to replace the datasets in the ImageTargets sample:


How can I customize ImageTargets sample

July 11, 2013 - 3:37pm #3

I mean the pictures that are stored into the folder : ImageTargets-2-0-7\media  and constitute the ones that I printed so as to implement the image recognition.

I want to make this recognition through different pictures.Is it possible??

How can I customize ImageTargets sample

July 11, 2013 - 8:37am #2

Hi, what do you exactly mean with "default sample pictures" ? 


Log in or register to post comments