更新时间:2021-07-02 14:48:09
coverpage
Title Page
Copyright and Credits
Mastering OpenCV 4 Third Edition
Dedication
About Packt
Why subscribe?
Packt.com
Contributors
About the authors
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Cartoonifier and Skin Color Analysis on the RaspberryPi
Accessing the webcam
Main camera processing loop for a desktop app
Generating a black and white sketch
Generating a color painting and a cartoon
Generating an evil mode using edge filters
Generating an alien mode using skin detection
Skin detection algorithm
Showing the user where to put their face
Implementation of the skin color changer
Reducing the random pepper noise from the sketch image
Porting from desktop to an embedded device
Equipment setup to develop code for an embedded device
Configuring a new Raspberry Pi
Installing OpenCV on an embedded device
Using the Raspberry Pi Camera Module
Installing the Raspberry Pi Camera Module driver
Making Cartoonifier run in fullscreen
Hiding the mouse cursor
Running Cartoonifier automatically after bootup
Speed comparison of Cartoonifier on desktop versus embedded
Changing the camera and camera resolution
Power draw of Cartoonifier running on desktop versus embedded system
Streaming video from Raspberry Pi to a powerful computer
Customizing your embedded system!
Summary
Explore Structure from Motion with the SfM Module
Technical requirements
Core concepts of SfM
Calibrated cameras and epipolar geometry
Stereo reconstruction and SfM
Implementing SfM in OpenCV
Image feature matching
Finding feature tracks
3D reconstruction and visualization
MVS for dense reconstruction
Face Landmark and Pose with the Face Module
Theory and context
Active appearance models and constrained local models
Regression methods
Facial landmark detection in OpenCV
Measuring error
Estimating face direction from landmarks
Estimated pose calculation
Projecting the pose on the image
Number Plate Recognition with Deep Convolutional Networks
Introduction to ANPR
ANPR algorithm
Plate detection
Segmentation
Classification
Plate recognition
OCR segmentation
Character classification using a convolutional neural network
Creating and training a convolutional neural network with TensorFlow
Preparing the data
Creating a TensorFlow model
Preparing a model for OpenCV
Import and use model in OpenCV C++ code
Face Detection and Recognition with the DNN Module
Introduction to face detection and face recognition
Face detection
Implementing face detection using OpenCV cascade classifiers
Loading a Haar or LBP detector for object or face detection
Detecting an object using the Haar or LBP classifier
Detecting the face
Implementing face detection using the OpenCV deep learning module
Face preprocessing
Eye detection
Eye search regions
Geometrical transformation
Separate histogram equalization for left and right sides
Smoothing
Elliptical mask