Table of Contents
Preface
Section 1: OpenCV and Sensors and Signals
Chapter 1: OpenCV Basics and Camera Calibration
Technical requirements4
Introduction to OpenCV and NumPy4
OpenCV and NumPy 4
Image size 5
Grayscale images 5
RGB images 6
Working with image files7
Working with video files9
Working with webcams 10
Manipulating images10
Flipping an image 10
Blurring an image 11
Changing contrast, brightness, and gamma 13
Drawing rectangles and text 15
Pedestrian detection using HOG15
Sliding window 16
Using HOG with OpenCV 16
Introduction to the camera 18
Camera terminology 18
The components of a camera 25
Considerations for choosing a camera 26
Strengths and weaknesses of cameras 27
Camera calibration with OpenCV28
Distortion detection 29 ...
Get Hands-On Vision and Behavior for Self-Driving Cars now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.