I’ve been hitting a wall trying to extend the Mirror2 – Video (Capture) example – patch by Daniel Shiffman – particularly with mirroring on the y axis as well as reflections, distortions and multiples. Luckily I came across the Create Digital Motion article Processing Tutorials: Getting Started with Video Processing via OpenCV which shows how to extend Processing’s treatment of live video by bypassing the somewhat limited inbuilt Video library and using the OpenCV Processing and Java library – which includes a flip function – instead…

Displaying two camera sources in the same Processing sketch – code found in processing.org’s Video capture, Movie Playback, Vision Libraries board – images thresholded to protct the innocent.
“OpenCV is an open source computer vision library originally developed by Intel. It is free for commercial and research use under a BSD license. The library is cross-platform, and runs on Mac OS X, Windows and Linux. It focuses mainly towards real-time image processing…”
(more…)