By Joseph Howse
Learn to trap video clips, control pictures, and tune items with Python utilizing the OpenCV Library
* arrange OpenCV, its Python bindings, and non-compulsory Kinect drivers on home windows, Mac or Ubuntu
* Create an software that tracks and manipulates faces
* determine face areas utilizing common colour photos and intensity images
Computer imaginative and prescient can succeed in shoppers in quite a few contexts through webcams, digital camera telephones and gaming sensors like Kinect. OpenCV's Python bindings might help builders meet those patron calls for for functions that catch pictures, swap their visual appeal and extract details from them, in a high-level language and in a standardized information layout that's interoperable with medical libraries resembling NumPy and SciPy.
"OpenCV computing device imaginative and prescient with Python" is a pragmatic, hands-on consultant that covers the elemental initiatives of desktop vision—capturing, filtering and examining images—with step by step directions for writing either an program and reusable library classes.
"OpenCV computing device imaginative and prescient with Python" exhibits you the way to exploit the Python bindings for OpenCV. by means of following transparent and concise examples you'll advance a working laptop or computer imaginative and prescient software that tracks faces in reside video and applies lighting tricks to them. in case you have regularly desired to study which model of those bindings to take advantage of, the right way to combine with cross-platform Kinect drivers and and the way to successfully procedure snapshot facts with NumPy and SciPy then this e-book is for you.
What you'll examine from this book
* set up OpenCV and comparable software program akin to Python, NumPy, SciPy, OpenNI, and SensorKinect—all on home windows, Mac or Ubuntu
* catch, exhibit, and store photographs and real-time videos
* deal with window occasions and enter occasions utilizing OpenCV's HighGui module or Pygame
* comprehend OpenCV's picture layout and the way to accomplish effective operations on OpenCV photographs with NumPy and SciPy
* observe "curves" and different colour alterations to simulate the glance of outdated photographs, videos or video games
* observe an influence in basic terms to edges in an image
* replica and resize segments of an image
* observe an influence purely to definite depths in a picture through the use of information from a intensity sensor reminiscent of Kinect
* music faces, eyes, noses and mouths by utilizing prebuilt datasets
* music arbitrary items by means of growing unique datasets
A useful, project-based educational for Python builders and hobbyists who are looking to start with desktop imaginative and prescient with OpenCV and Python.
Who this e-book is written for
OpenCV desktop imaginative and prescient with Python is written for Python builders who're new to desktop imaginative and prescient and need a pragmatic advisor to coach them the necessities. a few knowing of photo facts (for instance, pixels and colour channels) will be important. At a minimal you'll want entry to 1 webcam. definite workouts require extra like a moment webcam, a Microsoft Kinect or an OpenNI-compliant intensity sensor corresponding to the Asus Xtion PRO.