{"id":17766478,"url":"https://github.com/pythonnut/photo-deblur","last_synced_at":"2025-07-12T20:13:17.612Z","repository":{"id":76717614,"uuid":"129638426","full_name":"PythonNut/photo-deblur","owner":"PythonNut","description":"Experiments in unblurring photographs ","archived":false,"fork":false,"pushed_at":"2018-04-18T23:27:05.000Z","size":24534,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T00:59:51.443Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/PythonNut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-04-15T18:24:35.000Z","updated_at":"2021-07-25T10:41:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"f61843b9-4312-4f3a-90a6-4badc3d0ecbe","html_url":"https://github.com/PythonNut/photo-deblur","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PythonNut/photo-deblur","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonNut%2Fphoto-deblur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonNut%2Fphoto-deblur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonNut%2Fphoto-deblur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonNut%2Fphoto-deblur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PythonNut","download_url":"https://codeload.github.com/PythonNut/photo-deblur/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonNut%2Fphoto-deblur/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265047848,"owners_count":23703218,"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":[],"created_at":"2024-10-26T20:30:28.097Z","updated_at":"2025-07-12T20:13:17.601Z","avatar_url":"https://github.com/PythonNut.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Photo deblur\n\nExperiments in correcting the focus of photographs.\n\nDone as part of Spring 2018 Camera Lab at Harvey Mudd College.\n\n## Dependencies\n\n* [Python 3](https://www.python.org/)\n* [Tcl/Tk](http://tcl.sourceforge.net/)\n* [Hugin](http://hugin.sourceforge.net/)\n* [LLVM](https://llvm.org/)\n\n### Setup on macOS\n\nInstall command-line tools:\n\n    $ xcode-select --install\n\nInstall [Homebrew](https://brew.sh/):\n\n    $ /usr/bin/ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"\n\nInstall Python:\n\n    $ brew install python\n\nInstall Python dependencies in a virtual environment:\n\n    $ python -m venv ~/.virtualenvs/photo-deblur\n    $ source ~/.virtualenvs/photo-deblur/bin/activate\n    $ pip install -r requirements.txt\n\nInstall Hugin:\n\n    $ brew cask install hugin\n    $ ln -s /Applications/Hugin/Hugin.app/Contents/MacOS/align_image_stack /usr/local/bin/\n\nInstall up-to-date LLVM:\n\n    $ brew install llvm\n\nBuild Richardson-Lucy module:\n\n    $ cd Image-Cases-Studies \u0026\u0026 python setup.py build_ext --inplace\n\n### Setup on Arch Linux\n\nInstall Python:\n\n    $ sudo pacman -Sy python\n\nInstall Python dependencies in a virtual environment:\n\n    $ python -m venv ~/.virtualenvs/photo-deblur\n    $ source ~/.virtualenvs/photo-deblur/bin/activate\n    $ pip install -r requirements.txt\n\nInstall Tcl/Tk:\n\n    $ sudo pacman -Sy tk\n\nInstall Hugin:\n\n    $ sudo pacman -Sy hugin\n\nBuild Richardson-Lucy module:\n\n    $ cd Image-Cases-Studies \u0026\u0026 python setup.py build_ext --inplace\n\n## Usage\n\nRun all the experiments:\n\n    $ make\n\n(Refer to `Makefile` for more advanced usage.)\n\n## Further reading\n\n* http://yuzhikov.com/articles/BlurredImagesRestoration1.htm\n* http://yuzhikov.com/articles/BlurredImagesRestoration2.htm\n* http://aishack.in/tutorials/image-convolution-examples/\n* http://www.naturefocused.com/articles/photography-image-processing-kernel.html\n* http://setosa.io/ev/image-kernels/\n* http://www.robots.ox.ac.uk/~az/lectures/ia/lect2.pdf\n* https://github.com/aurelienpierre/Image-Cases-Studies\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonnut%2Fphoto-deblur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythonnut%2Fphoto-deblur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonnut%2Fphoto-deblur/lists"}