| Create Digital Noise Forum Index » DIY, Programming, Installations, and Interactive Art » Calling fans of open-source visual tool Processing |
|
Page 1 of 1 |
|
| Author |
Message |
| PeterKirn |
Posted: Sat Sep 02, 2006 6:24 pm |
|
|
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. |
|
|
| Back to top |
|
| motor |
Posted: Wed Sep 06, 2006 10:48 am |
|
|
|
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! |
|
|
| Back to top |
|
| PeterKirn |
Posted: Wed Sep 06, 2006 11:00 am |
|
|
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 |
|
|
| Back to top |
|
| madhatter |
Posted: Wed Sep 06, 2006 11:02 am |
|
|
|
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 |
|
| Back to top |
|
| PeterKirn |
Posted: Wed Sep 06, 2006 11:10 am |
|
|
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. |
|
|
| Back to top |
|
| motor |
Posted: Thu Sep 07, 2006 7:37 am |
|
|
|
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) |
|
|
| Back to top |
|
| PeterKirn |
Posted: Thu Sep 07, 2006 12:58 pm |
|
|
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! |
|
|
| Back to top |
|
| motor |
Posted: Fri Sep 08, 2006 7:14 am |
|
|
|
Joined: 15 Aug 2006
Posts: 4
Location: italy
|
|
| Back to top |
|
| vdmoKstaTi |
Posted: Mon Oct 02, 2006 9:30 pm |
|
|
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. |
|
|
| Back to top |
|
| PeterKirn |
Posted: Mon Oct 02, 2006 10:48 pm |
|
|
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.
Where are you based? There are some hacklabs, workshops, and such happening in-person, too. Maybe a CDMo/Mu tutorial is in order, too.  |
|
|
| Back to top |
|
| PeterKirn |
Posted: Mon Oct 02, 2006 10:58 pm |
|
|
Site Admin
Joined: 03 Feb 2006
Posts: 822
Location: New York, NY
|
|
| Back to top |
|
| vdmoKstaTi |
Posted: Tue Oct 03, 2006 1:40 am |
|
|
Joined: 02 Oct 2006
Posts: 31
Location: www.milkcommunity.com
|
|
| Back to top |
|
|