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

12
LINES

< > BotCompany Repo | #1019524 // rgbRawSingleImageSearch_multiplePatterns

JavaX fragment (include)

1  
// similarity = e.g. 0.99f
2  
static FoundImg rgbRawSingleImageSearch_multiplePatterns(RGBImage big, L<RGBImage> patterns, float similarity) {
3  
  FoundImg found = null;
4  
  for (RGBImage pat : patterns) {
5  
    FoundImg found2 = rgbImageSearch_best(big, pat, similarity);
6  
    if (found2 != null) {
7  
      found = found2;
8  
      similarity = found.sim;
9  
    }
10  
  }
11  
  ret found;
12  
}

Author comment

Began life as a copy of #1006802

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019524
Snippet name: rgbRawSingleImageSearch_multiplePatterns
Eternal ID of this version: #1019524/4
Text MD5: e7a1d621b9b4cc721aa745079beee0bb
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-11 20:36:50
Source code size: 377 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 285 / 334
Version history: 3 change(s)
Referenced in: [show references]