Example programs from the book Mastering OpenCV