{"id":16199708,"url":"https://github.com/zhiyiyo/specular-removal","last_synced_at":"2025-03-19T05:30:52.372Z","repository":{"id":112585360,"uuid":"386977816","full_name":"zhiyiYo/Specular-Removal","owner":"zhiyiYo","description":"Single image specular removal based on deep learning","archived":false,"fork":false,"pushed_at":"2021-07-23T15:39:15.000Z","size":3509,"stargazers_count":15,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T16:03:58.845Z","etag":null,"topics":["deep-learning","pytorch","specular-removal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhiyiYo.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":"2021-07-17T15:44:24.000Z","updated_at":"2025-01-15T03:17:08.000Z","dependencies_parsed_at":"2023-05-16T18:00:19.519Z","dependency_job_id":null,"html_url":"https://github.com/zhiyiYo/Specular-Removal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiyiYo%2FSpecular-Removal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiyiYo%2FSpecular-Removal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiyiYo%2FSpecular-Removal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiyiYo%2FSpecular-Removal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhiyiYo","download_url":"https://codeload.github.com/zhiyiYo/Specular-Removal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243971189,"owners_count":20376784,"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":["deep-learning","pytorch","specular-removal"],"created_at":"2024-10-10T09:27:23.231Z","updated_at":"2025-03-19T05:30:52.367Z","avatar_url":"https://github.com/zhiyiYo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Specular Removal\nSingle image specular removal based on deep learning.\n\n## Quick start\n1. Create virtual environment:\n\n    ```shell\n    conda create -n Specular_Removal python=3.8\n    conda activate Specular_Removal\n    pip install -r requirements.txt\n    ```\n\n2. Install `PyTorch`，refer to the [blog](https://blog.csdn.net/qq_23013309/article/details/103965619) for details；\n\n3. Test environment:\n\n    ```shell\n    conda activate Specular_Removal\n    python remove_specular.py\n    ```\n\n4. Download [dataset](https://github.com/fu123456/SHIQ) and unzip it to `./data` folder\n\n## Train model\n\n  ```shell\n  conda activate Specular_Removal\n  python train.py\n  ```\n\n## Examples\n![漏勺](resource/screenshot/漏勺.png)\n![橙子](resource/screenshot/橙子.png)\n![亚马逊包装袋](resource/screenshot/亚马逊包装袋.png)\n\n\n## References\n* [《A Multi-Task Network for Joint Specular Highlight Detection and Removal》](http://graphvision.whu.edu.cn/papers/fugang_CVPR2021.pdf)\n* [《CDFF-Net: Cumulative Dense Feature Fusion for Single Image Specular Highlight Removal》](https://shijianxu.github.io/highlight_removal.pdf)\n\n\n## License\n```txt\nMIT License\n\nCopyright (c) 2021 Huang Zhengzhi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhiyiyo%2Fspecular-removal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhiyiyo%2Fspecular-removal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhiyiyo%2Fspecular-removal/lists"}