Skip to content

PanoSynthVR: View Synthesis From A Single Input Panorama with Multi-Cylinder Images

License

Notifications You must be signed in to change notification settings

szollmann/PanoSynthVR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PanoSynthVR

PanoSynthVR: View Synthesis From A Single Input Panorama with Multi-Cylinder Images

Conda environment

To create and activate the conda environment:

conda env create
conda activate panosynthvr

Then run download_mpi.sh to get the MPI code and pre-trained weights.

Running the MCI creation

Run MCI generation only

  python generate_mci.py --input example.jpg --width 2048 --height 1024 --o outputfolder

Run MCI generation only and display output in website using WebXR

  python generate_mci.py --input example.jpg --width 2048 --height 1024 --o outputfolder --s 1

Run MCI generation on a video (folder of png images) and convert to a webm video

  python generate_mci.py --input inputfolder --width 2048 --height 1024 --o outputfolder --videoOutput True

    ffmpeg -y -r 60 -i %05d.png -c:v prores_ks -profile:v 4 -pix_fmt yuva444p10le tmp.mov

    ffmpeg -i tmp.mov -vf unpremultiply=inplace=1 -c:v libvpx-vp9 -b:v 0 -crf 31 myMPIVideoName.webm

The webm video can then be loaded into any capable MPI video renderer: for instance https://github.com/szollmann/PanoMPIVideo

About

PanoSynthVR: View Synthesis From A Single Input Panorama with Multi-Cylinder Images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.7%
  • Shell 5.3%