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

17
LINES

< > BotCompany Repo | #1018240 // Recognize Text On Full Screen [Dyn Module]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (14161L/79K).

!7

cmodule OCR {
  transient ImageSurface is;
  
  visual withCenteredButtons(
    jscroll(is = imageSurfaceWithStandardOperations()),
    "Recognize Screen (3s delay)", rThread recognize);

  void recognize enter {
    print("Will shoot screen in 3 seconds...");
    sleepSeconds(3);
    print("Shooting.");
    is.setImage(shootScreen2());
    new OCRRecognizeAndTeach(is);
  }
}

Author comment

Began life as a copy of #1016909

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018240
Snippet name: Recognize Text On Full Screen [Dyn Module]
Eternal ID of this version: #1018240/6
Text MD5: ebf4342c055b554114c68905bb46e927
Transpilation MD5: 2c9fecb619aa491302006e2ce1224032
Author: stefan
Category: javax / html
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-12 17:01:44
Source code size: 398 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 378 / 4414
Version history: 5 change(s)
Referenced in: [show references]