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

6
LINES

< > BotCompany Repo | #1015689 // ocr_clearLinesBelowMinScore

JavaX fragment (include)

static L<RecognizedText> ocr_clearLinesBelowMinScore(L<RecognizedText> l) {
  for (RecognizedText r : l)
    if (r.text.score() < ocr_minScore())
      r.text = Scored(ocr_unknownCharacterPlaceholder(), 0);
  ret l;
}

Author comment

Began life as a copy of #1015463

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015689
Snippet name: ocr_clearLinesBelowMinScore
Eternal ID of this version: #1015689/3
Text MD5: ecb27798defdfe0fa7e9dc72fc3afe29
Author: stefan
Category: javax / ocr
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-23 12:34:35
Source code size: 222 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 275 / 318
Version history: 2 change(s)
Referenced in: [show references]