CodeFormer enables the upscaling and restoration of natural faces that closely approximate the target faces even when the inputs are severely degraded.