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).

1  
!7
2  
3  
cmodule OCR {
4  
  transient ImageSurface is;
5  
  
6  
  visual withCenteredButtons(
7  
    jscroll(is = imageSurfaceWithStandardOperations()),
8  
    "Recognize Screen (3s delay)", rThread recognize);
9  
10  
  void recognize enter {
11  
    print("Will shoot screen in 3 seconds...");
12  
    sleepSeconds(3);
13  
    print("Shooting.");
14  
    is.setImage(shootScreen2());
15  
    new OCRRecognizeAndTeach(is);
16  
  }
17  
}

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: 460 / 4542
Version history: 5 change(s)
Referenced in: [show references]