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
Who This Book Is For
- 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
Media artists, designers, and creative coders
1. Getting Started with Processing and OpenCV2. Image Sources and Representations3. Pixel-Based Manipulation4. Geometry and Transformation5. Identification of Structure6. Understanding Motion7. Feature Detection and Matching8. Application Deployment and Conclusion