Hygiene for JavaCV + DJL vision pipelines on Kotlin/JVM: camera discovery and probing, frame-skip policy for heavy inference, downscale-before-detection. Replaces the Python jbaruch/vision-pipeline-foundations tile.
94
93%
Does it follow best practices?
Impact
99%
1.86xAverage score across 3 eval scenarios
Passed
No known issues
Hygiene for JavaCV + DJL vision pipelines on Kotlin/JVM.
camera-setup-javacv skill)mean(frame) < 10 after a 500 ms warm-up = skip this index.OpenCVFrameGrabber.start() returning successfully + black frames is normal on macOS. Wait 500 ms, then probe with an actual grab() before trusting the source.system_profiler SPCameraDataType lists physical cameras. Cross-reference with the JavaCV index your probe finds.frame-skip-policy-kotlin skill)1280×720 → 320×180) for Haar face detection — 4× speed-up AND suppresses false-positive faces (background patterns at full resolution look face-like to Haar; downscaled, they don't).Flow<Frame> with .sample() for frame-skip). Keep the producer loop sequential.Dispatchers.IO. See iot-actuator-patterns-kotlin's debounce-controller skill.OpenCVFrameGrabber(0).start() and trusting index 0 is the webcam — Insta360 Virtual Camera quietly hijacks it on most modern Macs.Full skill content: skills/camera-setup-javacv/SKILL.md, skills/frame-skip-policy-kotlin/SKILL.md.