Libraryless. Click here for Pure Java version (6900L/46K).
static LPair<S, Double> chessOCR_recognizeBoard(BufferedImage board, ChessPieceRecognizer pieceRecognizer) { LL<BufferedImage> squareImages = bufferedImageMNGrid(board, 8, 8); ret map(concatLists(squareImages), img -> pieceRecognizer.recognize(img)); }
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: | 262 / 362 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1024806 - chessOCR_boardRecognitionScore #1024812 - chessOCR_recognizeBoard_FENAndScore |