As we have mentioned in all of the chapters of this book, you will need to have OpenCV installed. Besides that, you will need to install TensorFlow.
The Oxford-IIIT-Pet dataset is available for download at https://www.robots.ox.ac.uk/~vgg/data/pets/, along with our dataset preparation script, which will be downloaded automatically for you.
You can find the code that we present in this chapter (from the GitHub repository) at https://github.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition. You can also use the Docker files available in the repository to run the code in the chapter. Refer to the Appendix B, Setting Up a Docker Container, for more information on the Docker files.