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,
Also, the book introduces the readers to the following Python libraries,
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.
- 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
- 184.108.40.206 Download Acclerator Plus
- 220.127.116.11 Win32DiskImager
- 18.104.22.168 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
- 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.3 Connecting Raspberry Pi to a network and the internet
- 4.3.1 WiFi
- 22.214.171.124 Static IP address
- 126.96.36.199 Dynamic IP address
- 188.8.131.52 Verifying connectivity
4.4 Important Linux commands
4.4.1 updating the Pi
- 184.108.40.206 Updating the firmware
- 220.127.116.11 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
iwlist wlan0 scan
4.4.5 System Information Commands
- 18.104.22.168 CPU related information
- 22.214.171.124 Memory related information
- 126.96.36.199 System and version information
- 188.8.131.52 Partition related information
- 184.108.40.206 Other useful commands
- 4.4.1 updating the Pi
- 4.5 Summary
5. Connect to Pi remotely
5.1 Enabling Pi for SSH from
- 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
8.4 Overclocking the Pi with
8.4.1 Options in
/boot/config.txtoptions for various models of Pi
- 220.127.116.11 Options for Pi B and Pi B+
- 18.104.22.168 Options for Pi 2
- 22.214.171.124 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.6 Introduction to NumPy
- 9.7 Image properties
- 9.8 Image statistics
- 9.9 An individual pixel and Image masks
matplotlibfor 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.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.1 Histogram of greyscale image
- 12.2 Color Image histogram
- 12.3 Histogram Equalization
- 12.4 Summary
- 13.1 Simple thresholding
- 13.2 Built-in methods for thresholding
- 13.3 Summary
- 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
- 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
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
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), EPUB (for phones and tablets) and MOBI (for 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.
C++ Best PracticesJason Turner
Level up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
Continuous Delivery PipelinesDave Farley
This practical handbook provides a step-by-step guide for you to get the best continuous delivery pipeline for your software.
OpenIntro StatisticsDavid Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntro
A complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
C++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
The book is almost daily updated. These incremental updates ease my interaction with the proofreaders.
Atomic KotlinBruce Eckel and Svetlana Isakova
For both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
Introductory Statistics with Randomization and SimulationMine Cetinkaya-Rundel, Christopher Barr, OpenIntro, and David Diez
A complete foundation for Statistics, also serving as a foundation for Data Science, that introduces inference using randomization and simulation while covering traditional methods.
Leanpub revenue supports OpenIntro, so we can provide free desk copies to teachers interested in using our books in the classroom.
More resources: openintro.org.
Ansible for DevOpsJeff Geerling
Ansible is a simple, but powerful, server and configuration management tool. Learn to use Ansible effectively, whether you manage one server—or thousands.
Java OOP Done RightAlan Mellor
Object Oriented Programming is still a great way to create clean, maintainable code. But only if you use it right.
This book gives you 25 years of OO best practice, ready to use.
You'll learn to design objects behaviour-first, use TDD to help, then confidently apply Design Patterns, SOLID principles and Refactoring to make clean, crafted code.
Introducing EventStormingAlberto Brandolini
The deepest tutorial and explanation about EventStorming, straight from the inventor.
Discrete Mathematics for Computer ScienceAlexander Shen, Alexander S. Kulikov, Vladimir Podolskii, and Aleksandr Golovnev
This book supplements the DM for CS Specialization at Coursera and contains many interactive puzzles, autograded quizzes, and code snippets. They are intended to help you to discover important ideas in discrete mathematics on your own. By purchasing the book, you will get all updates of the book free of charge when they are released.
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before...
CCIE Service Provider Ultimate Study Bundle
2 BooksPiotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification...
Cisco CCNA 200-301 Complet
4 BooksCe lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301.
Modern C++ by Nicolai Josuttis
CCDE Practical Studies (All labs)
3 BooksCCDE lab
"The C++ Standard Library" and "Concurrency with Modern C++"
2 BooksGet my books "The C++ Standard Library" and "Concurrency with Modern C++" in a bundle. The first book gives you the details you should know about the C++ standard library; the second one dives deeper into concurrency with modern C++. In sum, you get more than 600 pages full of modern C++ and about 250 source files presenting the standard library...
2 BooksDocker and Kubernetes are taking the world by storm! These books will get you up-to-speed fast! Docker Deep Dive is over 400 pages long, and covers all objectives on the Docker Certified Associate exam.The Kubernetes Book includes everything you need to get up and running with Kubernetes!
Modern Management Made Easy
3 BooksRead all three Modern Management Made Easy books. Learn to manage yourself, lead and serve others, and lead the organization.
The Future of Digital Health
6 BooksWe put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy and how technology giants such as Amazon or Google want to conquer...
Django for Beginners/APIs/Professionals