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.
optičko prepoznavanje znakova, koja snima sliku teksta i pokušava odgonetnuti koji je tekst unutra.