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)

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

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: 280 / 317
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)