Hi;
Im trying to add words at runtime too. But cant make it work. Im using this code:
On the class TextEventHandler of the TextReco example
TextTracker textTracker = (TextTracker)TrackerManager.Instance.GetTracker();
if(!textTracker.WordList.ContainsWord(“Sirea”)){
textTracker.WordList.AddWord(“Sirea”);
}
I have following the instructions of here : https://developer.vuforia.com/library/articles/Solution/How-To-Implement-Text-Recognition-in-Unity
I have read:
Quote:
Changes to the word list are not allowed while the text tracker is running.
But if I add
TextTracker textTracker = (TextTracker)TrackerManager.Instance.GetTracker();
textTracker.Stop ();
if(!textTracker.WordList.ContainsWord(“Sirea”)){
textTracker.WordList.AddWord(“Sirea”);
}
textTracker.Start();
I cant recognize anything.
Im using Unity 5.3.4 And Vuforia 5.9
I really need a help on this.
Thank you in advance