Book Image

Raspberry Pi Sensors

By : Rushi Gajjar
Book Image

Raspberry Pi Sensors

By: Rushi Gajjar

Overview of this book

Table of Contents (16 chapters)
Raspberry Pi Sensors
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


This chapter was totally dedicated to development in image processing using the most advanced OpenCV library. We started with an overview of image processing and its applications, followed by an introduction to OpenCV. By now, you already know that the OpenCV library is so vast that even four books like this would not be enough to provide a detailed description of the entire library. You then understood the camera interface on the RasPi module, and we chose the USB camera to go with. Next, you experimented live streaming using the RasPi as a network camera module (IP camera) to keep track of your backyard directly from the lounge.

We started porting the OpenCV library, which took almost half a day to be up and running. Then, we verified the library using the camera interface. Next, we started building the project in the C language to detect human motion by calculating a motion-affected area. A useful shell file was prepared to compile the OpenCV code along with the wiringPi interface...