Before you proceed with this recipe, you need to install the OpenCV 3.x Python API package and the matplotlib package.