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

4
LINES

< > BotCompany Repo | #1024805 // chessOCR_recognizeBoard

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (6900L/46K).

1  
static LPair<S, Double> chessOCR_recognizeBoard(BufferedImage board, ChessPieceRecognizer pieceRecognizer) {
2  
  LL<BufferedImage> squareImages = bufferedImageMNGrid(board, 8, 8);
3  
  ret map(concatLists(squareImages), img -> pieceRecognizer.recognize(img));
4  
}

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: #1024805
Snippet name: chessOCR_recognizeBoard
Eternal ID of this version: #1024805/1
Text MD5: 485539898a6980a191dc16678aea0f7c
Transpilation MD5: 86dac45a9423a06aeb5391630c2ce17d
Author: stefan
Category: javax / image recognition
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-25 23:26:04
Source code size: 259 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 261 / 362
Referenced in: [show references]