I am working on create object recognition app but my app only work with the first object target it tracked but not the other. If I reboot it and track other one object target, It works with this target but not any others. Means that my app only track the object target it track at the first time. Could you please help me. Thank you very much
- Sort Posts
- 12 replies
- Last post
only track the object target tracked at the first time
only track the object target tracked at the first time
only track the object target tracked at the first time
My multiple object recognition seems to be working. It tracks the two objects in my database. The only thing is that it only recognizes one object in the frame at a time. When the two objects are in the camera frame, it only recognizes one of them. But I can individually point at either object, and it tracks it with a gray box.
only track the object target tracked at the first time
I'm using a Samsung Galaxy S6 to test the app. For development, I'm using the latest Vuforia Sdk for Android Studio (vuforia-sdk-android-6-0-117), and the latest Vuforia Object Scanner apk (scanner-5-5-11), on a windows 10 64 platform. I just included two objects in the target database and copied/pasted the _OT.dat and _OT.xml file in the VuforiaSamples-6-0-120 project under app>src>main>assets>ObjectRecognition folder in Android Studio.
Now when it says "recognize and track up to 2 objects simultaneously", I'm not sure if it means that it can track both objects when they are both inside the frame of the camera and see two gray boxes simultaneously.
Because when I tested it, it didn't recognize them when both were inside the frame of the camera. But when I included only one of the objects within the frame at at a time, it was able to recognize and track it with the gray box.
only track the object target tracked at the first time
After your reply I also tried to use Object Recognition in the Vuforia SDK for Android Studio. So I downloaded my database with three targets in it and put the _OT.dat and the _OT.xml in the ObjectRecognition assets folder. After that I only changed the line whoch loads the xml-file (mCurrentDataset.load("ObjectRecognition/objectTarget.xml").
With all this set up I build the sample app to my Galaxy Tab S2 and tried the recognition. But I it end up with the same issue like in Unity. pointing on the first Object: It gets recognized and the app draws a transparent cube on it. But then pointing at the second target just does nothing. Pressing back on my device and reselect "Object Reco" but now pointing on the second target: My second object gets recognized and gets its cube on it, but pointing back to the first object just does nothing.
There must be something I missed. Any suggestions?
only track the object target tracked at the first time
Same issue for me.
I have 3 objects in my database, and I'am only able to detect 2 of them, the third one is never detected.
If I restart the tracker, I can detect the third one, but the first isn't detected anymore...
Please help !
EDIT:
I tried putting only one object target per dataset and activate one or the other at runtime, and it's causing the same issue.
the first object is detected, and if I activate another dataset containing an other object, it will never detect it...
I'm having a similar problem. Only one object is recognized and others are never recognized, but if I restart then a different one will be recognized but no others.