Uses 18844K of libraries. Click here for Pure Java version (11195L/80K/275K).
!7 static float scale = 0.25f; // scale image p-subst { hideConsole(); sleep(500); BufferedImage img, bigImg; time "Make MBFImage" { MBFImage image = readMBF(img = scaleImage(bigImg = shootScreen2(), scale)); } showConsole(); SS lookup = imageDB_md5ToNameMap(); printStruct(lookup); time "Segment" { L<ConnectedComponent> components = fhSegment(image); } S n = n(components, "component"); print("Have " + n); setFrameTitle(n, centerFrame(showZoomedImage(renderSegments(image, components), 2))); L<S> found = lookupAllOpt(lookup, md5sOfImageComponents(img, components)); print("Found " + n(found, "thing") + ": " + sfu(found)); cycleSegmentedComponents2(img, bigImg, components); }
Began life as a copy of #1010064
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010171 |
Snippet name: | Test Felzenszwalb-Huttenlocher Segmenter on live screenshot v2 [OK] |
Eternal ID of this version: | #1010171/7 |
Text MD5: | a48c1600c8a7ce8248ab141dbe8f7a10 |
Transpilation MD5: | c98a5bf767e54d54b752a57f75e1b741 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-06 00:51:29 |
Source code size: | 765 bytes / 29 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 439 / 828 |
Version history: | 6 change(s) |
Referenced in: | [show references] |