By XploreAR
on Thu, 04/03/2014 - 16:05
I'm using Cloud Reco for iOS. It's working fine. When my target image is detect i'm displaying Image on top of the cameraview. For example, if i scan traget any displaying mustache image and applying this image to user face. I used pinch, drag, etc. How can i take screenshot with person face and mustache?
How to take screenshot with background and Augment image
Try searching the forums for screenshot and maybe you may find some code that could help you.
N
How to take screenshot with background and Augment image
I tried with keyword taking screenshot but it suggesting only Unity screenshot. Plese helpme out.
How to take screenshot with background and Augment image
See this:
https://developer.vuforia.com/forum/faq/android-how-can-i-capture-ar-view
this tutorial is for Android, but since the capturing technique is essentially based on simple OpenGL code (glReadPikels), it should be straightforward to port to iOS.
How to take screenshot with background and Augment image
Search sometimes works better when you add more keywords e.g. "screenshot ios"
...which would eventually yield something like this...
https://developer.vuforia.com/forum/ios/vuforia-sdk-how-take-screenshots
Persistence is crucial :)
N
How to take screenshot with background and Augment image
@Nalin: I saw this link. I comeup with below code. Is it correct? Where to paste this code, means which viewcontroller?
How to take screenshot with background and Augment image
If you read the thread it is in the xxxGLView.
However it was for the previous samples, so you may need to experiment a bit.
good luck
N
How to take screenshot with background and Augment image
@Nalin: It's a previous sample only. In the thread i found your answer: You mentioned in AR_EAGLView.mm. Does my below code is correct?
How to take screenshot with background and Augment image
Sorry, we are not here to check your code - that's up to you.
N