summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-13 15:59:54 +0100
committerskal <pascal.massimino@gmail.com>2026-02-13 15:59:54 +0100
commitd3d72f7b70e8f7d1f1ec0fb3030c447a8f876d8f (patch)
tree64256b136feb4a542f5febc10091d0eeeb7aaf93 /README.md
parentbf8c088763eda14ff269f2152f1ff806bc545c90 (diff)
CNN v2 test tool: Add video playback support
Features: - Video file support (MP4, WebM, etc.) via drag-and-drop - Play/Pause button with non-realtime playback (drops frames if CNN slow) - Frame-by-frame navigation (◄/► step buttons) - Unified image/video processing through same CNN pipeline - Audio muted (video frames only) Optimizations: - Layer visualization updates only on pause/seek (~5-10ms saved per frame) Architecture: - copyExternalImageToTexture() works with both ImageBitmap and HTMLVideoElement - Video loading: wait for metadata → seek to frame 0 → wait for readyState≥2 (decoded) - Playback loop: requestAnimationFrame with isProcessing guard prevents overlapping inference - Controls always visible, disabled for images Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions