google-ar / arcore-unity-sdk

ARCore SDK for Unity
https://developers.google.com/ar
Other
1.4k stars 403 forks source link

Add Runtime images to Augmented database. #713

Open janeshvar opened 4 years ago

janeshvar commented 4 years ago

Hello, WIth follwing code i have added Images to databse but cant track with the same images what issue anyone can help me ? if i am missing anything from here.

Please have a look on this Code and let me know.

Public Texture2D monimage;

AugmentedImageDatabase newDatabase = ScriptableObject.CreateInstance(); ARCoreSessionConfig.AugmentedImageDatabase = newdatabase; newdatabase.AddImage("Flower", monimage, 0);

Now if i print Count of images from databse it gives me count 1 but cant track with the same image as Image tracking its not working.

Please help me for this. I am stuck at this point from so long.

ragavendranbala commented 4 years ago

hi @janeshvar have you fixed this??