1 | static L<RecognizedText> ocr_clearLinesBelowMinScore(L<RecognizedText> l) { |
2 | for (RecognizedText r : l) |
3 | if (r.text.score() < ocr_minScore()) |
4 | r.text = Scored(ocr_unknownCharacterPlaceholder(), 0); |
5 | ret l; |
6 | } |
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: | 329 / 380 |
Version history: | 2 change(s) |
Referenced in: | [show references] |