static F1<RGBImage, Rect> trainFaceFinderX1() { new Best<F1<RGBImage, Rect>> best; for (int width = 8; width <= 32; width++) { L<RGBImageAndRect> images = markedFaces_scaledToWidth(width); int h = first(images).image.w(); for (int y1 = 0; y1 < h; y1++) for (int y2 = y1+1; y2 <= h; y2++) for (int deltaX1 = -3; deltaX1 <= 0; deltaX1++) for (int deltaX2 = deltaX1+1; deltaX2 <= 3; deltaX2++) video_scoreRect_x_step(best, images, nu(FaceFinderX1, +y1, +y2, +deltaX1, +deltaX2, +width)); } ret best!; }
Began life as a copy of #1019204
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: | #1019312 |
Snippet name: | trainFaceFinderX1 |
Eternal ID of this version: | #1019312/3 |
Text MD5: | a5100203c5ada6db32701ca75a7ace44 |
Author: | stefan |
Category: | javax / image recognition |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-30 16:58:10 |
Source code size: | 557 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 325 / 343 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |