By huesforalice
on Wed, 06/20/2012 - 17:11
Hello qcar team,
first of all: thanks for sharing this great framework. I'm more than impressed with the performance and stability compared to other solutions I've tried.
This is my setup:
XCode 4.3.2.
OSX 10.7.3
iPad 2 without mobile network
qcar 1.5.8 native toolkit as it appears in the ImageTargets Sample App
iOS 5.1.
I've compiled and tested the ImageTargets demo app on my app, which works fine. Startup time (meaning the time until there's actual video content displayed on the screen) is around 1-2 seconds which is great.
I've now done some modifications to the ImageTargets app essentially stripping out all functions I don't need. Startup time stayed at around 1-2 seconds.
After that I copied the project files as well as the libQCAR.a with its header files to an already existing project I need to integrate the tracking into. In this new project the startup time now suddenly goes up to 10 seconds. This is the trace from the console (the NSLogs commands of the sample app have stayed pretty much untouched):
2012-05-04 14:24:20.056 cma[16379:5307] INFO/AR(16379) 2012-05-04 14:24:20: QCAR SDK version 1.5.8
2012-05-04 14:24:20.434 cma[16379:707] ARParentVC: appeared
2012-05-04 14:24:20.435 cma[16379:707] ARVC: viewDidAppear
2012-05-04 14:24:30.137 cma[16379:707] APPSTATUS_INIT_TRACKER
2012-05-04 14:24:30.147 cma[16379:707] Successfully initialized ImageTracker.
You can see a 10 second gap between the arvc appearing and the QCARUtiles reporting that the tracker has been initialized. After tracking has started, all si fine.
The only thing I can imagine going wrong here, might be some compiler settings. The only obvious difference between the sample app and my new project is, that I'm using automated reference counting on the new project. I've tried switching that off, but it does not make a difference.
Are there possibly any more hidden settings I need to find and adjust? Or do you have any other ideas why the starting up takes such a long time?
Any help is much apreciated!
David
Re: long statup time in custom project
Re: long statup time in custom project
Re: long statup time in custom project