Uses 3874K of libraries. Click here for Pure Java version (8400L/61K/202K).
!7 static ScreenLens lens; p-substance { lens = new ScreenLens; lens.postProcess = func(BufferedImage img) { //BWImage bw = bwImageTo2Bit_inner(new BWImage(img), 0.2f, 0.85f); BWImage bw = bwImageTo2Bit_outer(new BWImage(img), 0.2f, 0.8f); img = bw.getBufferedImage(); drawBoxes(img, rectsToRectangles(autoSegment_blackBG(bw)), Color.red, 0.8f); ret img; }; lens.start(); }
Began life as a copy of #1006531
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, nnmtytuibrzp, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006550 |
Snippet name: | Screen Lens with funny b/w conversion |
Eternal ID of this version: | #1006550/1 |
Text MD5: | 432e5e4141120492ce0512baf7fbb26b |
Transpilation MD5: | c841f081dff9c80dc62ef045e64a7454 |
Author: | stefan |
Category: | javax / gui / ocr |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-03 14:07:12 |
Source code size: | 417 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 538 / 659 |
Referenced in: | [show references] |