// requires #1005686 (PIF Classes v2) static L continuousFind_step(L clips) { ret continuousFind_step(clips, shootScreen2()); } // creates TransientScreenshot and Found objects static L continuousFind_step(L clips, BufferedImage screenshot) { ret continuousFind_step(clips, screenshot, 1, true); } static L continuousFind_step(L clips, BufferedImage screenshot, int maxTotal, bool fullSearch) { TransientScreenshot t = //unlisted(TransientScreenshot, screenshot); new TransientScreenshot(screenshot); try { ImageFinder finder = new ImageFinder(ll(t/Screenshot), clips); finder.maxTotal = maxTotal; finder.fullSearch = fullSearch; finder.run(); } finally { t.disposeImage(); } print("#found = " + countConcepts(Found)); ret findBackRefs(Found, t); }