For this chapter, we will need the numpy package and the matplotlib package, as usual. We will also need the Shapely package and the scikit-image package, which can be installed using your favorite package manager, such as pip:
python3.8 -m pip install numpy matplotlib shapely scikit-image
The code for this chapter can be found in the Chapter 08 folder of the GitHub repository at https://github.com/PacktPublishing/Applying-Math-with-Python/tree/master/Chapter%2008.
Check out the following video to see the Code in Action: https://bit.ly/3hpeKEF.