Uses 3874K of libraries. Click here for Pure Java version (8303L/59K/197K).
1 | !7 |
2 | |
3 | static ScreenLens lens; |
4 | |
5 | p-substance {
|
6 | lens = new ScreenLens; |
7 | lens.postProcess = func(BufferedImage img) {
|
8 | BWImage bw = new BWImage(img); |
9 | drawBoxes(img, rectsToRectangles(autoSegment(bw)), Color.red, 0.8f); |
10 | ret img; |
11 | }; |
12 | lens.start(); |
13 | } |
Began life as a copy of #1006550
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: | #1006557 |
| Snippet name: | Screen Lens with auto-segment |
| Eternal ID of this version: | #1006557/1 |
| Text MD5: | 7e10994ea7ff838652691c81cfc44613 |
| Transpilation MD5: | fd0c0c94e71ab87361a071fa72879ebc |
| Author: | stefan |
| Category: | javax / gui / ocr |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-02-24 13:11:58 |
| Source code size: | 270 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 753 / 894 |
| Referenced in: | [show references] |