Libraryless. Click here for Pure Java version (7108L/47K).
// returns <fen, score> static Pair<S, Double> chessOCR_recognizeBoard_FENAndScore(BufferedImage board, ChessPieceRecognizer pieceRecognizer) { LPair<S, Double> recognized = chessOCR_recognizeBoard(board, pieceRecognizer); ret pair(chess_makeFEN(listToChunks(pairsA(recognized), 8)), doubleAvg(pairsB(recognized))); }
Began life as a copy of #1024805
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: | #1024812 |
Snippet name: | chessOCR_recognizeBoard_FENAndScore |
Eternal ID of this version: | #1024812/1 |
Text MD5: | 5a88e771248e84b2bdade6d830aa4649 |
Transpilation MD5: | f46cebc09dfcb400f8f79bab10f57177 |
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-26 12:02:55 |
Source code size: | 330 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 232 / 322 |
Referenced in: | [show references] |