AI > MemorizeArea { float similarityThreshold = 0.9f; RGBImage blobImage; static ImageSurface is; void go { // guess L myRects = segment(image); Rect guess = null; if (blobImage != null) guess = foundImgToRect(first(rgbRawImageSearch_quick(image, blobImage, similarityThreshold, 1))); // submit Rect solution = first(submit(guess)); // learn if (blobImage == null && solution != null) { blobImage = image.clip(solution); if (visualize) is = showZoomedImage(is, "Memorized Area", blobImage); } } }