Technical requirements
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.10 -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-2nd-Edition/tree/main/Chapter%2008.