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

11
LINES

< > BotCompany Repo | #1024825 // Test Chess Piece Recognizers

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

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

!7

cmodule TestAutoRecognizer > ChessOCR_DynTestPieceRecognizers {
  replace Recognizer with ChessPieceRecognizer.
  
  void start { super.start();
    onRecognition = voidfunc(Recognizer rec, TestImage img, Pair<S, Double> out) {
      print("runnerUp", pairMapB(e -> rec.errorToPercent(e), rec.runnerUp));
    };
  }
}

Author comment

Began life as a copy of #1024783

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: #1024825
Snippet name: Test Chess Piece Recognizers
Eternal ID of this version: #1024825/22
Text MD5: c92586b3dca89e32a255bea875b44b4c
Transpilation MD5: 2e612269feb7a3853e58fa5d8e645dc9
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-26 19:50:28
Source code size: 331 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 258 / 755
Version history: 21 change(s)
Referenced in: [show references]