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

19
LINES

< > BotCompany Repo | #1019543 // Mark Eyebrows [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 (6935L/37K).

1  
!7
2  
3  
cmodule MarkEyebrows > DynImageSurface {
4  
  transient JTextField tfState; // State of the eyebrows!
5  
  
6  
  start {
7  
    dm_onClipboardImage(voidfunc(final BufferedImage img) {
8  
      setImage(img); dm_enableAllButtons();
9  
    });
10  
  }
11  
  
12  
  visual withCenteredButtons(super,
13  
    jLabel("State of the brows:"),
14  
    tfState = jMinWidth(100, jTextField("normal")),
15  
    jDisabledButton("Save marked eyebrows", rThread { ai_saveMarkedEyebrows(getImage(), getSelection(), gtt(tfState)) }
16  
),
17  
    jHelpIcon("Copy an image to the clipboard to mark it here"),
18  
  );
19  
}

Author comment

Began life as a copy of #1019185

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019543
Snippet name: Mark Eyebrows [Dyn Module]
Eternal ID of this version: #1019543/5
Text MD5: f6acd29ef398bf18666dbaa28113d3ee
Transpilation MD5: 02d90cd4963a2af40c9a63781abe8c52
Author: stefan
Category: javax / stefan's os / image recognition
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-14 20:14:35
Source code size: 570 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 270 / 487
Version history: 4 change(s)
Referenced in: [show references]