Giter VIP home page Giter VIP logo

skyar_paddle_gui's Introduction

SkyAR_Paddle_GUI

Examples

  • raw video:

    canyon

  • jupiter:

    jupiter

  • rainy:

    rainy

  • galaxy:

    galaxy

  • district9ship:

    district9ship

  • raw video:

    annarbor

  • floatingcastle:

    floatingcastle

  • thunderstorm:

    thunderstorm

  • supermoon:

    supermoon

License

Creative Commons License SkyAR by Zhengxia Zou is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

GUI

  • This implementation has a simple GUI. You can easy to use this program.

    GUI

GUI Executable Version

  • GUI Executable file has been release:link

  • It made by Pyinstaller, and only support the cpu with avx instruction set.

Quick Start

  • clone or download the code

  • download the pretrained model:link

  • unpack the pretrained model into ./SkyAR

  -SkyAR  
    -ResNet50FCN  
      -__model__  
      -__params__  
  • run main.py
$ python main.py -v [video_path] -s [save_path]
  • or run GUI version
$ python GUI.py

Configs

optional arguments:
  -h, --help  show this help message and exit

  -m MODEL_PATH, --model_path MODEL_PATH
  -v VIDEO_PATH, --video_path VIDEO_PATH
  -s SAVE_PATH,  --save_path  SAVE_PATH
  -p PREVIEW_FRAMES_NUM, --preview_frames_num PREVIEW_FRAMES_NUM

  -c CONFIG, --config CONFIG
  All Choices:[
    'rainy', 'sunny', 'cloudy', 'galaxy', 'jupiter', 'sunset', 
    'supermoon', 'district9ship', 'floatingcastle', 'thunderstorm'
  ]

  Set custom skybox
  Please set --config to None if use custom skybox:
  --skybox_img SKYBOX_IMG
  --skybox_video SKYBOX_VIDEO
  --rain_cap_path RAIN_CAP_PATH

  --is_show              to visual result 
  --is_rainy             is rainy
  --is_video_sky         is video skybox

  More configs to tune the result:
  --disable_halo_effect  disable halo effect
  --auto_light_matching  is auto light matching
  --relighting_factor    RELIGHTING_FACTOR
  --recoloring_factor    RECOLORING_FACTOR
  --skybox_center_crop   SKYBOX_CENTER_CROP

Citation

@inproceedings{zou2020skyar,
    title={Castle in the Sky: Dynamic Sky Replacement and Harmonization in Videos},
    author={Zhengxia Zou},
    year={2020},
    journal={arXiv preprint arXiv:2010.11800},
}

skyar_paddle_gui's People

Contributors

jm12138 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.