Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1018539 // Test DeepBelief/Linux (image recognition, OK when installed)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (7393L/54K).

!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);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018539
Snippet name: Test DeepBelief/Linux (image recognition, OK when installed)
Eternal ID of this version: #1018539/12
Text MD5: a12e4f6625bcc1769c6a22b4e7bc7943
Transpilation MD5: b90c445b5c6187243ef28fac4ed52736
Author: stefan
Category: javax / image recognition
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-04 00:14:45
Source code size: 490 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 544 / 1190
Version history: 11 change(s)
Referenced in: [show references]