!7 sclass YOLO > DynPrintLog { transient File imagePath; start { imagePath = programFile("webcam.jpg"); doEvery(10000, r { O webCam = dm_findResolvedModule("#1016673/LiveWebCam"); if (webCam == null) ret; // with print("Web Cam Module not loaded"); BufferedImage img = cast call(webCam, 'getImage); if (img == null) ret with print("Select web cam"); printDateWithSeconds(); saveJPEG(imagePath, img); L> results = runYolo(imagePath); printStruct(results); }); } }