Edit model card

Zero Scratches

Old Photo Restoration

This is a lightweight implementation of Microsoft Bringing Old Photos Back to Life

Test the Hugging Face App

For developers

pip install zeroscatches

Basic usage


import PIL.Image
from zeroscratches import EraseScratches


image_path = "/path/to/image-scratched.jpg"
eraser = EraseScratches()

image = PIL.Image.open(image_path)
new_img = eraser.erase(image)

new_img = PIL.Image.fromarray(new_img)
new_img.show()

Get the pretrained models at Hugging Face Zero Scratches

Some Apps using the library:

Face Shine

Face Shine Is a backend server for photo enhancement and restoration.

Super Face

Super Face is a Python QT frontend for Face Shine server.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference API
Unable to determine this model's library. Check the docs .

Spaces using leonelhs/zeroscratches 4