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

13
LINES

< > BotCompany Repo | #1005815 // Test bwDarkCentroid on mouse area

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (4204L/28K/96K).

!752

static int area = 11;

p {
  while licensed {
    BWImage img = shootScreenBW(mouseArea(area));
    ImageSurface is = quickShowZoomedImage(img.toRGB(), 10);
    Pair<Float, Float> c = bwDarkCentroid(img);
    setFrameTitle(is, formatDouble(c.a, 1) + "/" + formatDouble(c.b, 1));
    sleepSeconds(0.1);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005815
Snippet name: Test bwDarkCentroid on mouse area
Eternal ID of this version: #1005815/1
Text MD5: ce3cbe400ac98577e1488bd3fba5ff84
Transpilation MD5: 9578476077e99c7b4317d9811a499fb3
Author: stefan
Category: javax / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-10 15:47:36
Source code size: 325 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 461 / 511
Referenced in: [show references]