RGB Image from Kinect

edited April 2014 in Kinect

Using Kinect for an interface and want to be able to use the kinect to take pictures as the sequence plays. Think photo booth, so the user is dancing and the kinect is using their motion as a means of enhancing the visualization, but I also want to write what the Kinect RGB camera is seeing and save it multiple times so I can print out the photo each time it saves.

I can output one image, but not multiple over time.

Many thansk!

Answers

  • My recollection is that you get the RGB image as a PImage: PImage rgb= kinect.rgbImage(); Would using an array of PImages which you fill as many times as you need work? e.g. if you have an array named images of size numberOfImages:

    images[frameCount%numberOfImages] = kinect.rgbImage;
    

    Then you can access them with

    for(int i = 0; i< numberOfImages; i++){
      image(images[i], 0, 0, width, height); //do interesting things here
    }
    

    Does that make sense? Have I understood your issue correctly?

Sign In or Register to comment.