static <Recognizer extends F1<RGBImage, Rect>> Best<Recognizer> video_scoreRect_step(Best<Recognizer> best, L<RGBImageAndRect> images, Recognizer recognizer, O... _) { double tolerance = optPar tolerance(_, first(images).image.getWidth()/2.0); new Scorer scorer; for (RGBImageAndRect i : images) video_scoreRect(scorer, i.rect, recognizer.get(i.image), tolerance); if (optPar(_, print := true)) best.putAndPrintIfNewBest(recognizer, scorer!); else best.put(recognizer, scorer!); ret best; }
Began life as a copy of #1019216
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: | #1019529 |
Snippet name: | video_scoreRect_step |
Eternal ID of this version: | #1019529/5 |
Text MD5: | 81777c87047e4a6d6b785d28e0479e7b |
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 19:53:56 |
Source code size: | 524 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 339 / 368 |
Version history: | 4 change(s) |
Referenced in: | [show references] |