Quantcast
Channel: Kinect - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 530

How do I resize the ouput of kinect.getColorImage()? Windows PC/process 3

$
0
0

I am trying to use the processing Kinect library with another AR tool kit; the AR toolkits only takes in 640 x 480 input sizes, so the kinect's colorImage output's 1920 X 1080 was not compatible to be used due to an ArrayOutOfBoundsException. I am trying to resize the output of kinect.getColorImage() but keeps on getting ArrayOutOfBoundsException; any help on what I'm doing wrong, or suggested solutions would be greatly appreciated!

        void draw()
        {
          img = kinect.getColorImage();
          img.resize(640,480);

          //do stuff with the kinect's output with the following AR library
          nya.detect(img);
         ....
        }

Viewing all articles
Browse latest Browse all 530

Trending Articles