samim23/DeepDreamAnim
samim23/DeepDreamAnim has 557 GitHub stars and 86 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-24 19:21 UTC. Last push 2018-09-29.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
DeepDream Animation Helper
창작 및 미디어README.md
OriginalDeepDream Animator
This tool helps to create animations with deepdream. Extract frames from videos, process them with deepdream and then output as new video file. Frame blending option is provided, to ensure "stable" dreams across frames. A preview function make rapid iterations possible. Optionally guided dreaming & optical flow can be used.

How to
Extract Video
python dreamer.py --input myvideo/video.mp4 --output myvideo --extract 1Run DeepDream
python dreamer.py --input myvideo --output myvideo/framesCreate Video
python dreamer.py --input myvideo/frames --output myvideo/deepdreamvideo.mp4 --create 1
(change "myvideo" to your directory/file name)
(change the path of the caffe model inside dreamer.py to where your model is )

Settings
Use Optical Flow & Guided Dreams & GPUpython dreamer.py --input myvideo --output myvideo/frames --octaves 4 --octavescale 1 --iterations 10 --jitter 32 --zoom 1 --stepsize 1.5 --blend 0 --layers inception_3b/output --gpu 1 --flow 1 --guide guide/flowers.png
Create a preview (currently does not work with flow)python dreamer.py --input myvideo --output myvideo/frames --preview 600
Tweak settingspython dreamer.py --input myvideo --output myvideo/frames --preview 600 --octaves 4 --octavescale 1.4 --iterations 10 --jitter 32 --zoom 1 --stepsize 1.5 --blend 0.5 --layers inception_3a/output inception_3b/output
(Preview changes Images to width of choice, original files not changed)
(Try using multiple layers, it will cycle through them from frame to frame.)
Batch Processing
Use the above commands and stack them by putting a ";" inbetween commands.python dreamer.py --input myvideo --output myvideo/frames;python dreamer.py --input myvideo2 --output myvideo2/frames

Examples
Optical flow + Guided Dreaming tests

Creative Request
It would be very helpful for other deepdream researchers, if you could include the used parameters in the description of your youtube videos.
Requirements
- Python
- Caffe (and other deepdream dependencies)
- FFMPEG
- CV2 (if you use optical flow)
Audio
The tool currently does not handle audio. Check out DeepDreamVideo by @graphific

Credits
관련 프로젝트 살펴보기
불러오는 중…
