All Projects → totovr → Simpleopenni

totovr / Simpleopenni

Licence: mit
SimpleOpenNI library for Processing 3.5.2, 3.4, 3.3.7, 3.3.6 on MacOS for V1 and V2

Programming Languages

processing
702 projects

Projects that are alternatives of or similar to Simpleopenni

Dotfiles
What tools and plugins I use for web development?
Stars: ✭ 73 (-41.13%)
Mutual labels:  atom, osx
Lein template descjop
A Leiningen template(Clojure/ClojureScript Project) for Web based desktop application with Electron (atom-shell).
Stars: ✭ 394 (+217.74%)
Mutual labels:  atom, osx
Ltfinderbuttons
My Finder buttons collection for macOS.
Stars: ✭ 269 (+116.94%)
Mutual labels:  atom, osx
Retro
[Work in Progress] Minimalist Vim Based Editor for the 30th Century
Stars: ✭ 103 (-16.94%)
Mutual labels:  atom, osx
Hello imgui
Hello, Dear ImGui: cross-platform Gui apps for Windows / Mac / Linux / iOS / Android / Emscripten with the simplicity of a "Hello World" app
Stars: ✭ 120 (-3.23%)
Mutual labels:  osx
Atom Language Rust
Rust language support in Atom - LOOKING FOR MAINTAINER, see #144
Stars: ✭ 117 (-5.65%)
Mutual labels:  atom
Openbsm
OpenBSM open audit implementation
Stars: ✭ 116 (-6.45%)
Mutual labels:  osx
Skeletonview
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
Stars: ✭ 10,804 (+8612.9%)
Mutual labels:  skeleton
Atom Panda Syntax
Panda syntax theme for Atom.
Stars: ✭ 122 (-1.61%)
Mutual labels:  atom
Atom Import Cost
Check the size of the package you import
Stars: ✭ 120 (-3.23%)
Mutual labels:  atom
Kymsu
Keep Your macOs Stuff Updated (KYMSU)
Stars: ✭ 119 (-4.03%)
Mutual labels:  atom
Libmodule
C simple and elegant implementation of an actor library
Stars: ✭ 118 (-4.84%)
Mutual labels:  osx
Atom Design
🍬 The mobile side UI-library base on Vue.js
Stars: ✭ 120 (-3.23%)
Mutual labels:  atom
Pylibfreenect2
A python interface for libfreenect2
Stars: ✭ 117 (-5.65%)
Mutual labels:  kinect
Operator Mono Atom
Free Operator Mono clone for Atom
Stars: ✭ 120 (-3.23%)
Mutual labels:  atom
Jumpy
The fastest way to jump around files and across visible panes in Atom
Stars: ✭ 116 (-6.45%)
Mutual labels:  atom
Openemr
The most popular open source electronic health records and medical practice management solution.
Stars: ✭ 1,762 (+1320.97%)
Mutual labels:  osx
Macassistant
Google Assistant for macOS!
Stars: ✭ 1,564 (+1161.29%)
Mutual labels:  osx
Objektiv
Objektiv is a utility that lets you switch your default browser easily.
Stars: ✭ 118 (-4.84%)
Mutual labels:  osx
N1 Ido
Ido is a clean, simple, Polymail-inspired theme for Mailspring
Stars: ✭ 118 (-4.84%)
Mutual labels:  osx

SimpleOpenNI

Use Kinect 1 or 2 sensors with Processing 3

Example of skeleton tracking using KinectV2

Example of skeleton tracking using KinectV1

I update the driver to can use this library with Processing 3 and 2 with Kinect V1 and V2

Kinect V2 just works with USB 3.0

The instructions to Setup the Kinect are written for Mac OS High Sierra users.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • Processing IDE
  • A computer with OSX
  • Kinect V1
  • Kinect V2

Alternative:

  • Atom
  • Arduino IDE
  • Arduino board

Installing

Install the last stable version of Processing IDE, you can download it from this page:

For OSX you just need to unzip the folder and paste the App in the applications folder.

The library has compatibility with Kinect V2 just in Processing V3.5.2, V3.4, V3.3.7 and V3.3.6

Once you have downloaded the library unzip it and follow the next steps:

  1. Select the folder SimpleOpenNI and choose:

    Edit > Copy
    
  2. Go to the Finder

    Choose Go > Go to Folder... and enter “~/Documents/Processing/libraries/"
    

Without the quotation marks. Click OK.

  1. Press Cmd-V or choose Edit > Paste menu to put "SimpleOpenNI" in this location.

Test a program sample:

  1. Connect your Xbox Kinect motion sensor to your computer in an available USB port. Ensure the sensor is connected to a power source.

  2. Open Processing IDE

  3. Copy and paste the next example in the sketch:

import SimpleOpenNI.*;


SimpleOpenNI  context;

void setup()
{
  size(640, 480);
  context = new SimpleOpenNI(this);
  if (context.isInit() == false)
  {
    println("Can't init SimpleOpenNI, maybe the camera is not connected!");
    exit();
    return;
  }

  // mirror is by default enabled
  context.setMirror(true);

  // enable depthMap generation
  context.enableDepth();

  // enable ir generation
  context.enableRGB();
}

void draw()
{
  // update the cam
  context.update();

  background(200, 0, 0);

  // draw depthImageMap
  image(context.depthImage(), 0, 0);

  // draw irImageMap
  image(context.rgbImage(), context.depthWidth() + 10, 0);
}

This is one example of how to activate the deep camera of the Kinect.

For more examples check the next links:

  • For Processing 3.4 the examples are added directly in the library, the Remove_Background_RGB example just work with Kinect V1

  • For Processing 3.3.7 check this branch:

Kinect V1 and V2 Processing 3.

  • For Processing 3.3.6 check this branch:

Kinect V1 and V2 Processing 3.

  • For Processing 2.2.1 check this branch:

Kinect V1 Processing 2.

Also you can use the next text editor to build programs:

  • Atom
  • Open package manager -> Install new Package -> Processing

Use this package to run Processing Sketch inside Atom

Contributing

Please read CONTRIBUTING.md for details of the code of conduct, and the process for submitting pull requests to us.

Versioning

I use SemVer for versioning.

Author of SimpleOpenNI library:

Max Rheiner

Supporter

Antonio Vega Ramirez:

License

This project is licensed under The MIT License (MIT) - see the LICENSE.md file for details

Images

Video

Reference

This library was created by Max Rheiner and his Project:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].