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

12
LINES

< > BotCompany Repo | #1019524 // rgbRawSingleImageSearch_multiplePatterns

JavaX fragment (include)

// similarity = e.g. 0.99f
static FoundImg rgbRawSingleImageSearch_multiplePatterns(RGBImage big, L<RGBImage> patterns, float similarity) {
  FoundImg found = null;
  for (RGBImage pat : patterns) {
    FoundImg found2 = rgbImageSearch_best(big, pat, similarity);
    if (found2 != null) {
      found = found2;
      similarity = found.sim;
    }
  }
  ret found;
}

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: 286 / 334
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1019541 - rgbRawSingleImageSearch_multiplePatterns_plusImage
#1019554 - rgbRawSingleImageSearch_multiplePatterns_states