Skip to main content
Multimodal, Image & VideoLightweight

Real-ESRGAN

xinntao / Real-ESRGAN

Real-world image and video super-resolution and restoration: blind upscaling, denoising and compression-artifact removal, with a Python API and a lightweight ncnn binary.

37.6k stars 4549 forks Python Language BSD-3-Clause License Last push 2024-08-06

Why choose it

  • Handles real degradation, not only clean bicubic downscaling.
  • Works on images and video.
  • The ncnn binary runs without a full Python stack.

Not for

You need creative generation rather than restoration.
You need real-time 4K video on a CPU.

Minimum setup

  1. Run one degraded image through the general model.
  2. Compare the ncnn and Python paths at the same scale.
  3. Check face enhancement separately; it can change identity.

Dependencies and cost

Check runtime, model weights and external service dependencies in the README.

License and usage boundaries

Code is BSD-3-Clause; model weights, training data and generated content may have separate terms — check each before commercial use.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • Diffusers — Production,A Python library for diffusion models: pipelines, schedulers, training and quantisation, built for code rather than a UI.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.