In this chapter, you learned how to use the camera module with a Raspberry Pi to capture video as a series of frames, and process them to detect human faces using a cascade classifier, which is haarcascade_frontalface_alt.xml. You can improve this application by displaying the detected person's name, along with the highlighting rectangle, sending an email or SMS alert, or implementing a web stream to access the video through the network and display the video on a web page.





















































