Instant Raspberry Pi Computer Vision
Instant Raspberry Pi Computer Vision
Learn Computere Vision with Raspberry Pi and Python
About the Book
The book introduces the readers to the concepts of Computer Vision and Image Processing. We will use Raspberry Pi as a platform to code with Python programming.
The book explores the following Python libraries,
- scikit-image
- scikit-video
Also, the book introduces the readers to the following Python libraries,
- NumPy
- matplotlib
The Computer Vision concepts introduced in the book are accompanied by easy to follow and well explained code examples. Code examples aid the readers to grasp the Computer Vision concepts. The book is meant for the beginners new to the world of Computer Vision.
Please spread the word about the book. Feedback on my writing and coding style will be much appreciated. Readers' feedback helps me to code, write, and explain better.
Table of Contents
-
- Acknowledgments
-
Preface
-
- Why am I writing this book?
- Who this book is for?
- How is this book organized?
- What this book is not?
- About the Author
- About the Reviewer
- Errata and Suggestions
- How to Help the Author
-
-
I Raspberry Pi
-
1. Single Board Computers
- 1.1 History of SBCs
-
1.2 Various popular SBC families
- 1.2.1 Raspberry Pi
- 1.2.2 Banana Pi
- 1.2.3 Cubieboard
- 1.2.4 Intel Galileo
- 1.3 SoC
- 1.4 Summary
-
2. Introduction to Raspberry Pi
-
2.1 Popular Raspberry Pi models
- 2.1.1 Raspberry Pi 1 Model B+
- 2.1.2 Raspberry Pi 2 Model B
- 2.1.3 Raspberry Pi 3 Model B
-
2.2 Raspberry Pi cases
- 2.2.1 Raspberry Pi Official case
- 2.2.2 Pimoroni Pibow case
- 2.2.3 Raspberry Pi acrylic case
- 2.2.4 Other cases
- 2.3 Where to buy Raspberry Pi and the cases
- 2.4 Summary
-
2.1 Popular Raspberry Pi models
-
3. Setting up Raspberry Pi
-
3.1 Hardware required for the setup
- 3.1.1 Raspberry Pi
- 3.1.2 Computer
- 3.1.3 I/O Devices
- 3.1.4 microSD card
- 3.1.5 Power Supply
- 3.1.6 Card Reader
- 3.1.7 Monitor
-
3.2 Preparing microSD card manually
-
3.2.1 Download the required freewares
- 3.2.1.1 Download Acclerator Plus
- 3.2.1.2 Win32DiskImager
- 3.2.1.3 WinZip or WinRaR
- 3.2.2 Download and extract the Raspbian OS image
- 3.2.3 Writing the OS image to the microSD card
-
3.2.4 Altering the contents of
config.txt
-
3.2.1 Download the required freewares
- 3.3 Booting up the Pi
- 3.4 Configuring the Pi
- 3.5 Summary
-
3.1 Hardware required for the setup
-
4. Raspbian and useful Linux commands
- 4.1 Raspbian
-
4.2
config.txt
-
4.3 Connecting Raspberry Pi to a network and the internet
- 4.3.1 WiFi
-
4.3.2 Ethernet
- 4.3.2.1 Static IP address
- 4.3.2.2 Dynamic IP address
- 4.3.2.3 Verifying connectivity
-
4.4 Important Linux commands
-
4.4.1 updating the Pi
- 4.4.1.1 Updating the firmware
- 4.4.1.2 Updating and Upgrading Raspbian
- 4.4.2 Shutting down and restarting Pi
- 4.4.3 Getting help on Linux commands
-
4.4.4 Network related commands
-
4.4.4.1
ifconfig
-
4.4.4.2
iwconfig
-
4.4.4.3
iwlist wlan0 scan
-
4.4.4.4
ping
-
4.4.4.1
-
4.4.5 System Information Commands
- 4.4.5.1 CPU related information
- 4.4.5.2 Memory related information
- 4.4.5.3 System and version information
- 4.4.5.4 Partition related information
- 4.4.5.5 Other useful commands
-
4.4.1 updating the Pi
- 4.5 Summary
-
5. Connect to Pi remotely
-
5.1 Enabling Pi for SSH from
raspi-config
- 5.2 Checking connectivity with Pi from our computer
- 5.3 PuTTY
- 5.4 Accessing Raspberry Pi Desktop remotely
- 5.5 WinSCP
-
5.6 Connecting to Raspberry Pi using Linux or Mac OS
- 5.6.1 Remote login with SSH
- 5.6.2 X11 Forwarding using SSH
- 5.6.3 SCP for file transfer
- 5.7 Summary
-
5.1 Enabling Pi for SSH from
-
6. Other Models of Pi
-
6.1 Raspberry Pi Model 1 B
- 6.1.1 Setting up Raspberry Pi Model 1 B
-
6.2 Raspberry Pi Model 1 A
- 6.2.1 Setting up and accessing Raspberry Pi Model 1 A
-
6.3 Raspberry Pi Model 1 A+
- 6.3.1 Setting up and accessing Raspberry Pi Model 1 A+
-
6.4 Raspberry Pi Zero
- 6.4.1 Setting up and accessing Raspberry Pi Zero
- 6.5 Summary
-
6.1 Raspberry Pi Model 1 B
-
7. Miscellaneous Topics
- 7.1 Taking the backup of microSD card
-
7.2 Expanding the filesystem
- 7.2.1 Always take backup before expanding the filesystem
- 7.3 Changing the hostname
- 7.4 Summary
-
8. Overclocking Pi
- 8.1 Risks of Overclocking Raspberry Pi
-
8.2 Installing heatsink on Pi
- 8.2.1 Procuring heatsinks
-
8.3 Overclocking the Pi with
raspi-config
-
8.4 Overclocking the Pi with
/boot/config.txt
-
8.4.1 Options in
/boot/config.txt
-
8.4.2
/boot/config.txt
options for various models of Pi- 8.4.2.1 Options for Pi B and Pi B+
- 8.4.2.2 Options for Pi 2
- 8.4.2.3 Options for Pi 3
-
8.4.1 Options in
- 8.5 Summary
-
1. Single Board Computers
-
II Image Processing
-
9. Getting Started
- 9.1 Preparing the Pi for Digital Image Processing
- 9.2 How to organize the code
- 9.3 Image sources
- 9.4 A Simple program
-
9.5
data
module - 9.6 Introduction to NumPy
- 9.7 Image properties
- 9.8 Image statistics
- 9.9 An individual pixel and Image masks
-
9.10 Using
matplotlib
for displaying images - 9.11 References and further readings
- 9.12 Summary
-
10. Basic Operations
- 10.1 Image Channels
- 10.2 Arithmetic Operations on image
- 10.3 Logical operations on image
- 10.4 Image Histogram
- 10.5 Summary
-
11. Transformations
- 11.1 Transformations on images
- 11.2 Projective Transformation
- 11.3 The Swirl Effect
- 11.4 Image Pyramids
- 11.5 Affine Transformation
- 11.6 Resizing an image
- 11.7 Summary
-
12. Histograms
- 12.1 Histogram of greyscale image
- 12.2 Color Image histogram
- 12.3 Histogram Equalization
- 12.4 Summary
-
13. Thresholding
- 13.1 Simple thresholding
- 13.2 Built-in methods for thresholding
- 13.3 Summary
-
14. Filtering
- 14.1 Low pass filter
-
14.2 High pass filters
- 14.2.1 Computing horizontal and vertical edges
- 14.3 Applying Gray-scale filters to the RGB images
- 14.4 Summary
-
15. Improving Images
- 15.1 Image Inpainting
- 15.2 Noise
- 15.3 Denoising
- 15.4 Summary
-
16. Feature Detection
- 16.1 Canny edge detection Algorithm
- 16.2 Hough Transforms
- 16.3 Corner detection
- 16.4 Summary
-
17. Advanced Operations
- 17.1 Tinting Greyscale Images
- 17.2 Contours
- 17.3 Convex Hull
- 17.4 Skeletonization
- 17.5 Segmentation
- 17.6 Summary
-
18. Image Processing with matplotlib
- 18.1 Reading an image
- 18.2 Colormaps
- 18.3 Colorbar
-
18.4 Image Histogram in
matplotlib
- 18.5 Interpolation methods
- 18.6 Summary
-
9. Getting Started
-
III Video Processing
-
19. Video Processing
- 19.1 Installation of required utilities and libraries
- 19.2 Recording a Video
- 19.3 Video playback using scikit-video
- 19.4 Summary
- 20. Conclusion
-
19. Video Processing
Other books by this author
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them