open knowledge community

Posts Tagged ‘data visualization’

#21 – OpenFrameworks workshop

This Sunday, May 23rd there will be an OpenFrameworks beginners workshop at SETUP in Utrecht (the new media lab at Neude). The workshop is a collaboration between OpenToko, OF Freakdays and Setup Utrecht.

OpenFrameworks is a free application framework designed for creative coding. It’s a c++ library designed to assist the creative process by providing a simple and intuitive framework for experimentation.

OpenFrameworks is designed to work as a general purpose glue, and wraps together several commonly used libraries under a tidy interface: openGL for graphics, rtAudio for audio input and output, freeType for fonts, freeImage for image input and output, quicktime for video playing and sequence grabbing.

The code is written to be both cross platform (PC, Mac, Linux, iPhone) and cross compiler. The API is designed to be minimal and easy to grasp. There are very few classes, and inside of those classes, there are very few functions.

The day starts at 10.00h with a ‘Introduction to OpenFrameworks’ lecture by Rick Companje followed by a talk by Diederick Huijbers showing the work he created at the OFLab in Breda at the Graphic Design Museum. The afternoon will be “hands-on” where everyone (beginners and experienced users, in groups or alone) can work on their own OpenFrameworks projects. Several experienced OpenFrameworks users will be there to help out.

Topics being adressed during the talks:

- What is OpenFrameworks and how to use it?
- Understanding the code examples and how to modify them for your own needs.
- How to use OpenFrameworks for text, audio, vector graphics, 3D graphics, vector math, images, movies, live video, xml files, hardware (ie. Arduino), network (ie. Open Sound Control), hi-res PDF or Illustrator output etc.
- We will teach you how to build a simple Particle System and also how to create some nice graphic design effects for creating printable posters.

Please bring a laptop with Mac OSX, Windows or Linux and download XCode (mac) or CodeBlocks (windows, linux) and download the OpenFrameworks version 0.061.

There will be coffee, tea and cookies and we will arrange a basic lunch. There is no fixed entrance fee but instead we ask you for a donation for what the knowlegde you gained is worth to you helping us to cover our expenses.

There is a maximum of 25 participants so please register now if you want to join.

Location: SETUP Utrecht, the old ABN-AMRO building at Neude 4, Utrecht
Date/time: May 23rd 2010 – 10.00h – 17.00h

Notes

SLIDES OF THE MORNING TUTORIAL

Things learnt during the Open Frameworks workshop at SETUP. In the morning we were working on a basic bouncing balls tutorial. Here are the final files that we worked on:

CONTROL PANEL

Remember that spiffy control panel?

IMAGE PROCESSING

Did you know there was a guy called Alfred Haar who was an incredible nerd already back in 1909? In Open Frameworks there is an extention of OpenCV’s capabilities called OFXCVHaarfinder (Open Frameworks eXtention Computer Vision Haarfinder). This is a general image recognition library. It’s general in the sense that you can teach it to recognise anything by training it. Show it a lot of faces, and it will start finding them after the training period.
When Sebastian told us about it, we thought he was talking about tracking hair..
Here you can download the extention to the OpenCV addon:
More about Alfred Haar:

FLOW DETECTION! <– google this!

One step further is working with Haar-Cascades. These are XML files that describe how detected objects are related to eachother. This make complicated relatios possible. For example, an arm should be attached to a body, which should be attached to a face, etc.
A list of XML files:
More on the Open Frameworks Forum:
Some piratepads we used:
Final code that Sebastian created:

AUDIO SYNTHESIS ADD-ON

Andre Michelle’s Pulsate; http://lab.andre-michelle.com/pulsate
Fancy opengl particle stuff from Sebastian:

SHADOW FIGHTER

Basicly an extended opencv example that throws particle at the blobs :-)
To get it running, copy the opencv example and paste the files.
© opentoko.org Proudly Powered by WordPress. Theme Untitled I Designed by Ruby Entries (RSS) and Comments (RSS).