更新时间:2021-08-06 19:31:06
coverpage
OpenCV for Secret Agents
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Preparing for the Mission
Setting up a development machine
Setting up Raspberry Pi
Finding OpenCV documentation help and updates
Alternatives to Raspberry Pi
Summary
Chapter 2. Searching for Luxury Accommodations Worldwide
Planning the Luxocator app
Creating comparing and storing histograms
Training the classifier with reference images
Acquiring images from the Web
Acquiring images from Bing image search
Preparing images and resources for the app
Integrating everything into the GUI
Building Luxocator for distribution
Chapter 3. Training a Smart Alarm to Recognize the Villain and His Cat
Understanding machine learning in general
Planning the Interactive Recognizer app
Understanding Haar cascades and LBPH
Implementing the Interactive Recognizer app
Planning the cat detection model
Implementing the training script for the cat detection model
Planning the Angora Blue app
Implementing the Angora Blue app
Building Angora Blue for distribution
Further fun with finding felines
Chapter 4. Controlling a Phone App with Your Suave Gestures
Planning the Goldgesture app
Understanding optical flow
Setting up the Eclipse Workspace
Getting a cascade file and audio files
Specifying the app's requirements
Laying out a camera preview as the main view
Tracking back and forth gestures
Playing audio clips as questions and answers
Capturing images and tracking faces in an activity
Chapter 5. Equipping Your Car with a Rearview Camera and Hazard Detection
Planning The Living Headlights app
Detecting lights as blobs
Estimating distances (a cheap approach)
Implementing The Living Headlights app
Testing The Living Headlights app at home
Testing The Living Headlights app in a car
Chapter 6. Seeing a Heartbeat with a Motion Amplifying Camera
Planning the Lazy Eyes app
Understanding what Eulerian video magnification can do
Extracting repeating signals from video using the Fast Fourier Transform (FFT)
Compositing two images using image pyramids
Implementing the Lazy Eyes app
Configuring and testing the app for various motions
Seeing things in another light
Chapter 7. Creating a Physics Simulation Based on a Pen and Paper Sketch
Planning the Rollingball app
Detecting circles and lines
Setting up OpenCV for Unity
Configuring and building the Unity project
Creating the Rollingball scene in Unity
Creating Unity assets and adding them to the scene
Tidying up and testing
Index