Show HN: DeepDream for Video with Temporal Consistency
fruitbarrel Thursday, January 08, 2026I forked a PyTorch DeepDream implementation and added video support with temporal consistency. It produces smooth DeepDream videos with minimal flickering, and is highly flexible including many parameters and supports multiple pretrained image classifiers including GoogLeNet. Check out the repo for sample videos! Features:
- Optical flow warps previous hallucinations into the current frame
- Occlusion masking prevents ghosting and hallucination transfer when objects move
- Advanced parameters (layers, octaves, iterations) still work
- Works on GPU, CPU, and Apple Silicon
Summary
This article discusses the implementation of DeepDream, a computer vision technique, to generate surreal and psychedelic video effects using PyTorch. It provides code examples and guidance for applying the DeepDream algorithm to video input, enabling users to create unique and visually striking video content.
61
23
Summary
github.com