processing, pt 1

A while ago I started learning Processing, but I had to stop it because of the spanish exam and various annoying work related stuff. Now I have some time, and also had an idea I wanted to implement. I came up with it after visiting the site of Kitchen Budapest, and besides seeing some cool shit, I also ran into lots junk called [digital] art, and said ‘fuck, I can do better’. I was also inspired by a Processing webcam application. So this will be my notebook on that ‘art project’.

First I wanted a working video capture device in Processing. I had to install Quicktime, because Processing uses Quicktime for Java for video related stuff, displaying QT videos, grabbing video data from cameras [including webcams], etc. As my Dell webcam doesn’t support Quicktime, I also had to install a VDIG, a Quicktime compatible video digitizer. The original WinVDIG site is dead, but a mirror is available here, with the recommended 1.0.1 version. Video capturing almost worked by then, I just had to start Processing in WinXP compatibility mode.

Tested the system with this very complicated script.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import processing.video.*;
Capture myCapture;

void setup()
{
  size(200, 200);
  myCapture = new Capture(this, width, height, 30);
}

void captureEvent(Capture myCapture) {
  myCapture.read();
}

void draw() {
  image(myCapture, 0, 0);
}

Now I’m trying to test the only freely available Java eye tracking library, LEA. A Java library is supposed to work in Processing, yes? More stuff later.

Share and Enjoy:
  • email
  • Google Bookmarks
  • del.icio.us
  • Facebook
  • Twitter
  • Netvibes
  • Tumblr
  • FriendFeed
  • connotea
  • blogtercimlap

Tags: , , , ,

Comments are closed.

biopunk

A biopunk egy biotech, bioinf csináld-magad szubkultúra némi evolúcióelmélettel, memetikával, szkepticizmussal, futurizmussal és hacker kultúrával körítve.

kategóriák