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

5
LINES

< > BotCompany Repo | #1031387 // iiWiggle

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (6286L/38K).

static Rect iiWiggle(IntegralImage ii, Rect r, int dx, int dy, IF1<Rect, Double> score) {
  L<Rect> l = ll(r, translateRect(r, dx, dy), translateRect(r, -dx, -dy));
  l = rectsFullyContainedIn(l, iiRect(ii));
  ret highestByFunction(r2 ->  score.get(r2), l);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031387
Snippet name: iiWiggle
Eternal ID of this version: #1031387/2
Text MD5: 8ba901cff4c13b672613fd1ccba3e8cf
Transpilation MD5: 18a7792c9f539bd92e26552b5132b0e0
Author: stefan
Category: javax / ocr
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-07 18:28:31
Source code size: 264 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 82 / 124
Version history: 1 change(s)
Referenced in: [show references]