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

15
LINES

< > BotCompany Repo | #1015357 // Make characters.zip (OCR training data) & upload

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

Libraryless. Click here for Pure Java version (7357L/51K/179K).

!7

p {
  File zip = getProgramFile("characters.zip");
  
  ZipOutputStream zipOut = newZipOutputStream(zip);
  zip_addFileInBaseDir(zipOut, glyphTeachLog());
  zip_addFilesInBaseDir(zipOut, values(screenClipFilesContainedInMD5Set(requiredPhraseImageMD5s())));
  zipOut.close();
  
  copyFileToFileVerbose(zip, addDateWithMinutesToFileName(zip));
  print("Wrote zip file. " + renderFileInfo(zip));
  
  uploadFileToFileServer(loadBinaryFile(zip), "characters.zip");
}

Author comment

Began life as a copy of #1006194

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015357
Snippet name: Make characters.zip (OCR training data) & upload
Eternal ID of this version: #1015357/11
Text MD5: ecc0a79e0079b5fdca37a5f3e899cfb8
Transpilation MD5: 834fd5aef27470eb5bdd2ae4f328e56b
Author: stefan
Category: javax / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-13 19:12:19
Source code size: 481 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 318 / 454
Version history: 10 change(s)
Referenced in: [show references]