Facebook has developed an artificial intelligence (AI) system 'Rosetta' which can detect text from over a billion images like memes and videos in real time. The AI detects rectangular regions in images that potentially contain text and then uses a neural network to recognise and transcribe what's written. To train the system, Facebook used a human-annotated dataset of public images.