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

8
LINES

< > BotCompany Repo | #1022928 // gatherMarkedThingInImages (possibly multiple entries per file)

JavaX fragment (include)

1  
static LPair<File, Rect> gatherMarkedThingInImages(L<File> files, S thingName) {
2  
  new LPair<File, Rect> out;
3  
  for unnull (File f : files)
4  
    for (Pair<Rect, S> p : loadImageFileMarkings(f))
5  
      if (eqic(p.b, thingName))
6  
        out.add(pair(f, p.a));
7  
  ret out;
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022928
Snippet name: gatherMarkedThingInImages (possibly multiple entries per file)
Eternal ID of this version: #1022928/3
Text MD5: 72bbddc0efda7bacdbf765b0b644002e
Author: stefan
Category: javax / image recognition
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-17 07:07:35
Source code size: 275 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 197 / 246
Version history: 2 change(s)
Referenced in: [show references]