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...