Comments (3)
Thank you for the concise and in-depth explanation.
I haven't had the chance to try any of the code yet, but the parallax movement looks great and I'm looking forwards on seeing what comes of it all.
from depthflow.
Hi, thanks for reaching out!
About releases:
but as the title says, under the section "Grab the latest DepthFlow Release for your platform, run it" there is no release(s) available.
You're right, there's no releases available yet, I forgot to strikethrough it on the readme when I was re-formatting to match the formatting with other projects
The reason why there is no binaries is that the code was only configurable inside Python itself before I made a quick and hacky gui using Gradio (which I commited the half baked code yesterday) as seen below:
The code.. works, just isn't ideal to work with, the camera shake and roll parameters are hard coded for a binary but modifiable on the script, if you can please run it from the source code at the moment
I saw opportunity for a release and was preparing for it but two issues popped up:
- Nuitka was having issues packaging PyTorch on my end
- PyInstaller was having issues packaging GLFW shared library for ModernGL
I just needed something that worked for a project with my friend at the time so I didn't invest further into making it a "software", currently I'm trying to make a definitive version of another project's code base which will be used by DepthFlow, that being the shader renderer "framework" of ShaderFlow, since DepthFlow is basically a shader with two input images it's just one of the many things ShaderFlow will be able to do, with a much more solid and configurable "video-editor" like and reactive configurations
About examples:
As well, are there any examples available for what exactly this does? Going by what's provided it sounds like it should take an image, generate a depth map and then animate it - but how exactly?
Related to the previous issue, I diverged paths to work on the other project and didn't had the time to demonstrate something definitive, but surely I can give you examples here!
Depth Estimation
For depth estimation I'm currently using ZoeDepth which I found to be accurate and edge-smooth enough for this shader, you can toy with input images and their depth estimation on this HuggingFace space
Here's a demo with some random image I prompted on MidJourney:
Camera Focus=1
8247e3a3-f8ae-475a-9bba-3503699f42ab.mp4
Camera Focus=0
46d266b0-dbe2-4587-a667-2074ca6153b9.mp4
And here's the input image and calculated depth map of it:
What next
It itches me to leave this project in this half baked state, but I really want to rebase it on a much better shader renderer backend, which will allow us, for example, to easily add some post-fx layer like vignette, lens distortion, maybe some pre-made particles shader, make it react to music, have a proper camera to apply dolly-zoom like effects instead of just zoom and movement
The "text-to-video" part might get postponed or canceled entirely, that's just not how Stable Diffusion works I learned, it's doable just that more basic stuff needs to be working before we move on
Anyways, it should work running from the source code for the time being as a proof of concept, please get in touch with me if you have any other issues or questions!
from depthflow.
Hi @Ainaemaet, an update:
Closing the issue
I'm closing this as the "Precompiled binaries" section isn't on the Readme anymore - until I reimplement the releases logic, and manage to make them work properly in standalone executables
Future
The project is becoming less dependent on the main scene script file itself, as I'm planning to have presets with their own configuration directly on the CLI and on the realtime window itself
There's more
By the way, the Parallax effect on the videos above were from the original 2D-only code, I've done the math and updated the shader to fully work under a 3D camera - perspective, isometric, zoom and all, see the main readme for the newer results!
from depthflow.
Related Issues (20)
- DepthFlow cannot be deployed and run HOT 3
- Awesome project HOT 6
- Can't select input image through comandline or file selection dialog HOT 6
- Render video from one cli command directly from image and depth map HOT 21
- Issue when trying to run Broken Depthflow HOT 11
- Changing the video codec HOT 2
- how to open after the installation? HOT 36
- i can't find the perfect settings HOT 12
- (BUG) Segmentation Fault on Apple Silicon when Compiling Shaders HOT 2
- (REQUEST) support conda or pip install HOT 2
- (BUG) Quality went downhill in latest version HOT 5
- Can you add a version that runs on Linux servers? HOT 9
- Can you make a website? HOT 5
- (BUG) Worse quality when using cached depthmap HOT 3
- (REQUEST) A way of executing this without launchin UI
- Installation is so painful HOT 2
- (BUG) error after update to broken-source 0.3.1 HOT 4
- (BUG) 'NoneType' object has no attribute 'get' HOT 3
- (BUG) GLIBC not found when executing new PyApp release on linux
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 depthflow.