This code is a practice when reading the book "OpenCV Computer Vision with Python"