AI Old Photo Restoration
Paste the following prompt into your AI chat to install this skill:
Please install @user_b92bbb94/old-photo-restoration according to https://skillhub.cn/install/skillhub.md.
About this skill
What It Solves
Old photos often have fading, yellowing, scratches, tears, noise, and weak facial detail. Manual retouching requires separating damage from original character, while simple filters can over-smooth faces or make the image look artificial. This skill turns a common restoration workflow into a scriptable process: analyze the photo, choose color, face, and damage repair strategies, then export comparable versions.
How It Works
The core entry point is scripts/restore_photo.py, which loads an image and applies restoration options. Key steps:
- Photo analysis: detect fading, color casts, scratches, blur, missing areas, and face locations; decide whether colorization or face enhancement is needed.
- Repair strategy: use histogram equalization, white balance, and color correction for tone issues; use OpenCV for face detection and models such as CodeFormer or GFPGAN for facial enhancement; use inpainting and denoising for small scratches and noise.
- Output control: options include --enhance-faces, --color-correct, --colorize, --remove-scratches, and --intensity, with PNG or high-quality JPEG output and before/after versions for review.
Limits To Note
It fits mild-to-moderate damage, especially frontal faces, fading, scratches, and black-and-white colorization. Large tears, large missing areas, or very low-resolution images still need manual editing. Colorization accuracy depends on model training and may not match historical reality, so use conservative intensity settings and keep the original file.
Use Cases
- Digitizing family archives, correct yellowing and lightly repair scratches on old photos.
- Preparing black-and-white commemorative photos for AI colorization while keeping skin natural.
- Cleaning damaged vintage photos by reducing noise before repairing small scratches.
- Balancing lighting and color across a group photo while enhancing all detected faces.
Best For
- Family photo archivists who need batch color correction and light scratch repair on faded photos.
- Community archive volunteers who need cautious colorization and face enhancement for black-and-white portraits.
- Independent retouching freelancers who need before/after versions and controllable enhancement intensity.
- Python image-processing creators who need OpenCV and face restoration models in a photo restoration workflow.
Related Skills
Convert Chinese or natural-language requests into paste-ready English image prompts for ChatGPT's web UI, covering generation, editing, multi-image references, and exact text without performing image generation.
A creative AI image workflow for style transfer, reference-based creation, scene replacement, series expansion, material conversion, era shifts, composition rework, lineart conversion, and cartoonization.
Translates star-inspired football memories and fan resonance into compliant original IP poster concepts while avoiding real names, likenesses, official badges, and event logos.
Extracts real web page colors, typography, components, layouts, and interaction styles with a Playwright script to produce a verifiable design guideline.