Easy Control of Kinect in Processing 3.0

Introduction: Easy Control of Kinect in Processing 3.0

About: Fundador de The Inventor's House Hackerspace, Movimiento Maker y Hardware Libre, DIY, Workaholic

Hola amigos

En esta ocasión le voy a mostrar como instalar todo para usar Kinect con Processing un lenguaje muy fácil de usar y que seguramente muchos de ustedes ya han usado anteriormente.

En esta ocasión yo estoy usando Windows x64, pero seguramente también les puede funcionar con otros SO solo es cuestión de usar las herramientas adecuadas.

Iniciemos!!

Step 1: Instalar Drivers

Lo primero que debemos hacer es instalar los driver genericos para el Kinect (no funciona con los drivers SDK de Microsoft):

  1. Descarga Zadig de http://zadig.akeo.ie/.
  2. Ejecute Zadig y en las opciones, consulte la Lista de todos los dispositivos y desmarque Ignorar Hubs o padres Composite
  3. Seleccione el NUI Sensor Xbox (padre compuesto) desde el cuadro desplegable. (No haga caso de la interfaz 0 e interfaz de 2 variedades.) El controlador actual listará usbccgp. ID USB es VID 045E, PID 02C4.
  4. Seleccione libusbK (v3.0.6.0) de la lista de controladores de reemplazo.
  5. Haga clic en el botón del conductor Reemplazar. Haga clic en Sí en la advertencia acerca de la sustitución de un controlador del sistema. (Esto es debido a que es un padre compuesto.)
  6. Hecho.

Step 2: Instalar Processing Y Libreria

Ahora debemos tener en nuestra maquina processing y la librería de Open Kinect

  1. Descargar Processing 3.0 desde https://processing.org/download/
  2. Descomprimimos el archivo
  3. Ejecutamos el archivo exe.
  4. Se abrirá la ventana

Ahora debemos instalar la libreria Open Kinect

  1. Sketch-->Import Library y tecleamos "Open Kinect",
  2. Elegimos Open Kinect for Processing e instalar (en mi imagen ya aparece instalado)
  3. No es necesario reinstalar

Step 3: Usando Ejemplos

Una vez instalada la libreria ahora debemos ir a File-->Examples-->Contributed Libraries-->Open Kinect for Processing dependiendo la versión del Kinect que tengamos debemos elegir la carpeta

Kinect_v1

  • Kinect 1414
  • Kinect 1473
  • Kinect para Windows version 1

Kinect_v2

  • Kinect para Windows version 2

Es hora de empezar a jugar, espero esto les sirva para iniciar con Kinect y Processing de una manera sencilla

Saludos Inventores!!

Be the First to Share

    Recommendations

    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge
    • For the Home Contest

      For the Home Contest
    • Big and Small Contest

      Big and Small Contest

    Comments

    0
    jkimball
    jkimball

    7 years ago on Introduction

    Hello friends
    This time I 'll show you how to install everything to use Kinect with Processing - a very user-friendly language and that many of you have probably used before.


    This time I'm using Windows x64, but surely they can work with other OS it is just a matter of using the right tools.


    Let's begin!!

    Step 1: Install Drivers

    The first thing to do is install the generic driver for the Kinect (It does not work with Microsoft SDK drivers ) :

    1. Download Zadig from http://zadig.akeo.ie/

    2.
    Run Zadie and in options, see the list of all devices and uncheck "Ignore Hubs or Composite parents"

    3. Select the Xbox NUI Sensor from the dropdown box. (Ignore the interface 0 and interface 2 varieties.) The current controller will list usbccgp. The USB ID is VID 045E, PID 02C4.

    4. Select libusbK ( v3.0.6.0 ) from the list of replacement drivers.

    5. Click the "Reinstall Driver" button. Click Yes to the warning about the replacement of a system controller. (This is because it is a parent compound.)

    6. Done.

    Step 2: Install Processing and libraries

    Now we have in our machine Processing and the Open Kinect library.

    1.Download Processing 3.0 from https://processing.org/download/

    2. Unzip the file

    3. Run the exe file.

    4. The window opens

    Now we install the Open Kinect library

    1. Sketch - > Import Library and type "Open Kinect "

    2. Choose Open Kinect for Processing and install (in my image already appears installed)

    3. No need to reinstall


    Step 3: Usage examples

    Once the library is installed, now go to File - > Examples -> Contributed Libraries - > Open Kinect for Processing depending on the version of Kinect choose the folder



    Kinect_v1

    1414

    Kinect
    1473

    Kinect for Windows version 1


    Kinect_v2


    Kinect for Windows version 2

    It's time to start playing, I hope this will serve to start with Kinect and Processing in a simple way

    Greetings, Inventors !!