Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
jm12138 18018470be | 3 years ago | |
---|---|---|
SkyAR | 3 years ago | |
test_videos | 3 years ago | |
.gitignore | 3 years ago | |
GUI.py | 3 years ago | |
GUI_CN.py | 3 years ago | |
README.md | 3 years ago | |
favicon.ico | 3 years ago | |
main.py | 3 years ago |
raw video:
jupiter:
rainy:
galaxy:
district9ship:
raw video:
floatingcastle:
thunderstorm:
supermoon:
SkyAR by Zhengxia Zou is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
GUI Executable file has been release:link
It made by Pyinstaller, and only support the cpu with avx instruction set.
clone or download the code
download the pretrained model:link
unpack the pretrained model into ./SkyAR
-SkyAR
-ResNet50FCN
-__model__
-__params__
$ python main.py -v [video_path] -s [save_path]
$ python GUI.py
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
@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},
}
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》