Learning OpenCV 3 Computer Vision with Python - Second Edition

 
 
Packt Publishing Limited
  • 1. Auflage
  • |
  • erschienen am 29. September 2015
  • |
  • 266 Seiten
 
E-Book | ePUB mit Adobe DRM | Systemvoraussetzungen
978-1-78528-977-4 (ISBN)
 
Unleash the power of computer vision with Python using OpenCVAbout This BookCreate impressive applications with OpenCV and PythonFamiliarize yourself with advanced machine learning conceptsHarness the power of computer vision with this easy-to-follow guideWho This Book Is ForIntended for novices to the world of OpenCV and computer vision, as well as OpenCV veterans that want to learn about what's new in OpenCV 3, this book is useful as a reference for experts and a training manual for beginners, or for anybody who wants to familiarize themselves with the concepts of object classification and detection in simple and understandable terms. Basic knowledge about Python and programming concepts is required, although the book has an easy learning curve both from a theoretical and coding point of view.What You Will LearnInstall and familiarize yourself with OpenCV 3's Python APIGrasp the basics of image processing and video analysisIdentify and recognize objects in images and videosDetect and recognize faces using OpenCVTrain and use your own object classifiersLearn about machine learning concepts in a computer vision contextWork with artificial neural networks using OpenCVDevelop your own computer vision real-life applicationIn DetailOpenCV 3 is a state-of-the-art computer vision library that allows a great variety of image and video processing operations. Some of the more spectacular and futuristic features such as face recognition or object tracking are easily achievable with OpenCV 3. Learning the basic concepts behind computer vision algorithms, models, and OpenCV's API will enable the development of all sorts of real-world applications, including security and surveillance.Starting with basic image processing operations, the book will take you through to advanced computer vision concepts. Computer vision is a rapidly evolving science whose applications in the real world are exploding, so this book will appeal to computer vision novices as well as experts of the subject wanting to learn the brand new OpenCV 3.0.0. You will build a theoretical foundation of image processing and video analysis, and progress to the concepts of classification through machine learning, acquiring the technical know-how that will allow you to create and use object detectors and classifiers, and even track objects in movies or video camera feeds. Finally, the journey will end in the world of artificial neural networks, along with the development of a hand-written digits recognition application.Style and approachThis book is a comprehensive guide to the brand new OpenCV 3 with Python to develop real-life computer vision applications.
  • Englisch
  • Birmingham
  • |
  • Großbritannien
  • Überarbeitete Ausgabe
978-1-78528-977-4 (9781785289774)
1785289772 (1785289772)
weitere Ausgaben werden ermittelt
Joe Minichino is a computer vision engineer for Hoolux Medical by day and a developer of the NoSQL database LokiJS by night. On weekends, he is a heavy metal singer/songwriter. He is a passionate programmer who is immensely curious about programming languages and technologies and constantly experiments with them. At Hoolux, Joe leads the development of an Android computer vision-based advertising platform for the medical industry.
Born and raised in Varese, Lombardy, Italy, and coming from a humanistic background in philosophy (at Milan's Universita Statale), Joe has spent his last 11 years living in Cork, Ireland, which is where he became a computer science graduate at the Cork Institute of Technology. Joseph Howse lives in Canada. During the winters, he grows his beard, while his four cats grow their thick coats of fur. He loves combing his cats every day and sometimes, his cats also pull his beard.
He has been writing for Packt Publishing since 2012. His books include OpenCV for Secret Agents, OpenCV Blueprints, Android Application Programming with OpenCV 3, OpenCV Computer Vision with Python, and Python Game Programming by Example.
When he is not writing books or grooming his cats, he provides consulting, training, and software development services through his company, Nummist Media (http://nummist.com).
  • Cover
  • Copyright
  • Credits
  • About the Authors
  • About the Reviewers
  • www.PacktPub.com
  • Table of Contents
  • Preface
  • Chapter 1: Setting Up OpenCV
  • Choosing and using the right setup tools
  • Installation on Windows
  • Using binary installers (no support for depth cameras)
  • Using CMake and compilers
  • Installing on OS X
  • Using MacPorts with ready-made packages
  • Using MacPorts with your own custom packages
  • Using Homebrew with ready-made packages (no support for depth cameras)
  • Using Homebrew with your own custom packages
  • Installation on Ubuntu and its derivatives
  • Using the Ubuntu repository (no support for depth cameras)
  • Building OpenCV from a source
  • Installation on other Unix-like systems
  • Installing the Contrib modules
  • Running samples
  • Finding documentation, help, and updates
  • Summary
  • Chapter 2: Handling Files, Cameras, and GUIs
  • Basic I/O scripts
  • Reading/writing an image file
  • Converting between an image and raw bytes
  • Accessing image data with numpy.array
  • Reading/writing a video file
  • Capturing camera frames
  • Displaying images in a window
  • Displaying camera frames in a window
  • Project Cameo (face tracking and image manipulation)
  • Cameo - an object-oriented design
  • Abstracting a video stream with managers.CaptureManager
  • Abstracting a window and keyboard with managers.WindowManager
  • Applying everything with cameo.Cameo
  • Summary
  • Chapter 3: Processing Images with OpenCV 3
  • Converting between different color spaces
  • A quick note on BGR
  • The Fourier Transform
  • High pass filter
  • Low pass filter
  • Creating modules
  • Edge detection
  • Custom kernels - getting convoluted
  • Modifying the application
  • Edge detection with Canny
  • Contour detection
  • Contours - bounding box, minimum area rectangle, and minimum enclosing circle
  • Contours - convex contours and the Douglas-Peucker algorithm
  • Line and circle detection
  • Line detection
  • Circle detection
  • Detecting shapes
  • Summary
  • Chapter 4: Depth Estimation and Segmentation
  • Creating modules
  • Capturing frames from a depth camera
  • Creating a mask from a disparity map
  • Masking a copy operation
  • Depth estimation with a normal camera
  • Object segmentation using the Watershed and GrabCut algorithms
  • Example of foreground detection with GrabCut
  • Image segmentation with the Watershed algorithm
  • Summary
  • Chapter 5: Detecting and Recognizing Faces
  • Conceptualizing Haar cascades
  • Getting Haar cascade data
  • Using OpenCV to perform face detection
  • Performing face detection on a still image
  • Performing face detection on a video
  • Performing face recognition
  • Generating the data for face recognition
  • Recognizing faces
  • Preparing the training data
  • Loading the data and recognizing faces
  • Performing an Eigenfaces recognition
  • Performing face recognition with Fisherfaces
  • Performing face recognition with LBPH
  • Discarding results with confidence score
  • Summary
  • Chapter 6: Retrieving Images and Searching Using Image Descriptors
  • Feature detection algorithms
  • Defining features
  • Detecting features - corners
  • Feature extraction and description using DoG and SIFT
  • Anatomy of a keypoint
  • Feature extraction and detection using Fast Hessian and SURF
  • ORB feature detection and feature matching
  • FAST
  • BRIEF
  • Brute-Force matching
  • Feature matching with ORB
  • Using K-Nearest Neighbors matching
  • FLANN-based matching
  • FLANN matching with homography
  • A sample application - tattoo forensics
  • Saving image descriptors to file
  • Scanning for matches
  • Summary
  • Chapter 7: Detecting and Recognizing Objects
  • Object detection and recognition techniques
  • HOG descriptors
  • The scale issue
  • The location issue
  • Non-maximum (or non-maxima) suppression
  • Support vector machines
  • People detection
  • Creating and training an object detector
  • Bag-of-words
  • BOW in computer vision
  • Detecting cars
  • What did we just do?
  • SVM and sliding windows
  • Example - car detection in a scene
  • Dude, where's my car?
  • Summary
  • Chapter 8: Tracking Objects
  • Detecting moving objects
  • Basic motion detection
  • Background subtractors - KNN, MOG2, and GMG
  • Meanshift and CAMShift
  • Color histograms
  • The calcHist function
  • The calcBackProject function
  • In summary
  • Back to the code
  • CAMShift
  • The Kalman filter
  • Predict and update
  • An example
  • A real-life example - tracking pedestrians
  • The application workflow
  • A brief digression - functional versus object-oriented programming
  • The Pedestrian class
  • The main program
  • Where do we go from here?
  • Summary
  • Chapter 9: Neural Networks with OpenCV - an Introduction
  • Artificial neural networks
  • Neurons and perceptrons
  • The structure of an ANN
  • Network layers by example
  • The input layer
  • The output layer
  • The hidden layer
  • ANNs in OpenCV
  • ANN-imal classification
  • Training epochs
  • Handwritten digit recognition with ANNs
  • MNIST - the handwritten digit database
  • Customized training data
  • The initial parameters
  • The input layer
  • The hidden layer
  • The output layer
  • Training epochs
  • Other parameters
  • Mini-libraries
  • The main file
  • Possible improvements and potential applications
  • Improvements
  • Potential applications
  • Summary
  • To boldly go.
  • Index

Dateiformat: EPUB
Kopierschutz: Adobe-DRM (Digital Rights Management)

Systemvoraussetzungen:

Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat EPUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Weitere Informationen finden Sie in unserer E-Book Hilfe.


Download (sofort verfügbar)

35,85 €
inkl. 19% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe DRM
siehe Systemvoraussetzungen
E-Book bestellen

Unsere Web-Seiten verwenden Cookies. Mit der Nutzung dieser Web-Seiten erklären Sie sich damit einverstanden. Mehr Informationen finden Sie in unserem Datenschutzhinweis. Ok