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 in there.
optisk tegngenkendelse, som tager et billede af teksten og forsøger at finde ud af, hvilken tekst det indeholder.