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).

1  
!7
2  
3  
p-exp {
4  
  File dir = userDir("/dev/DeepBeliefSDK/examples/SimpleLinux");
5  
  File img = fileAsArgumentOr(args, func -> File { loadImageAsFile(#1101396) }); //newFile(dir, "lena.png");
6  
  time "Recog" {
7  
    S out = backtick(bashQuote(newFile(dir, "deepbelief"))
8  
      + " " + bashQuote(img)
9  
      + " " + bashQuote(newFile(dir, "jetpac.ntwk")));
10  
  }
11  
  //print(out);
12  
  LL<S> l = map splitAtSpace(tlft(out));
13  
  sortByIndex2_desc(l, 1);
14  
  l = takeFirst(10, l);
15  
  pnlStruct(l);
16  
}

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: 545 / 1195
Version history: 11 change(s)
Referenced in: [show references]