That's using a technology called OCR, for optical character recognition, which takes a picture of text and tries to figure out what text is
Esta tecnología se llama ROC, reconocimiento óptico de caracteres, y consiste en tomar una imagen del texto