© 2017

Pro Processing for Images and Computer Vision with OpenCV

Solutions for Media Artists and Creative Coders


Table of contents

  1. Front Matter
    Pages i-xv
  2. Bryan WC Chung
    Pages 1-37
  3. Bryan WC Chung
    Pages 39-70
  4. Bryan WC Chung
    Pages 71-100
  5. Bryan WC Chung
    Pages 101-132
  6. Bryan WC Chung
    Pages 133-175
  7. Bryan WC Chung
    Pages 177-218
  8. Bryan WC Chung
    Pages 219-261
  9. Bryan WC Chung
    Pages 263-287
  10. Back Matter
    Pages 289-293

About this book


Apply the Processing language to tasks involved in computer vision--tasks such as edge and corner detection, recognition of motion between frames in a video, recognition of objects, matching of feature points and shapes in different frames for tracking purposes, and more. You will manipulate images through creative effects, geometric transformation, blending of multiple images, and so forth. Examples are provided.

Pro Processing for Images and Computer Vision with OpenCV is a step-by-step training tool that guides you through a series of worked examples in linear order. Each chapter begins with a basic demonstration, including the code to recreate it on your own system. Then comes a creative challenge by which to engage and develop mastery of the chapter’s topic. The book also includes hints and tips relating to visual arts, interaction design, and industrial best practices.

This book is intended for any developer of artistic and otherwise visual applications, such as in augmented reality and digital effects, with a need to manipulate images, and to recognize and manipulate objects within those images. The book is specifically targeted at those making use of the Processing language that is common in artistic fields, and to Java programmers because of Processing’s easy integration into the Java programming environment. 

What You'll Learn:
  • Make use of OpenCV, the open source library for computer vision in the Processing environment
  • Capture live video streams and examine them frame-by-frame for objects in motion
  • Recognize shapes and objects through techniques of detecting lines, edges, corners, and more
  • Transform images by scaling, translating, rotating, and additionally through various distortion effects
  • Apply techniques such as background subtraction to isolate motion of objects in live video streams
  • Detect and track human faces and other objects by matching feature points in different images or video frames


Augmented Reality Mixed Reality HoloLens Computer Vision Motion Tracking New Media Art Creative Coding Visual Design OpenCV Processing Media Artist Shape Recognition Background Subtraction Facial Recognition Digital Effects Digital Art

Authors and affiliations

  1. 1.Academy of Visual ArtsKowloon TongHong Kong

About the authors

Bryan WC Chung is an interactive media artist and design consultant. He was the Grand Prize winner of the 19th Japan Media Art Award, Art Division, 2015. In 2009, his consultation work on the Coca-Cola Happy Whistling Machine won the Media Kam Fan Advertising Award. Bryan's works have been exhibited at the World Wide Video Festival, Multimedia Art Asia Pacific, Stuttgart Film Winter Festival, Microwave International New Media Arts Festival, and the China Media Art Festival. In the former Shanghai Expo 2010, he provided interactive design consultancy to industry leaders in Hong Kong. Bryan also develops software libraries for the open source programming language Processing. He is the author of the book, Multimedia Programming with Pure Data. Currently, he is Associate Professor in the Academy of Visual Arts, Hong Kong Baptist University, where he teaches subjects on interactive art, computer graphics, and multimedia.  

Bibliographic information

Industry Sectors
IT & Software