Technical requirements
This chapter uses Python, OpenCV, and NumPy. Please refer back to Chapter 1, Setting Up OpenCV, for installation instructions.
The completed code for this chapter can be found in this book's GitHub repository, at https://github.com/PacktPublishing/Learning-OpenCV-5-Computer-Vision-with-Python-Fourth-Edition, in the chapter07
folder. Sample images can be found in the repository in the images
folder.