OpenCV is used to read the image (e.g. qr-code.png) in grayscale. The image is converted into a binary image (using a threshold), where the pixels have the value 0 (black) or 255 (white). The encoding ...