Can you make a website? #28
Replies: 5 comments
-
The code to resize to the image's resolution was at a bad position and causing some edge cases (again depending on monitor resolution and platform), so I've deliberately unhooked it yesterday after some user on Discord, but it's top priority to fix (I have a much better idea where to place it, just struggling on it) The video of yours just wasn't automatically resized to 1080x1920, the borders are lack of information, using |
Beta Was this translation helpful? Give feedback.
-
About a website, I'm quite sure it would be nearly impossible to run the code locally on the user's browser because of Python (and many other factors), if just acessing an url to use it, quite certainly not in real time, but... I can see a Gradio or Streamlit dashboard working if we run it locally, but it's a lot of bandwidth for only me to code right now, as the architecture needs also better ffmpeg, presets system, caching, reusability, but is the end goal per roadmap One option is to host myself and make it available, I don't have good spare hardware (a R3 1300X and 1050 ti lol), or cloud host it, but for depthflow the computational costs are significant (hugginface spaces are an alternative, not sure if enough cpu there), and- -would need mechanisms to detect abuse, subscription status if it's paid, etc. not really my expertise in programming so, for now I'll keep focusing on the foundations, and if someone's up for making a wrapper on top of current stuff or a beta website I'm up to it! |
Beta Was this translation helpful? Give feedback.
-
I'm very close to a once and for all fix to this aspect ratio enforcing thing, it's much more stable now I'm reviewing the code and will test on Windows, in a few hours I'll have it commited (^ if things go right 😓) |
Beta Was this translation helpful? Give feedback.
-
New code is up wih a much better place to have the resolutions calculations! Now depthflow enforces an aspect ratio to the scene and any resize respects it, so It prioritizes width changes over height, and calculates the other missing component if it's not set, so for example:
All of those transfer to depthflow after the Need to git pull all shaderflow/depthflow/monorepo for the new changes as they interop, maybe a Let me know if it works, and any potential edge case I missed, but so far it's much better than previous solutions |
Beta Was this translation helpful? Give feedback.
-
I will try and let you know later. |
Beta Was this translation helpful? Give feedback.
-
Recently it is working fine.
same image again
2024-04-15_16-27-34.DepthFlow.mp4
Lookin fine from the last one but i think i still missing some settings.
i used this command
depthflow input --image (url | path) main --render -s 2
so i want to ask you that is it possible to make a opensource website just like "Depthy". That will be so much easier for everyone.
Beta Was this translation helpful? Give feedback.
All reactions