By Ayush147
on Sat, 03/16/2013 - 09:26
hi..
m using device database to detect an an image. Downloaded the database n copied the two files to the assets folder. clean n bulid project...... but the target is still not detected... plz help.
target image not detecting
Hi, have you changed the name of the file to load in the code in ImageTargets.cpp ?
target image not detecting
plz tell where i have to change in native file
target image not detecting
In ImageTargets.cpp, youshould find a line like this:
dataSetChipsAndStones->load("ChipsAndStones.xml", .... );
target image not detecting
still no detection
changed imagetargets.cpp as follows
target image not detecting
what is the "star rating" of your targets in your db?
target image not detecting
its rated 4 *... n havin good tracking performance
target image not detecting
Then it should work. Let's summarize:
- you have created a database called "db" containing one target (or more than one), the target has 4 star
target image not detecting
this is a part of imagetargets.cpp n i have made the following changes.. plz see n tell me if ny changes should me made
target image not detecting
The code looks correct. It must work. Are you sure you have rebuilt the code with ndk-build afterwards?
target image not detecting
its working fine... thanks mate :)
target image not detecting
now getting this error in cygwin when am trying to replace teapot with a 2d image
target image not detecting
Hi, first, happy that your original problem is solved.
Concerning your new issue (OpenGL), just replace this line:
target image not detecting
hey thanks... the problem is solved...... now am having a few queries.....
1. The 2d texture is completely covering my target... what changes should i make to display texture on 60% of the screen
target image not detecting
Glad to hear the problem is solved.
Concerning your questions:
target image not detecting
hey thanks for replying..
1. yes am talking about 60% of the target size... in the previous question
target image not detecting
Ok,
then you simply adjust the code as follows:
target image not detecting
target image not detecting
that's application-specific logic; you can implement it in many ways.
target image not detecting
target image not detecting
Sure you can; but you will need to change some code;
the procedure is explained here step-by-step and in full detail:
https://developer.vuforia.com/forum/faq/android-how-do-i-replace-dataset-image-targets-sample
target image not detecting
yes i have done it... but this only shows a single image over multiple targets.....we cannot have separate images displayed over different targets....