By kyasmin1983
on Sat, 06/29/2013 - 06:44
Hi!
I integrated cloud recognition feature in my app,
I have only one problem that when I navigate to other viewController from scaningView(ARParentview) ,ARParent view dissapear that is fine,
But when i come again on ArParentview It resumes & not restart or reload the view,
because of that what happen if i scan First image then when i come again on that view image will be recognise but that scaning mode is not runing that line animation not come but img recognises.
so i just want when my image is recognised & i get a meatadata response I just want to destroy ARParentView & when i come again on that view it will be restarted!!
waitng for your Reply!!
Thanking You!
Dissmiss ARParent view in cloud recognition.
It is not quite clear to me what you are trying to do or where the problem is.
However, if you look through the code you will find the following public method in EAGLView.mm
Dissmiss ARParent view in cloud recognition.
Hi!
actully i am entering in content mode & scaning mode properly,
& recognition also done properly except viewing scaning line(scaning line not senn),
Dissmiss ARParent view in cloud recognition.
You need to be clearer.
If I understand correctly, the problem you are having is that when you run it the 2nd time there is no scanline in the CRParentViewController?
This is because there is a known issue here.
Dissmiss ARParent view in cloud recognition.
Yes!
you exactly got my point,
in my code also when the view disappears it pauses the AR, and when it appears it resumes the AR works fine,
also camera stop & run properly, but when i come again on camera view from otherview only scan line not seen(detection is working),
Dissmiss ARParent view in cloud recognition.
problem is only when i goes on other viewController & comes on cameraviewcontroller scan ine not seen,
Like I said, the solution is to not create the CameraViewController every time.
Dissmiss ARParent view in cloud recognition.
Hi!
Here what i exactly do i am assigning that cameraview as a subview in scrollview , on very first time i run app it shows scanline but when i press back button & come again on viewcontroller scanline doesn't appear!
Dissmiss ARParent view in cloud recognition.
Here what i exactly do i am assigning that cameraview as a subview in scrollview
Ok, in my example I create _cameraViewController in the same way but no subviews etc. and then to transition I use:
Dissmiss ARParent view in cloud recognition.
Hi!
Any suggestion what can i do to get scanline on cameraviewController when i call it second time?
If even i doesn't call Cameraview as a subview & simply navigate the view still the problem is same!
Dissmiss ARParent view in cloud recognition.
It might be worth creating a small test app based on the Cloud Reco sample just to test this functionality along the lines I proposed here:
https://developer.vuforia.com/forum/ios/integrating-sample-codes-tabbed-application
Dissmiss ARParent view in cloud recognition.
Hi!
Finally I am able to get ScanLine & now i properly integrate the CameraView & working Nice!
Thanks a lot For helping me Nalin!!
small issue i have now same as on following link:-
Dissmiss ARParent view in cloud recognition.
I also get black & broad Scanline second time instead of white line
To me this says that you are still creating a new instance each time of the cameraviewcontroller.
Check via the debugger and step through to be sure.
N
Dissmiss ARParent view in cloud recognition.
Hi!
Naline ,
To me this says that you are still creating a new instance each time of the cameraviewcontroller.
This line works for me! that exactly what i do everytime & i get stuck!
Dissmiss ARParent view in cloud recognition.
No problem - just happy that it is sorted :)
N