Libraryless. Click here for Pure Java version (5958L/38K).
1 | static ItIt<ParameterizedSegmenter> chessOCR_varySegmenterGain(ParameterizedSegmenter baseSegmenter, O... _) { |
2 | optPar float minGain = 1f; |
3 | optPar float maxGain = 10f; |
4 | optPar float gainStep = 1f; |
5 | |
6 | ret mapI(floatIota(minGain, maxGain, gainStep), gain -> { |
7 | ParameterizedSegmenter seg = baseSegmenter.clone(); |
8 | seg.dc_gain = gain; |
9 | ret seg; |
10 | }); |
11 | } |
Began life as a copy of #1024803
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: | #1024818 |
Snippet name: | chessOCR_varySegmenterGain |
Eternal ID of this version: | #1024818/4 |
Text MD5: | 24bb38e3b6f720691c4ec2e17609379f |
Transpilation MD5: | 8833421313f26caf50138945960adc35 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-26 13:19:58 |
Source code size: | 373 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 173 / 267 |
Version history: | 3 change(s) |
Referenced in: | [show references] |