I've got the Asus Xtion Pro plugged into my PC, and am now trying to run basic OpenNI2 code to export snaphots from the cameras. I am able to run the sample projects that comes with the OpenNI2 package (e.g. SimpleViewer), so I know that it is 'working', but I am trouble getting anywhere past that.
The documentation and how-to side of things for this library seems quite sparse, and I can't find an actual example online that does what I'd like to do, so it would be great if anyone who has the code available that does the following, I'd be grateful:
- set up a video stream of depth and colour images.
- takes snapshots of these streams at regular intervals (e.g. every 0.5 seconds)
- saves these in a format like .png
Thanks