Creating a glow around a person
-
The best way is to use a xbox kinect camera. Using the depth image you can then use effects to generate a glow.
-
Great. Now how do I get rid of the depth image on the Isadora stage so I just see the glow which will surround the person on stage the camera is tracking?
-
Can you take a screen shot of your patch so I can see the workings? Just because there are likely to be a few ways depending on how you've gone about it.
Thanks. -
Here you go. Thanks Graham
-
I would go for IR rather than kinect. the kienct IR resolution is low and at distance gets a lot of holes. I would look at using TSPS toolkit (or working with opencv directly) instead of Isadoras eyes actor for its superior implementation of tracking. It can do full HD tracking and send you the outline over syphon.
To get good Ir silouhettes in front of a screen use IR lamps (a lot) close to the screen and make the background as bright as possible- this gets rid of problems of reflective and non reflective costumes, as well as problems with shadows in the IR view. Make sure your camera is using an IR pass filter so you are not letting any non IR light in.I have used this technique a few times and I get great results and very detailed silhouettes. -
Thanks Fred. I'm committed to seeing what I can do with the Kinect for now. Looking for work throughs in it.
-
I had to use a pre-recorded video of a Kinect depth image but it is basically the same.
-
question, how do you correct differences between projector lens and kinect lens?
P.S.: I assume that glow must be projected around the actor in real time -
To be honest i've never done it. I imagine you'd just have to resize the output to fit the person and get a 1:1 scale.
Basic quad output distortion should be able to do this and/or translate XYZ on projector too. -
yes you have to resize, but unfortunately is not planar geometry but sferic so if you resize to fit in the center when actor moove to side it go out of position. what i normally do is to create a curved surface (in izzy map) and manually try fit glow in at least 3 pont (center left and right) but this solution is not perfect (to be honest far away from pefection! :-) )
any ideas to do it better? -
Usually we get the camera distortion by running some kind of calibration routine and do the same for the projector. I have used this technique a few times and it works great. There is an easier to implement processing version here
http://www.genekogan.com/works/kinect-projector-toolkit.html -
@Fred I saw that stuff some times ago, and is wonderfull, unfortunately I totally suck with OF and processing....I wish to have it directly into isadora maybe we can include it in new wishlist for Mark ;-)
-
Thanks Graham. Just learned something. After playing with it seems like the Zoom contrasted against the Desaturate in the Effects mixer and oddly, Motion Blur are instrumental in this scene? Looking into Fred's suggestion of calibration. Thanks to the community!
Yes calibration in Isadora would be nice. -
Yeah the motion blur really helps.
-
Graham. I'm noticing the kinect is picking up props (not just the person- which makes sense). Any suggestions? Anyway to make the glow with the infrared send only? I'm able to pull in an infrared only send but this set up doesn't achieve the same results with it.
-
You might have to add a "difference" actor into the mix somewhere at the beginning. Im on my other laptop but grab the actor and have a look - you will see what I mean.
-
Thanks for quick response. Will try and let you know what I find. Any thoughts regarding infrared?
-
at this moment I'm in a show where i do exactly the same and all is made with ni mate 2 (pro version) even the calibration of the projector. If you are interested I can describe you how
-
I would be Maximortal. If you have the time. We are using processing and I downloaded a projector calibrator that is open source but have been curious about NI Mate 2.
-
Ok is a bit raw but powerfull.
In ni mate 2 (pro version) hou have to set alignment depth to color, by this way depth data and video data are overlaped. then through spout or syphon get rgb stream into isadora.place a object into center of stage someting simple like a boardthen adjust manually the projector (3d enabeled, x rotate, y rotate, y stranslate and so on) until the projected image fit perfectly on real object.move real object to the side of the stageInto izzy map create a grid layer, usually 3x1 is enough, and move side slices until they fit again real object.now on ni mate change rgb out to ghost out and regulate in ghost rendering options as you need.try to walk trough stage and if something don't fit adjust slices into izzy map.The area where a person should be recognized by kinect is not so wide so this raw, very raw method work pretty well