How to bring Painting to Life with AI
It is amazing what you can do with AI models these days with a gaming PC and NVIDIA card.
Goal
Wanted to take Raja Ravi Varma (The Milk Maid - 1904) painting and bring it to life with blink and smile.
Tools needed
Steps
Original Painting-> Stablediffusion ImgtoImg using ( depth2image, face restoration)-> output image is saved as key frame.
Record video clip of actor in similar pose (costume doesn't need to be perfect).-> Use shot-cut to export video as individual png frames-> save to folder
Make sure your keyframe is perfectly aligned with one of the photos exported from shot-cut (Image editors to rescue. This took me the longest as I didn't see this coming!).
Use EbSynth -> provide keyframe folder and folder from shot-cut export->synth -> Magic happens and you get this.
Reference
https://huggingface.co/stabilityai/stable-diffusion-2-depth
AI / ML in Derivatives & Finance
2 年Bala Lisa !