!7 static BufferedImage img; static L texts; static ImageSurface is; static ReliableSingleThread rst; p-experiment { print("Shooting"); img = shootScreenHidingConsole(); print("Recognizing"); time { pnl(multiSetAsMap_popularFirst(asCIMultiSet(onlyStringsLongerThan(1, words(lines(ocr_recognizeMultiLine(img))))))); } //is = showImageWithRecognizedTexts(img, null, texts); }