컴퓨터 비전

GFPGAN

TencentARC/GFPGAN

Face restoration using generative facial priors, with optional background enhancement in an image-restoration workflow.

★ 37.7K별점
⑂ 6.3K포크 수
402미해결 이슈
Python언어
라이선스
Q90편집 점수

개요

GFPGAN reconstructs a clearer-looking face from degraded imagery using learned priors. This can invent details, so perceptual improvement and historical fidelity must be judged separately. Compare model variants for identity preservation and artifacts.

주요 기능

  • Facial priors
  • Model variants
  • Inference script
  • Face helpers
  • Optional background enhancement

요구 사항, 설치 및 빠른 시작

Follow the README for BasicSR, facexlib, requirements, and matching weights. Start with the clean implementation; add background dependencies only if needed.

사용 정보

Process copies, keep originals and face crops, and compare eyes, teeth, shape, and texture across degradation levels.

How it works
Faces are detected and aligned, restored using a generative prior, and placed back into the image. Real-ESRGAN can separately enhance the background.

Audience and requirements
Restoration developers and researchers. Python, PyTorch, dependencies, weights, optional GPU.

Practical use cases
Old-photo previews; restored archive copies; restoration research.

Limitations and selection
Generated details can alter identity and are not forensic evidence. Tiny or occluded faces may fail.

Related projects and selection
photoprism/photoprism:Complement: archive restored copies alongside originals.

gradio-app/gradio:Complement: upstream links a Gradio demo for trying restoration.

Source review
Editorial analysis of upstream sources, without runtime or benchmark testing. Proposed workflows are editorial suggestions.

모델 호환성 및 사용 사례

Match GFPGAN inference options to the weight version; background enhancement is a separate optional component.

라이선스 및 위험 참고 사항

The repository page identifies no standard SPDX license. Read LICENSE; model weights and datasets may have separate terms.

Editorial source review 2026-09-09T05:00:00.950Z. README and live repository page verified; current stars/forks from GitHub HTML. Last-push metadata retained from 2026-09-05 discovery snapshot. No runtime benchmark. Integration proposals are editorial analysis.

릴리스 및 유지 관리

Reviewed 2026-09-09. Counters come from repository pages; features are based on upstream documentation. See Releases in the source links. Editorial analysis of upstream sources, without runtime or benchmark testing. Proposed workflows are editorial suggestions.

opencv

opencv/opencv

★ 90.7KC++

tesseract

tesseract-ocr/tesseract

★ 76.3KC++

yolov5

ultralytics/yolov5

★ 58KPython

faceswap

deepfakes/faceswap

★ 57.5KPython