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

12
LINES

< > BotCompany Repo | #1004643 // Show Random Glyph, Read Subtitle

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (4006L/27K/88K).

!752

p {
  L<BWImage> images = unclusterImages(loadBWImage("#1004645"));
  if (images == null) fail("Unclustering failed!?");
  BWImage img = removeGrayBorder(oneOf(images));
  Pair<BWImage, S> p = unsubtitle(img);
  if (p == null)
    showBWImage("Unsubtitle failed", img);
  else  
    showBWImage(p.b, p.a);
}

Author comment

Began life as a copy of #1004641

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004643
Snippet name: Show Random Glyph, Read Subtitle
Eternal ID of this version: #1004643/1
Text MD5: f3d0413166b719c92951260a286ce823
Transpilation MD5: b300bec29604a12b26e2d6b119c75350
Author: stefan
Category: javax / images
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-24 19:56:16
Source code size: 324 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 544 / 727
Referenced in: #1004646 - Try To Recognize Font From Glyph Table