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

6
LINES

< > BotCompany Repo | #1019182 // ai_saveMarkedFace

JavaX fragment (include)

svoid ai_saveMarkedFace(BufferedImage img, Rect r) {
  File f = putImageInDirectory_jpeg(img, ai_markedFacesDir());
  setFileInfoField(f, "Faces", r != null ? 1 : 0);
  setFileInfoField(f, "Face position", structOrNull(r));
  infoBox("Marked face saved");
}

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: #1019182
Snippet name: ai_saveMarkedFace
Eternal ID of this version: #1019182/5
Text MD5: 1957dea68350dbc84104125b23dbd97a
Author: stefan
Category: javax / image recognition
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-05 17:58:16
Source code size: 262 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 357 / 396
Version history: 4 change(s)
Referenced in: [show references]