Back to Music front pageBack to CDM community forum indexBack to Motion front page
Create Digital Noise Forum Index  »  DIY, Programming, Installations, and Interactive Art  »  Calling fans of open-source visual tool Processing
 This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Page 1 of 1    

Calling fans of open-source visual tool Processing

Author Message
PeterKirn
Posted: Sat Sep 02, 2006 6:24 pm Reply with quote
Site Admin Joined: 03 Feb 2006 Posts: 822 Location: New York, NY
Okay, anyone interested in sharing some Processing code? Specifically, I'm working on some patches based on the excellent JMyron computer vision library, using live motion tracking, etc. Newbies to more advanced folks, I'm sure we could learn something from each other ... and it's worth doing, too, because users of this program seem to be pretty scattered, and discussion on the main Processing forums is pretty dry. Maybe we can help get things rolling.
View user's profile Send private message Visit poster's website
motor
Posted: Wed Sep 06, 2006 10:48 am Reply with quote
Joined: 15 Aug 2006 Posts: 4 Location: italy
Hi,
I'm really interested about. At the moment I'm doing some experiments with webcamXtra and Director (and Reason!), infrared illuminators, but I'm ready to move on Processing ... but they are too many options!

I'm gonna buy a macIntel, but it seems that jmiron is not yet recompiled for this platform.
Maybe is better under windows, but in this case how it compare with eyeweb?

ciao a tutti!
View user's profile Send private message
PeterKirn
Posted: Wed Sep 06, 2006 11:00 am Reply with quote
Site Admin Joined: 03 Feb 2006 Posts: 822 Location: New York, NY
Hi Motor,

If you've checked out webcamXtra, you should be ready for Processing.

I think the problem with JMyron on Intel is some kind of endian thing, but I'm sure it will get fixed. In the meantime, JMyron + Processing runs really well on Windows thanks to new DirectX support. It's arguably better than on the Mac side, because of marginally better Java performance.

It's definitely no EyesWeb, but to me EyesWeb is really overkill. It's enormous, it's complicated, setup doesn't always work, and then you're sort of stuck in the EyesWeb environment instead of something more flexible like Processing (though I have seen people route OSC out of EyesWeb).

See also this library for Processing:
http://v3ga.net/processing/BlobDetection/Library/#download

You could use that with the native Processing QuickTime camera input on Mac Intel on Mac, or this I believe will work, as well:
http://www.toxi.co.uk/p5/libcv/

I'm currently playing with blob detection via toxi's library, because I can't find a way to use the differenceImage from JMyron for processing blobs; if I use something like img.globEdgePoints(30) to get my blobs, it uses the original capture image, not the differenceImage. Any idea if there's a way around this?

Peter
View user's profile Send private message Visit poster's website
madhatter
Posted: Wed Sep 06, 2006 11:02 am Reply with quote
Joined: 19 Apr 2006 Posts: 47 Location: Bristol, UK
I remember looking at webcamXtra a while ago, though I didn't have access to a camera then (left it at uni). This was almost exactly a year ago, and now i'm in the exact same predicament. Must write this down! hehe

_________________
Weird Electronic Noises
Velkro Smaak on MySpace.com
View user's profile Send private message Send e-mail MSN Messenger
PeterKirn
Posted: Wed Sep 06, 2006 11:10 am Reply with quote
Site Admin Joined: 03 Feb 2006 Posts: 822 Location: New York, NY
You can use any USB webcam (as long as you have drivers, anyway), or any DV camera, or anything else that gives you a video input (like a video card with an analog input, etc.). I've been using DV cams lately, though I'd like to pick up a dedicated capture board.
View user's profile Send private message Visit poster's website
motor
Posted: Thu Sep 07, 2006 7:37 am Reply with quote
Joined: 15 Aug 2006 Posts: 4 Location: italy
Thanks to everybody, for your attention and quick reply.
It's hard to find real information about this field for me...any good book?

I will follow your suggestions for sure. My hope is to be able to have something ready soon to test on stage and then optimize.
JMyron seems ok for me even under processing, because I use the outputs to drectly create stream of MIDI notes for the choir in Reason

At the moment, trying to have a poor man "Missa in voce" I'm fighting with infrared.
My miniDv (with a IR block filter) is not enough sensible, so I will go for a typical surveillance camera + some kind of video digitizer (miniDv to be sure to be able to read them from Jmiron); somebody has experience on infrared ? (Ok, I know I'm abusing of your patience...)

Anyway thanks again for attention
(and sorry for my english)
View user's profile Send private message
PeterKirn
Posted: Thu Sep 07, 2006 12:58 pm Reply with quote
Site Admin Joined: 03 Feb 2006 Posts: 822 Location: New York, NY
Hi Motor,

First, correction to my above post: globEdgePoints in fact uses the differenceImage() image, says the documentation. It doesn't seem to do this unless you actually call differenceImage(), though, so I'm obviously still missing something, but I have it working and can post sample code if you like. (but I think you do have it working!)

Which camera are you using?

A surveillance camera will work; just make sure it's an infrared camera. Many of them come with light rings around them for an IR light source, but you probably won't need that. Theatrical lights (and any normal bulbs that AREN'T florescent/halogen) emit both visible and infrared-spectrum light.

As for DV cameras, I've found some don't have much IR sensitivity, or have night vision modes that fail to remove the IR-block filter, or both.

I highly recommend the Sony DV cams. Don't know how much they cost in Italy, but here you can get a basic model for as little as US$300 new. I have a DCR-HC 36 that's working really well for me. Just make sure you get one with both a FireWire and AV connection on the camera itself; some of them come with this stupid dock, which wouldn't be a problem, except that the dock blocks the tripod mount. (Bad!)

The DV cams definitely give the best results. I've also used a Logitech webcam that I modified, by opening it up and removing the IR-block filter and adding a piece of exposed film. (Instructions widely available -- google IR webcam and you'll see them!) But it doesn't work nearly as well, because it's just not a very good camera to begin with.

Good luck!
View user's profile Send private message Visit poster's website
motor
Posted: Fri Sep 08, 2006 7:14 am Reply with quote
Joined: 15 Aug 2006 Posts: 4 Location: italy
Hi Peter,
thanks again!

motor

_________________
www.heatseeker.it
View user's profile Send private message
vdmoKstaTi
Posted: Mon Oct 02, 2006 9:30 pm Reply with quote
Joined: 02 Oct 2006 Posts: 31 Location: www.milkcommunity.com
I have been looking into processing a bit lately. Mostly as experimental medium to fill personal free time. I still have tons of questions about it and would like to approach the subject from a live performance point of view, yet not overly confident about principles of manipulating some of the scripts live and adding various midi controllers at this stage.

There are some interesting developemnts I have come across which I try to understand and enchance to suit my personal style. faceCloth_Live project is one of the most interesting things I have come across with some specific controllers designed to work with processing and Arduino ( i believe there is a growing interest on this subject around here)
http://facecloth.prisonerjohn.com/live/

Apart from that, I'll be soaking up processing and Arduino forums and tutorial for a while yet before I could share some of my own stuff, though would be more then happy to contribute in the future.
View user's profile Send private message MSN Messenger
PeterKirn
Posted: Mon Oct 02, 2006 10:48 pm Reply with quote
Site Admin Joined: 03 Feb 2006 Posts: 822 Location: New York, NY
Wow, that facecloth is really, really nice. I hadn't seen someone build a controller with Arduino yet, though it has a lot of appeal. I will admit, though, when I read your link, I thought maybe someone was using fabric with embedded resistive fabrics, but, hey, that's for another project perhaps. Wink

Where are you based? There are some hacklabs, workshops, and such happening in-person, too. Maybe a CDMo/Mu tutorial is in order, too. Wink
View user's profile Send private message Visit poster's website
PeterKirn
Posted: Mon Oct 02, 2006 10:58 pm Reply with quote
Site Admin Joined: 03 Feb 2006 Posts: 822 Location: New York, NY
Oh, and this may be helpful, too, in case you missed yesterday's link on Create Digital Motion -- a thread on the Processing boards rounding up tutorials. Shiffman's stuff is great; I look forward to his book.

http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Collaboration;action=display;num=1159212501
View user's profile Send private message Visit poster's website
vdmoKstaTi
Posted: Tue Oct 03, 2006 1:40 am Reply with quote
Joined: 02 Oct 2006 Posts: 31 Location: www.milkcommunity.com
Hey Peter,

Currently Im based in Queensland, Mackay. Web/VJ kinda guy.

I'll be keen for any workshops if any will come around thats for sure. There is a large number of things to learn and absorb, its a lot easier if you can share the knowledge with others.
If we set up some tutorials around the place, I would be more then happy to contribute my own findings.

I've seen ARDUINO meets PROCESSING site
http://webzone.k3.mah.se/projects/arduino-workshop/projects/arduino_meets_processing/instructions/


http://www.shiffman.net/teaching/
Looks brilliant!!

I'll have a lot of reading to do for the next few weeks..
View user's profile Send private message MSN Messenger
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Page 1 of 1    
All times are GMT - 4 Hours
The time now is Tue Feb 09, 2010 11:06 am
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum