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

7
LINES

< > BotCompany Repo | #1024772 // chessOCR_uploadPieceImage

JavaX fragment (include)

svoid chessOCR_uploadPieceImage(S square, S piece, BufferedImage img) {
  temp tempInfoBox_noHide("Uploading...");
  S imageURL = uploadToImageServer("Chess square: " + piece, img);
  agiBlue_postInSlice(agiBlue_chessPieceImagesSlice(), imageURL, "is", piece);
  agiBlue_postInSlice(agiBlue_chessPieceImagesSlice(), imageURL, "was on square", square);
  infoBox("Uploaded!");
}

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: #1024772
Snippet name: chessOCR_uploadPieceImage
Eternal ID of this version: #1024772/1
Text MD5: 4ce59666d95351eeb37d9e8d4ee08589
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-24 22:13:01
Source code size: 383 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 168 / 217
Referenced in: [show references]