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

7
LINES

< > BotCompany Repo | #1024772 // chessOCR_uploadPieceImage

JavaX fragment (include)

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

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: 240 / 297
Referenced in: [show references]