γβ°γTable of Contents π
![](/mohakmalviya/DepthFlow/raw/7c4c26d127d5ede30b735e17259681dc870ca88a/DepthFlow/Resources/Images/DepthFlow.png)
π Out of the many Explorers, you can be among the Shining stars who support us! βοΈ
[DepthFlow]: Image to β 2.5D Parallax Effect Video. A Professional [Depthy] Alternative.
π Right click and loop me!
DepthFlow.2023.12.19.mp4
Note: Yes, the only input to DepthFlow was the Original Image
π© Click to see the Original Image
![Original Image](https://private-user-images.githubusercontent.com/29046864/291687153-1975fdc9-9517-4700-88dd-ed8175ab813f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMzY1MDEsIm5iZiI6MTczOTMzNjIwMSwicGF0aCI6Ii8yOTA0Njg2NC8yOTE2ODcxNTMtMTk3NWZkYzktOTUxNy00NzAwLTg4ZGQtZWQ4MTc1YWI4MTNmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA0NTY0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE2ZTM1NWM1MDk4M2U1NDAwODY5MGUzMDYxZjVhY2M3NmJmZDcxMTc4NTMzNTgyY2IzMzFhMWRmMDEzMTM1MzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4xVDADYbqOTvxi1X4tm1wDCrkhY31MxCw5SLL4RmiMQ)
Source: Wallhaven. All images remain property of their original owners. βοΈ
DepthFlow directly uses ShaderFlow. Check it out! π
π΄π‘π’Β For Extra installation Help, check out the Monorepo
π§ Linux and MacOS π: Open a Terminal in some Folder and run:
/bin/bash -c "$(curl -sS https://brakeit.github.io/get.sh)"π Windows: Open a PowerShell in some Folder and run:
irm https://brakeit.github.io/get.ps1 | iexNote: The commands above are the simplified version and assumes installed dependencies
After you are inside the Development Environment:
- Run the command:
broken depthflow
A real time window should pop up.
-
Run
broken depthflow parallax --help
for parallax options -
You can also drag and drop an Image File or URL From your Browser
- Run
broken depthflow --help
for options and rendering
broken depthflow (--render | -r)
broken depthflow -r -w 1280 -h 720 -f 30
broken depthflow -r -o ./video_name --format mkv
broken depthflow parallax --image (url | path) main --render -s 2
broken depthflow -r -t 2 --open
broken depthflow parallax -i (image) -d (depth) main
Note: A high SSAA -s 1.5
is recommended for antialiasing due the Steep Parallax
By default, Pytorch will be installed with CPU support
For Faster Depth Estimation, you can switch the PyTorch backend:
NVIDIA + CUDA:
- Have the NVIDIA Drivers installed
- Run the command:
broken depthflow poe cuda
AMD + ROCm:
- Run the command:
broken depthflow poe rocm
macOS:
- Run the command:
broken depthflow poe mac
CPU:
- Run the command:
broken depthflow poe cpu
Reverting to the default:
- Run the command:
broken depthflow poe default
See BrokenSource Repository for the License of the Code, Assets, Projects and User Generated Content.