PyYAML dill dlib-bin dominate easydict einops matplotlib opencv-python scikit-image scipy tensorboardX

# ComfyUI Old Photo Restoration
This is an Extension for ComfyUI, which allows you to perform Bringing-Old-Photos-Back-to-Life natively.
example workflow
(You can drag this image directly into ComfyUI)
Original Paper: https://arxiv.org/abs/2004.09484
Original Repo: https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life *(includes some example images)*
cd ~ComfyUI\custom_nodes\comfyui-old-photo-restoration
lib_bopb2l folder exists or notbackend.zip from Releaseslib_bopb2l folder into this Custom Nodeglobal_checkpoints.zip from Releasescheckpoints folder *(not just the files)* into ~ComfyUI/custom_nodes/comfyui-old-photo-restoration/lib_bopb2l/Globalface_checkpoints.zip from Releasescheckpoints folder *(not just the files)* into ~ComfyUI/custom_nodes/comfyui-old-photo-restoration/lib_bopb2l/Face_Enhancementshape_predictor_68_face_landmarks.zip from Releases.dat file into ~ComfyUI/custom_nodes/comfyui-old-photo-restoration/lib_bopb2l/Face_DetectionThe Releases page includes the original links, as well as the backups mirrored by myself
Another mirror: Google Drive
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.
-1 to use CPU if you do not have a Nvidia GPU or are getting Out of Memory Error