VJForums  

Go Back   VJForums > Technique > Developers Area

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 6th August 2012, 06:40 PM
mikey141414 mikey141414 is offline
Junior Member
 
Join Date: Feb 2010
Location: Kansas, USA
Posts: 13
Default PC Kinect OSCeleton Resolume HELP!

Hello,

I am new to applications on this level and have been following tutorials the best I can, but am having trouble getting this to all come together.

I have 2 goals:
1. Use the Kinect as input to Resolume. I would like to use the skeleton/frame as a source to effect the visuals. I want to have the dancer on stage be the input, not me. I am hoping to achieve results such as these:
https://www.youtube.com/watch?v=3Vqq...layer_embedded

2. I want the Kinect and Animata connected with the output going through Resolume so that I can mix it and add effects.

What i have done so far:
I have followed the tutorial at https://github.com/Sensebloom/OSCeleton/
I have installed the OpenNI 1.5.4.0 for windows, Primesense - NITE 1.5.2.21 for windows, Primesense Sensor KinectMod 5.1.2.1 for windows, Primesense psdrv3 driver package.

I have DLed the OSCeleton .zip, but don't understand how to run OSCeleton. In the documentation it says to use the precompiled binary in bin\win32 or use the VC++ express .sln file. I DLed Visual C++ from Microsoft and have tried running the .sln file but get a .dll error. I think I have to somehow install it first. This is where I am at now and would like to get this worked out first so I can start messing around with Animata and frameworks.

I was successful in getting the Kinect into resolume as a camera, but haven't gotten to use any effects yet.

As you can tell, I am pretty new to this. Any suggestions, links, tutorials would be MUCH appreciated. I'm not dong this for a client, so there is no rush.

Mikey
Reply With Quote
  #2  
Old 6th August 2012, 07:27 PM
elbows's Avatar
elbows elbows is offline
SillyPerson
 
Join Date: Apr 2002
Location: UK
Posts: 2,860
Default

Its been a long time since I last used it and its not being maintained anymore, so eventually an alternative skeleton-to-OSC package is probably a better bet, perhaps using the Microsoft Kinect SDK rather than the OpenNI stuff.

But assuming OSCeleton still works, try this:

You probably dont want to have to compile the source code yourself (which is what the Visual C++ stuff is about). Instead you should try the binary which is available as a zip file on this page:

https://github.com/Sensebloom/OSCeleton/downloads

Extract the zip file and you'll see an .exe file is included. You should run this from the command prompt really so that you can specify some startup options which will affect the sort of OSC messages it sends and where it is sending them to.
Reply With Quote
  #3  
Old 6th August 2012, 07:49 PM
mikey141414 mikey141414 is offline
Junior Member
 
Join Date: Feb 2010
Location: Kansas, USA
Posts: 13
Default

Thanks Elbows,

I was hoping you would answer. I have been reading your previous posts in hopes of picking up something.

That did the trick. I now have a command prompt window that says it is starting calibration. Now what?

I was hoping there would be a viewer of some sort to see the skeleton.

And, where do I input the options? As soon as I initialize OSCeleton it tracks the user and never returns with a prompt.

Are you aware of a simpler way to do this? I thought there was a pretty simple program developed lately that that does all this in a comfortable GUI. I just can't seem to find anything easy.

mikey
Reply With Quote
  #4  
Old 6th August 2012, 07:52 PM
mikey141414 mikey141414 is offline
Junior Member
 
Join Date: Feb 2010
Location: Kansas, USA
Posts: 13
Default

This is a MAC user, but he has a window and some joints. How do I get that?


Reply With Quote
  #5  
Old 7th August 2012, 01:14 PM
elbows's Avatar
elbows elbows is offline
SillyPerson
 
Join Date: Apr 2002
Location: UK
Posts: 2,860
Default

You need to specify the options at the same time as you run the executable from the command line.

So for example if you type OSCeleton -h at the command prompt then it should return some information about what options are available. Then run it again but include whatever options you need to specify the OSC format, OSc destination, whether to show a window. Perhaps putting -w will give you a window showing the skeleton depth map, I cant remember.

And to get it to go beyond the calibration stage and actually transmit skeletal OSC data, you'll need to learn about the calibration pose, and do it in front of the camera whenever you first run OSCeleton.
Reply With Quote
  #6  
Old 7th August 2012, 01:33 PM
mikey141414 mikey141414 is offline
Junior Member
 
Join Date: Feb 2010
Location: Kansas, USA
Posts: 13
Default

Yes, I was working with this some more last night and finally got a viewer up and some tracking as well using the NI viewer and examples from the OpenNI install files.

I will try and do this through OSCeleton exclusively, though.

This morning I was going to reinstall Animata using Mansteri's instructions, create a simple Animata model, and then try connecting OSCeleton OSC to Animata. That should be a good goal for the day. Tomorrow it will be trying to get that model into Resolume somehow.

Thanks for the tips Elbows!

mikey
Reply With Quote
  #7  
Old 7th August 2012, 02:36 PM
mikey141414 mikey141414 is offline
Junior Member
 
Join Date: Feb 2010
Location: Kansas, USA
Posts: 13
Default

Cool!

So, that wasn't horribly difficult. I got OSCeleton working with Animata using the examples found at: https://github.com/Sensebloom/OSCeleton-examples

The other examples there use Processing which I also played with and seem much cooler!

Now for the big question: How do I import these into Resolume to start mixing with?

Back to the forums...
Reply With Quote
  #8  
Old 7th August 2012, 04:09 PM
mikey141414 mikey141414 is offline
Junior Member
 
Join Date: Feb 2010
Location: Kansas, USA
Posts: 13
Default

I think I might have found it:

http://www.vdmokstati.com/2012/01/pr...ture-resolume/

Using screen capture software to import video from a window.

I'll give it a go and report back.
Reply With Quote
Reply

Tags
c++, kinect osceleton openni, primesense, resolume

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:07 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger