!7 p { SS comments = persistentHashMapFromProgram(#1010705, "Comments"); pnl(comments); repeat with sleep 10 { BWImage img = shootScreenBW(); new TreeSet elements; L segments = autoSegment(img); for (Rect r : segments) { RGBImage clip = img.clip(r).toRGB(); S md5 = rgbMD5(clip); S text = comments.get(md5); if (nempty(text)) elements.add(text); } print("Found: " + elements); } }