Uses 108K of libraries. Click here for Pure Java version (16343L/115K).
!7 module WebCamFaceFinder > DynImageSurface { transient BufferedImage lastImage; FaceFinderX1 finder; start { // faceFinderX1_best if (finder == null) finder = faceFinderX1_starbucks(); doEvery(100, rstUpdate()); } afterVisualize { imageSurface_pixelated(imageSurface); } void update { if (imageSurface == null) ret; final BufferedImage img = dm_webCamImage(); temp tempAfterwards(r { lastImage = img }); if (img == null || img == lastImage) ret; Rect r = cloneRect(finder.get(RGBImage(img))); if (r != null) { r.y = -1; r.h = img.getHeight(); } setSelection(r); setImage(img); } }
Began life as a copy of #1019105
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: | #1019214 |
Snippet name: | Live Web Cam Face Finder v1 [Dyn Module] |
Eternal ID of this version: | #1019214/7 |
Text MD5: | f9c41245d9b99715af15d00d5f55ea74 |
Transpilation MD5: | bf907569787a51f6d8a5eea56469c7b0 |
Author: | stefan |
Category: | javax / stefan's os / web cam |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-11 20:56:25 |
Source code size: | 692 bytes / 28 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 379 / 825 |
Version history: | 6 change(s) |
Referenced in: | #1019539 - Live Web Cam Face Finder v2 [Dyn Module] |