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

!7

cmodule MarkEyebrows > DynImageSurface {
  transient JTextField tfState; // State of the eyebrows!
  
  start {
    dm_onClipboardImage(voidfunc(final BufferedImage img) {
      setImage(img); dm_enableAllButtons();
    });
  }
  
  visual withCenteredButtons(super,
    jLabel("State of the brows:"),
    tfState = jMinWidth(100, jTextField("normal")),
    jDisabledButton("Save marked eyebrows", rThread { ai_saveMarkedEyebrows(getImage(), getSelection(), gtt(tfState)) }
),
    jHelpIcon("Copy an image to the clipboard to mark it here"),
  );
}

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: 260 / 473
Version history: 4 change(s)
Referenced in: [show references]