Comments (4)
Indeed, there are optical flow calculation implementation done in GPU. - with openCV https://github.com/qassemoquab/gpuoptflow but not sure how to implement that. I'm looking into it but if someone has a better answer go for it.
from artistic-videos.
The reason why I have chosen the CPU version is because you can parallelize optical flow calculation and video stylization. When the stylizing script works on frame 2, you can compute 0002_0003 in advance, and so on. Optical flow should be faster than the video stylization, therefore you should never have to wait for the optical flow.
Also it must be mentioned that it's crucial to have a high quality optical flow estimation. Therefore, we recommend state of the art optical flow algorithms like DeepFlow or EpicFlow.
from artistic-videos.
Ok, thanks, that makes a lot of sense !
from artistic-videos.
Here is my pull request #37 , where i changed code to process both optical flow and style transfer simultaneously, making work both CPU and GPU, to speed up a process.
from artistic-videos.
Related Issues (20)
- write_png_file png_create_write_struct failed
- Issue with some frames crashing after 2 iterations HOT 1
- prevWarped Optical flow Grey
- Grey glitch on several frames
- style segmentation
- Gray Screen or Garbled Mess is rendered out HOT 3
- no video create only ppm files HOT 3
- how much time it takes to generate a simple video? HOT 2
- Flickering Background? HOT 4
- Seamless looping? HOT 2
- Thank you HOT 1
- Can't launch it...
- Just dreaming, and wondering...
- how to calculate the confidence map of optical flow,?
- "Killed" message
- Any success compiling this on collab? HOT 3
- Trying to build for Win10
- Processing without optical flow
- runs infinitely.. HOT 1
- Artisti
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 artistic-videos.