!7 // transpiler needs this on top level !include once #1025225 // Shared IntegralImage cmodule Test > DynPrintLog { start-thread { bool first = true; repeat 10 { ScreenshotFromStream ss = dm_lastScreenshotFromStream(); print(ss); if (ss != null && first) pcall { first = false; IntegralImage ii = ss.integralImage(); print(ii); showImage(ii.getBufferedImage()); } sleepSeconds(1); } } }