small medium large xlarge

03 Apr 2013, 13:27
fanny (5 posts)

Hi, I would like to know how to setup the camera as background service. I would have need to make an augmented reality application. Which would mean analyse data flow from camera but not display it. thanks in advance

04 Apr 2013, 01:52
Daniel Sauter (54 posts)

Hi Fanny, you can choose not to display the camera image, but you’d set up the camera exactly like in the Getting Started example. In addition you can start() and stop() the camera using the Ketai methods when you choose to, and also look into the Android life cycle pause the camera when you need to. The PImage that is returned from the camera can be interpreted and used, without drawing it on the screen. Best, Daniel