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

14
LINES

< > BotCompany Repo | #1019204 // Face Recognition Spike 2 [makes faceFinderX1_best(), OK, -> trainFaceFinderX1]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (10108L/72K).

1  
!7
2  
3  
p-exp {
4  
  new Best<F1<RGBImage, Rect>> best;
5  
  for (int width : iterate_printProgress(intRangeList(8, 32))) {
6  
    L<RGBImageAndRect> images = markedFaces_scaledToWidth(width);
7  
    int h = first(images).image.w();
8  
    for (int y1 = 0; y1 < h; y1++)
9  
     for (int y2 = y1+1; y2 <= h; y2++)
10  
      for (int deltaX1 = -3; deltaX1 <= 0; deltaX1++)
11  
       for (int deltaX2 = deltaX1+1; deltaX2 <= 3; deltaX2++)
12  
        video_scoreRect_x_step(best, images, nu(FaceFinderX1, +y1, +y2, +deltaX1, +deltaX2, +width));
13  
  }
14  
}

Author comment

Began life as a copy of #1019200

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: #1019204
Snippet name: Face Recognition Spike 2 [makes faceFinderX1_best(), OK, -> trainFaceFinderX1]
Eternal ID of this version: #1019204/35
Text MD5: d8985801a501c9f49f45a19070ffbc15
Transpilation MD5: 1b33bac843b883126237acc1564a7d4c
Author: stefan
Category: javax / image recognition
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-24 17:54:31
Source code size: 528 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 475 / 1299
Version history: 34 change(s)
Referenced in: [show references]