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

5
LINES

< > BotCompany Repo | #1013704 // openImajToRects

JavaX fragment (include)

static L<Rect> openImajToRects(Collection<org.openimaj.math.geometry.shape.Rectangle> l) {
  ret map(l, func(org.openimaj.math.geometry.shape.Rectangle r) -> Rect {
    Rect(toInt(r.x), toInt(r.y), toInt(r.width), toInt(r.height))
  });
}

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: #1013704
Snippet name: openImajToRects
Eternal ID of this version: #1013704/2
Text MD5: 6f9a1b0d934cc2f730fabfada3fc82ef
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-25 13:39:06
Source code size: 242 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 436 / 430
Version history: 1 change(s)
Referenced in: [show references]