Archive for the ‘Programming’ Category

OpenCV 2 in Processing   41 comments

Xavier Hinault recently released a new computer vision library for Processing, based on JavaCV and OpenCV 2: JavacvPro. This is a great contribution to the community, since it appears that the development of the original OpenCV library for Processing has stalled, without moving beyond OpenCV 1.0 support. JavacvPro is based on the very solid JavaCV wrappers by  Samuel Audet, which provide access to the latest version of OpenCV (2.3.1 at the time of writing this), and in fact also allows to use other computer vision frameworks like OpenKinect, and ARToolKit. I did some testing of JavacvPro (version 0.3) on Windows, Mac and Linux, and the results are very promising as I was able to use the library on the three platforms. Xavier has also included many examples in the library package that show how to use it various features.

Read the rest of this entry »

Posted November 21, 2011 by ac in Programming

Tagged with , , , ,

Moving towards Processing 2.0   5 comments

A few weeks ago, the Processing project started the transition to the 2.0 branch with the release of the first alpha package. Today, the second alpha is out (2.0a2), and available from the downloads section in the Google code page of the project, for the Linux, Mac and Windows platforms. The most important changes for this alpha release consist in several improvements in the new video library, and better support for 64 bits within the Processing environment and in exported applications. Follow this link for more detailed release notes, and keep reading below for some additional information about the video library included in Processing 2.0.

Read the rest of this entry »

Posted November 1, 2011 by ac in Programming, Software

Tagged with , , , , , , , , ,

Android course at Konkuk University   4 comments

Not much time to write on the blog these days, so things are piling up quickly. This post in particular is about a project from two months ago :-), when I participated in a Summer course at the Communication Design program at Konkuk University, Seoul. The class was lectured by Jihyun Kim and focused in making interactive applications with Android devices. I helped the students to use the Open Sound Control (OSC) protocol and sensors in Processing.Android. For most of them, this was their first experience developing on a smartphone, and the outcome was very engaging and fun.

Update: The sample sketches I used during the class to explain how to send/receive data with Android devices can be grabbed from here and here.

Read the rest of this entry »

Posted September 19, 2011 by ac in Art projects, Programming, Teaching

Tagged with , , , , , , ,

Fluid library for Processing   1 comment

Thomas Diewald (who is also the author of the excellent kinect library dLibs_freenect, and many Processing pieces) recently created another library for generating realtime fluid simulations in Processing, using either the CPU or the GPU: diewald_fluid. The results are quite amazing, and it is also very fast, specially when using the GPU.

Read the rest of this entry »

Posted August 19, 2011 by ac in Programming

Tagged with , , , , , , ,

GSVideo 0.9 released   24 comments

GSVideo 0.9 is a significant release of this library because it introduces a new methodology to feed video frames directly into GLTexture objects from the GLGraphics library, which often results in a reduction of CPU usage of around 50%. The latest version of GLGraphics, 0.99, is required for this optimization to work.
Read the rest of this entry »

Design a site like this with WordPress.com
Get started