Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9120601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:39:49+00:00 2026-06-17T05:39:49+00:00

I have a processing sketch which worked with a microsoft Kinect and which I

  • 0

I have a processing sketch which worked with a microsoft Kinect and which I am now attempting to get to work with an Asus Xtion RGB+D camera. I am getting the attached error. This is my code:

// Daniel Shiffman
// Kinect Point Cloud example
// http://www.shiffman.net
// https://github.com/shiffman/libfreenect/tree/master/wrappers/java/processing

import org.openkinect.*;
import org.openkinect.processing.*;
import muehlseife.*; //<- import library
import java.io.*;
import processing.opengl.*;

octaneRenderer oct; //<- setup variable
boolean exportObj = false;


// Kinect Library object
Kinect kinect;

float a = 0;

// Size of kinect image
int w = 640;
int h = 480;

// writing state indicator
boolean write = false;

// threshold filter initial value
int fltValue = 950;


// "recording" object. each vector element holds a coordinate map vector
Vector <Object> recording = new Vector<Object>(); 


// We'll use a lookup table so that we don't have to repeat the math over and over
float[] depthLookUp = new float[2048];

void setup() {
  //size(800,600,P3D);
  size(800,600,OPENGL);
  kinect = new Kinect(this);
  kinect.start();
  kinect.enableDepth(true);
  // We don't need the grayscale image in this example
  // so this makes it more efficient
  kinect.processDepthImage(false);

...

Any idea of how to get the xtion to work?enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T05:39:50+00:00Added an answer on June 17, 2026 at 5:39 am

    AFAIK Daniel Shiffman’s Kinect wrapper is for OpenKinect/libfreenect which has a driver only for Xbox Kinect (not for Kinect for Windows/Asus Xtion/Primesense Sensor)

    You might need to use OpenNI and the PrimeSense Drivers.
    Since you’re using Processing I recommend using the SimpleOpenNI wrapper.
    The only catch is OpenNI 2 was released recently but SimpleOpenNI isn’t updated
    for that so it will only work with the older (1.5.x) SDK. Luckily the SimpleOpenNI
    downloads
    also includes the installers you need.

    Try this first:

    1. Use the hardware/middleware/etc. installer provided by SimpleOpenNI
    2. Install the Processing library
    3. Run a simple sample to see if it works)

    Hopefully it should all be fine.

    If not you might need to install OpenNI/NITE/Sensor (not SensorKinect)
    manually one by one in this order. You should be able to download
    the individual installers from the official OpenNI site.
    Before you move to Processing, you should be run one of the OpenNI samples
    (like SimpleNiViewer) to check if everything is fine up to this stage.

    I’ve seen Everyware’s updated Pink Cloud app running in Processing
    and they were using Asus Xtion sensors so hopefully you’ll be using the
    Xtion sensor with Processing soon.
    Everyware Pink Cloud installation

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been struggling with an issue involving a Processing sketch which I want
I have a simple processing sketch (you can post the code and observe the
I have no problems processing jQuery GET requests in a controller, however I cannot
I have a worker thread processing a queue of work items. work items might
I'm writing a java application in which I want to embed a Processing sketch
I have an assignment that is making a processing sketch that make 4 by
I have a Processing code which displays words from a text file. I have
I have a processing sketch that sends a String to a .txt file and
I have an Android sketch in Processing and i was asked to integrate facebook
I have written my own sketch in processing and inserted it on the page

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.