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

18
LINES

< > BotCompany Repo | #1024775 // Extract chess piece images from training images and upload them to agi.blue

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (11124L/61K).

!7

cmodule ExtractPieceImages > DynSingleFunctionWithPrintLog {
  transient new ChessOCR_SquareImagesCollector squareImagesCollector;

  void doIt {
    agiBlue_whiteListMe();
    squareImagesCollector.loadImagesFromAGIBlue();
    new LLS queue;
    temp tempSetTL(agiBlue_postInSlice_queue, queue);
    for (ChessOCR_PieceImage i : squareImagesCollector.allImages)
      chessOCR_uploadPieceImage(i.square, i.piece, i.img);
      
    print(agiBot_postMulti(keyPairForProgram(), map(queue, l ->
      litmap(q := l.get(1), key := l.get(2), value := l.get(3))),
      slice := agiBlue_chessPieceImagesSlice());
  }
}

Author comment

Began life as a copy of #1024760

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024775
Snippet name: Extract chess piece images from training images and upload them to agi.blue
Eternal ID of this version: #1024775/4
Text MD5: 9948053d17e570ca02085d86f17e1618
Transpilation MD5: c31e6feb1c318581d7ea300f65b3cb2b
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-26 18:18:16
Source code size: 634 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 157 / 408
Version history: 3 change(s)
Referenced in: [show references]