Getting ready

For this recipe, ensure that you have installed the OpenCV 3.x Python API package and the matplotlib package.