Comments (8)
got a pull request to work with? :)
from deepdreamvideo.
Um... no. I don't have any experience with video processing.
Should I try though?
from deepdreamvideo.
What about using OpticalFlow? > https://github.com/timscaffidi/ofxOpticalFlowFarneback
Might make sense as a post-producing step (between 2_ and 3_ to smooth the frames by adding respective motion blur.
from deepdreamvideo.
@denjello
The idea is that blending with more fitting result of the previous frame would improve dreaming of the current frame and might make hallucinations more stable.
Btw there's also optical flow in OpenCV.
from deepdreamvideo.
@suhr blending is already implemented:
--blend 0.5 (constant)
--blend random (random factor 0.5 - 1.0)
--blend loop (loop 0.5 <-> 1.0 and everything in betwen).
@denjello means to next to blending also keep the movement into account with optical flow. I got some code working, will try to implement it one if these days, helped by reddit: https://www.reddit.com/r/deepdream/comments/3cesna/with_optical_flow_source_in_comments/
If anyone else has time, feel free to try the code from there -^
from deepdreamvideo.
@graphific I'm aware it's implemented, but consider words “more fitting”. For example, now if some head in video moves, two frames with different head positions are blended. With optical flow you can correct the head position before blending and dreaming.
I got some code working, will try to implement it one if these days, helped by reddit: https://www.reddit.com/r/deepdream/comments/3cesna/with_optical_flow_source_in_comments/
Well, this looks like the thing I'm talking about.
from deepdreamvideo.
@graphific > can you share a gist of what you are working on?
from deepdreamvideo.
@denjello its basically just an exact copy of the reddit code, but halfway implemented, with a flag to enable it (-of, --optical_flow), so if anyone else has time: I probably wont get to it until end of the week.
from deepdreamvideo.
Related Issues (20)
- SIGSEGV (Address boundary error) HOT 11
- Runtime error in 2_dreaming_time.py script: "KeyError: 'inception_4d/output'" HOT 1
- I couldn't run at AWS with ami HOT 5
- 1080p GPU Memory Recommendation? HOT 1
- Protobuf error on certain models HOT 1
- Blend set to string
- Error with open ocl dir HOT 1
- Rollaxis error: numpy version? HOT 1
- Unexpected result HOT 1
- Error when I try to run 2_dreaming_time.py HOT 3
- running DeepDreamVideo in Docker container
- Out of Memory With 1 Iteration HOT 1
- I have no clue how to fix this
- numpy broadcast error
- Reddit windows guide has been taken down HOT 1
- AttributeError: 'NoneType' object has no attribute 'format' HOT 5
- How do I install the required libraries? HOT 4
- Outdated python code HOT 1
- Please Help!!!
- Spelling error.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepdreamvideo.