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

7
LINES

< > BotCompany Repo | #1019544 // ai_saveMarkedEyebrows

JavaX fragment (include)

svoid ai_saveMarkedEyebrows(BufferedImage img, Rect r, S state) {
  File f = putImageInDirectory_jpeg(img, ai_markedEyebrowsDir());
  setFileInfoField(f, "Eyebrows", r != null ? 1 : 0);
  setFileInfoField(f, "Eyebrow position", struct(r));
  setFileInfoField(f, "Eyebrow state", state);
  infoBox("Marked eyebrows saved (" + state + ")");
}

Author comment

Began life as a copy of #1019182

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: #1019544
Snippet name: ai_saveMarkedEyebrows
Eternal ID of this version: #1019544/2
Text MD5: 13386b8b116d3030b61a044ab009b6b3
Author: stefan
Category: javax / image recognition
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-11 23:53:04
Source code size: 346 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 283 / 325
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)