Uses 911K of libraries. Click here for Pure Java version (19914L/113K).
!7 cmodule ChessBoardRecognizer > ChessOCR_DynChessBoardRecognizer { replace Segmenter with IF1<BufferedImage, L<Rect>>. JComponent segmenterSection() { ret withLabel("Segmenter preset: ", main.onChange(rst, dm_comboBox segmenterPreset( itemPlusList("DCS 1", agiBlue_chessBoardSegmenterPresetNames())))); } Iterator<? extends Segmenter> makeSegmenters() { print("Segmenter Preset " + segmenterPreset); if (eqic(segmenterPreset, "DCS 1")) ret singletonIterator(chessOCR_dcsRecognizer1()); ret singletonIteratorUnlessNull(parameterizedSegmenterFromAGIBlue(segmenterPreset)); } }
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: | #1024674 |
Snippet name: | Chess Board Recognizer [OK but with manual segmenter selection] |
Eternal ID of this version: | #1024674/110 |
Text MD5: | c2bc6efb02cd8f0232b43f38faac04b1 |
Transpilation MD5: | 4bf1a44b64623b7f6265c1a9d002bd17 |
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-29 13:33:40 |
Source code size: | 628 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 491 / 1959 |
Version history: | 109 change(s) |
Referenced in: | [show references] |