Skip to content

A tool made in python to convert normal image into special images which change their perspective as the user moves using face detection. It creates layers of an image using depth map generation and gap fill. Then face tracking for parallax effect.

Notifications You must be signed in to change notification settings

strikeraryu/Parallax_Image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo

Parallax_Image

A tool made in python to convert normal image into special images which change their perspective as the user moves using face detection.
You can check more about Parallax image and how it works on Medium

Required libraries

  1. python
  2. PILLOW
  3. numpy
  4. pygame
  5. opencv-python==4.1.0.25
  6. PyTorch
  7. torchvision

Download the model weights model-f6b98070.pt and model-small-70d6b9c8.pt and place thefile in the MiDaS/saved_model .

Usage

  • You can clone the repository

https://github.com/strikeraryu/Parallax_Image

  • Install all the required libraries and prerequisite (You can create your virtual own virtual env and install libraries in that)
  • Run the Revamp/main.py
  • You can either give path of the image in the main.py or or select the file in the browser that will appear if no path is given

Demo

Demo

More Links

Twitter
Linkedin
Instagram

About

A tool made in python to convert normal image into special images which change their perspective as the user moves using face detection. It creates layers of an image using depth map generation and gap fill. Then face tracking for parallax effect.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages