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

17
LINES

< > BotCompany Repo | #1024911 // Chess Board Recognizer [stand-alone version]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (19971L/114K).

!7

cmodule ChessBoardRecognizer > ChessOCR_DynChessBoardRecognizer {
  start {
    dm_useFullDesktopPane();
    setFields(showSegmenterSection := false, showSelectedSquare := false);
    pieceRecognizer = (ChessPieceRecognizer) unstruct(loadSnippet(#1024915));
  }
  
  JComponent segmenterSection() { ret jpanel(); }
  
  replace Segmenter with IF1<BufferedImage, L<Rect>>.
  
  Iterator<? extends Segmenter> makeSegmenters() {
    ret singletonIterator(chessOCR_dcsRecognizer1());
  }
}

Author comment

Began life as a copy of #1024674

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: #1024911
Snippet name: Chess Board Recognizer [stand-alone version]
Eternal ID of this version: #1024911/6
Text MD5: 8ddd3300f1b0ab16c67d7cfac610f4d1
Transpilation MD5: 93c72eb28d90678d12e640cf4ee06112
Author: stefan
Category: javax / image recognition
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-30 14:34:18
Source code size: 505 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 223 / 707
Version history: 5 change(s)
Referenced in: #1024912 - Chess Board Recognizer Main (packaged by #1024913)