{"id":18186445,"url":"https://github.com/adamlaszlo91/winterveil","last_synced_at":"2026-05-07T14:42:21.750Z","repository":{"id":260688828,"uuid":"882022797","full_name":"adamlaszlo91/winterveil","owner":"adamlaszlo91","description":"Add winter effect to images","archived":false,"fork":false,"pushed_at":"2024-12-24T13:14:13.000Z","size":6728,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T15:54:08.093Z","etag":null,"topics":["image-manipulation","midas","opencv","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamlaszlo91.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-01T18:04:40.000Z","updated_at":"2024-11-04T12:17:46.000Z","dependencies_parsed_at":"2024-11-01T21:23:42.624Z","dependency_job_id":"9a1f24d9-654c-449a-8c0f-d0a79f1b0615","html_url":"https://github.com/adamlaszlo91/winterveil","commit_stats":null,"previous_names":["adamlaszlo91/winterveil"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamlaszlo91%2Fwinterveil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamlaszlo91%2Fwinterveil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamlaszlo91%2Fwinterveil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamlaszlo91%2Fwinterveil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamlaszlo91","download_url":"https://codeload.github.com/adamlaszlo91/winterveil/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657268,"owners_count":20974346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["image-manipulation","midas","opencv","python"],"created_at":"2024-11-03T00:02:52.255Z","updated_at":"2025-10-26T19:03:25.097Z","avatar_url":"https://github.com/adamlaszlo91.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# winterveil\nAdd winter effect to images\n\n## Features\n- Add fog\n- Add showfall\n- Add fallen snow\n\n## Example\n\n\n| Input                            | Fog                                | Snow                               | Fallen snow                         |\n| -------------------------------- | ---------------------------------- | ---------------------------------- | ----------------------------------- |\n| ![output_f](examples/makise.jpg) | ![output_f](examples/output_f.png) | ![output_f](examples/output_s.png) | ![output_f](examples/output_fs.png) |\n\n| Fog + Snow                           | Fog + Fallen snow                     | Fallen snow + Snow                    | Fog + Snow + Fallen snow                |\n| ------------------------------------ | ------------------------------------- | ------------------------------------- | --------------------------------------- |\n| ![output_f](examples/output_f_s.png) | ![output_f](examples/output_f_fs.png) | ![output_f](examples/output_s_fs.png) | ![output_f](examples/output_f_s_fs.png) |\n\n\n## Usage\n### Install dependencies\n```\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\n```\n\n### Winterize image\n```\npython3 main.py path_to_image\n```\n\n## Options\n```\nusage: WinterVeil [-h] -i IMAGE [-f] [-s] [-ss SNOWFLAKE_SIZE] [-sc SNOWFLAKE_COUNT] [-fs]\n\noptions:\n  -h, --help            show this help message and exit\n  -i IMAGE, --image IMAGE\n                        input image path\n  -f, --fog             add fog to the image\n  -s, --snow            add snow to the image\n  -ss SNOWFLAKE_SIZE, --snowflake-size SNOWFLAKE_SIZE\n                        size of snowflakes in pixel\n  -sc SNOWFLAKE_COUNT, --snowflake-count SNOWFLAKE_COUNT\n                        number of snowflakes on image (visibility depends on depth map!)\n  -fs, --fallen-snow    add fallen snow to the image\n```\n\n## Acknowledgments\n\nThis project uses the [MiDaS depth estimation model]([link-to-model-repository-or-paper](https://arxiv.org/abs/1907.01341)) by René Ranftl, Katrin Lasinger, David Hafner, Konrad Schindler, and Vladlen Koltun, which is licensed under the MIT License. If you use this project, please also cite their original work:\n\n```bibtex\n@article{Ranftl2020,\n\tauthor    = {Ren\\'{e} Ranftl and Katrin Lasinger and David Hafner and Konrad Schindler and Vladlen Koltun},\n\ttitle     = {Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfer},\n\tjournal   = {IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI)},\n\tyear      = {2020},\n}\n```\n\n```bibtex\n@article{Ranftl2021,\n\tauthor    = {Ren\\'{e} Ranftl and Alexey Bochkovskiy and Vladlen Koltun},\n\ttitle     = {Vision Transformers for Dense Prediction},\n\tjournal   = {ArXiv preprint},\n\tyear      = {2021},\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamlaszlo91%2Fwinterveil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamlaszlo91%2Fwinterveil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamlaszlo91%2Fwinterveil/lists"}