!7 static File yoloPath; p { File imagePath = loadImageAsFile(#1101133); yoloPath = homeFile("c:\darknet"); //set backtick_keepScript; S result = backtick_raw(print("cd " + bashQuote(yoloPath) + " && ./darknet detector test cfg/voc.data cfg/yolov3.cfg yolov3.weights " + bashQuote(imagePath))); //print(result); pnl(result); new Matches m; for (S line : lines(result)) if (regexpMatchGroups("(\\w+):\\s*(\\d+)%", line, m)) printStruct(m); }