{"id":38549803,"url":"https://github.com/leonelhs/zeroscratches","last_synced_at":"2026-01-17T07:31:55.582Z","repository":{"id":173427044,"uuid":"649965235","full_name":"leonelhs/zeroscratches","owner":"leonelhs","description":"Old Photo Restoration","archived":false,"fork":false,"pushed_at":"2025-05-25T01:55:50.000Z","size":44,"stargazers_count":22,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-29T07:47:54.030Z","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/leonelhs.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,"zenodo":null}},"created_at":"2023-06-06T03:15:56.000Z","updated_at":"2025-08-21T14:12:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d34d4bf-62bf-43ed-802a-746ff1fc79f5","html_url":"https://github.com/leonelhs/zeroscratches","commit_stats":null,"previous_names":["leonelhs/zeroscratches"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leonelhs/zeroscratches","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonelhs%2Fzeroscratches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonelhs%2Fzeroscratches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonelhs%2Fzeroscratches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonelhs%2Fzeroscratches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leonelhs","download_url":"https://codeload.github.com/leonelhs/zeroscratches/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonelhs%2Fzeroscratches/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-17T07:31:54.967Z","updated_at":"2026-01-17T07:31:55.577Z","avatar_url":"https://github.com/leonelhs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zero Scratches\n## Old Photo Restoration\n\nThis is a lightweight implementation of [Microsoft Bringing Old Photos Back to Life](https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life)\n\n\n### Install\n```shell\npip install zeroscratches\n```\n### Basic usage\n```python\n\nimport PIL.Image\nfrom zeroscratches import EraseScratches\n\n\nimage_path = \"/path/to/image-scratched.jpg\"\neraser = EraseScratches()\n\nimage = PIL.Image.open(image_path)\nnew_img = eraser.erase(image)\n\nnew_img = PIL.Image.fromarray(new_img)\nnew_img.show()\n```\n\nGet the pretrained models at [Hugging Face Zero Scratches](https://huggingface.co/leonelhs/zeroscratches)\n\n## Some Apps using the library:\n\n### [Face Shine](https://github.com/leonelhs/face-shine) \nFace Shine Is a backend server for photo enhancement and restoration.\n\n### [Super Face](https://github.com/leonelhs/SuperFace/)\nSuper Face is a Python QT frontend for Face Shine server.\n\n\u003cimg src=\"https://drive.google.com/uc?export=view\u0026id=1D7hpjQSlUkzfTba-E5Ul4Rb1c8lYkFj5\"/\u003e\n\u003cimg src=\"https://drive.google.com/uc?export=view\u0026id=1oKpJe-Ff3SeEekhGVRP1Ap3eIFqt0c8u\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonelhs%2Fzeroscratches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleonelhs%2Fzeroscratches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonelhs%2Fzeroscratches/lists"}