!7

p-exp {
  File dir = userDir("/dev/DeepBeliefSDK/examples/SimpleLinux");
  File img = fileAsArgumentOr(args, func -> File { loadImageAsFile(#1101396) }); //newFile(dir, "lena.png");
  time "Recog" {
    S out = backtick(bashQuote(newFile(dir, "deepbelief"))
      + " " + bashQuote(img)
      + " " + bashQuote(newFile(dir, "jetpac.ntwk")));
  }
  //print(out);
  LL<S> l = map splitAtSpace(tlft(out));
  sortByIndex2_desc(l, 1);
  l = takeFirst(10, l);
  pnlStruct(l);
}