Code Monkey home page Code Monkey logo

crea's Introduction

CREA

Interactive system that generates computer graphics using the motion data from the Kinect camera. Written for openFrameworks 0.8.4 (http://openframeworks.cc/).

CREA VIDEO

Video tutorial explaining the interface: https://www.youtube.com/watch?v=i2qrqvZc22Y

##Requirements To use CREA you will need:

  • A Windows, Mac OS X or Linux computer with modern graphics.
  • Xbox Kinect Sensor, preferably model 1414, with USB adapter and Power Supply.
  • Projector or LCD screen.
  • CREA software.
  • openFrameworks 0.8.4.

##Installation

  1. Download openFrameworks in your computer (http://openframeworks.cc/download/). Extract the folder you downloaded and put it somewhere convenient.

  2. Download or clone the repository of CREA (https://github.com/fabiaserra/crea) and place it inside the openFrameworks folder, in apps/myApps. You should have a folder named crea with two folders inside, src and bin, and a few more files. The src folder contains C++ source codes for your project. The bin folder contains the data subfolder where all the content files needed for CREA are located:

  • cues: Cue XML files.
  • fonts: Font files.
  • kinect: Sequence of images to use CREA without plugging a Kinect.
  • sequences: IR Markers sequence XML files.
  • settings: Settings XML files of the control interface.
  • songs: Audio files to play with the basic audio player.
  1. The bin folder contains also an executable file of CREA after you compile it. If this file has the '_debug' suffix means that the project was compiled in the Debug mode of compilation, which lets you debug the project by using breakpoints and other debugging tools. Projects compiled in the Debug mode can work very slowly so always compile it in the Release mode if you use CREA in a live performance.

  2. Download the list of required addons and place them inside the addons folder, only ofxCv and ofxSecondWindow (I have included the rest to src so the updates of the addons do not affect the project):

  1. Create a new openFrameworks project using the project generator tool that is inside the openFrameworks root folder. Name it crea (same name as repository folder you downloaded before) and make sure all these addons are enabled in the list of addons shown: ofxKinect, ofxCv, ofxOpenCV, ofxXmlSettings and ofxSecondWindow.

  2. Go to apps/myApps and inside the folder crea you should see a new file. This file is the project file and depending on your development environment it has extension .sln (Visual Studio), .xcodeproj (Xcode), or .workspace (Code::Blocks).

  3. Open the file with your development environment.

  4. Inside ofApp.h there are a set of macros to change some basic features that are set by default.

If we want to use a separate window for the control interface this line of code has to be uncommented:

// Use a separate window for control interface
#define SECOND_WINDOW

With the following lines of code we set the resolution of the projector:

#define PROJECTOR_RESOLUTION_X 1680
#define PROJECTOR_RESOLUTION_Y 1050

In order to use the Kinect live input the following line has to be uncommented. Otherwise we will use the sequence of images saved in the folder `bin/data/kinect' as input:

// Use the Kinect live input stream
#define KINECT_CONNECTED

In order to be able to use the Gesture Follower feature this line has to be uncommented:

// include gesture follower files (you need to have vmo.cpp, vmo.h, helper.cpp and helper.h in src)
#define GESTURE_FOLLOWER

In order to use an offline sequence of IR Markers as input to the Gesture Follower this line has to be uncommented:

// Use an xml IR Markers sequence file as input to Gesture Follower
#define KINECT_SEQUENCE
  1. Compile the project and enjoy CREA.

crea's People

Contributors

fabiaserra avatar wangsix avatar robsawyer avatar

Watchers

Rob Sawyer avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.