Hi
I'm developing an iOS application that uses both Cloud Recognition and User Defined targets. Theese are supposed to work in two different views with two different viewcontrollers but I'm having trouble getting them to work together and I've managed to find a strange bug (I think).
When changing views I change from a CREAGLView to an UDTEAGLView so I think my problem has nothing to do with rendering. I beleive my problem lies in any of the QCARUtils files I'm using.
I start my app in CR-mode and everything works fine. When I change to UDT view everything works as supposed there aswell, I can create targets etc... But the problems start when I change back from UDT to CR. After changing back to CR-view the app seems to be in constant "search-mode" and even though I show targets that it should find and that it could find before I switched to UDT-view it will keep scanning. I'm looking at the log and see that I'm receving new transactions, so I'm guessing that somewhere I have disabled target-finders ability to create new targets or something like that.
I've tried deactivating the user-defined-dataset but to no avail... I've also tried to reinitialise the visualSearch (- (void)initVisualSearch) but also to no avail. However if I DON'T reinitalise this happnes to my "Scanpoints" when i go back to the CR-view: (bild.png)
I'm using iOS and I'm trying to use push-segues to go between viewcontrollers.
I've also tried cehcing out this article: https://developer.vuforia.com/resources/dev-guide/simultaneous-use-cloud-reco-udt-and-device-databases but It dosen't help me where I'm stuck right now. Thanks in advance guys!
Also a bonus question: Is it ok to have multiple databases say two and have 1000 recos a month on each of them and manually changing between the two (I'm kind of in that position right now), without needing to pay accorind to: https://developer.vuforia.com/cloud-recognition-service
Thanks
//Marcus
How to change from UDT to CR?
Hi Marcus
This ought to be possible, as per the articlae you described, so the trackers should be able to co-exist.
In the CR sample this code starts and stops the tracker:
How to change from UDT to CR?
Hi NalinS
thanks a lot for your reply!
How to change from UDT to CR?
I'm just wondering how to get to the root of the problem here.
One thing you could do is to step through the debugger for a successful target id for CR and compare it agains an unsuccessful id.
How to change from UDT to CR?
Hi Again NalinS
So I finaly managed to solve this problem.
The problem was that the update method wasn't called when I got back to my CR view:
How to change from UDT to CR?
Great to hear :)
Managed to find out why the Visual search points bugged for me and what can be done about it.
Sorry, do you still have this problem?
N
How to change from UDT to CR?
Nope =)
How to change from UDT to CR?
Does it work the first time ok?
.. but not the second time or afterwards?
N
How to change from UDT to CR?
Hello,
How can we customize scan line & feature points in cloud reco app as shown in image named "bild.png" uploaded by Marcus ?
How to change from UDT to CR?
Sorry, but Vuforia does not officially support changing of the scan lines and feature points in this way.
At present the restriction is purely to be able to change colours.
Thanks
N