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

5
LINES

< > BotCompany Repo | #1015510 // ocr_makeTerminalGrid

JavaX fragment (include)

static LL<Rect> ocr_makeTerminalGrid(BufferedImage terminal) {
  LL<Rect> rects = makeGridOfRects2(pointsRect(1, 1, terminal.getWidth(), terminal.getHeight()), 11, 22);
  rects = mapTwoLevelsDown(func(Rect r) -> Rect { growRectRight(r, -1) }, rects);
  ret rects;
}

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: #1015510
Snippet name: ocr_makeTerminalGrid
Eternal ID of this version: #1015510/4
Text MD5: f14ce940647a5b1702a1aaa4d3d9d18b
Author: stefan
Category: javax / ocr
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-15 04:21:50
Source code size: 269 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 433 / 458
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)