1 | static L<Rect> bwAutoCropClips(BWImage bw, L<Rect> clips) { |
2 | new L<Rect> l; |
3 | for (Rect clip : clips) { |
4 | Rect r2 = autoCropOfBWImage(bw.clip(clip)); |
5 | l.add(translateRect(r2, clip.x, clip.y)); |
6 | } |
7 | ret l; |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006349 |
Snippet name: | bwAutoCropClips |
Eternal ID of this version: | #1006349/1 |
Text MD5: | a253b16d377f26b98aca29e1a27e44f7 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-29 00:59:51 |
Source code size: | 220 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 568 / 588 |
Referenced in: | [show references] |