This script creates pointcloud from a single image applies different transformations to create animation controlled by camera movement.
WIP interface preview:
StablePointsShowcaseOpt1.mov
This program uses Stable Diffusion Inpainting model for filling gaps caused by rotation camera. Depthmap is estimated by MiDaS model or LeReS.
For pointcloud rendering using pure pytorch render.
-
Install dependencies
pip install -r requirements.txt
-
Download weights
TODO: add stable diffusion weights link TODO: add depth model weights link TODO: add FILM weights
-
Install repositories
- LeRes
- MiDaS
- FILM-pytorch
- Prepare init image
- Choose depthscale
- Rotate camera
- Select inpainting mask
- Set inpainting options
- Save Keyframe
- Repeat points 2-6
- Create animation with frame interpolation and optional upscaling
- PyTorch
- Stable Diffusion
- MiDaS, LeReS
- DearPyGUI
- OpenCV
- Automatic1111 API
- 3D camera movement
test_1.mov
- Img2Img with zoom example