Nodes Browser
ComfyDeploy: How ComfyUI Old Photo Restoration works in ComfyUI?
What is ComfyUI Old Photo Restoration?
Perform Bringing-Old-Photos-Back-to-Life
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI Old Photo Restoration
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI Old Photo Restoration
This is an Extension for ComfyUI, which allows you to perform Bringing-Old-Photos-Back-to-Life natively.
<p align="center"> <img src="workflow.png"><br> <code>example workflow</code><br> <i>(You can drag this image directly into ComfyUI)</i> </p>Original Paper: https://arxiv.org/abs/2004.09484
Original Repo: https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life (includes some example images)
Requirements
- Install the packages in
requirement.txt
- Download
global_checkpoints.zip
from Releases - Extract and put the
checkpoints
folder (not just the files) into~ComfyUI/custom_nodes/comfyui-old-photo-restoration/lib_bopb2l/Global
- Download
face_checkpoints.zip
from Releases - Extract and put the
checkpoints
folder (not just the files) into~ComfyUI/custom_nodes/comfyui-old-photo-restoration/lib_bopb2l/Face_Enhancement
- Download
shape_predictor_68_face_landmarks.zip
from Releases - Extract the
.dat
file into~ComfyUI/custom_nodes/comfyui-old-photo-restoration/lib_bopb2l/Face_Detection
The Releases page includes the original links, as well as the backups mirrored by myself
Another mirror: Google Drive
How to Use
Simply connect an image
to the Global Restoration
node to process; if the image
contains scratch artifacts, use the Global Restoration with Scratch Processing
node instead.
To improve the faces, connect the image
to the Face Detection
node then the Face Enhancement
node, then connect the enhanced output and the image
both to the Face Align
node in the end to merge the results.
Settings
- HR: Use some higher parameters during the processings
- GPU_ID: Specify the GPU to use
- Set it to
-1
to use CPU if you do not have a Nvidia GPU or are getting Out of Memory Error
- Set it to