Microsoft recently released an open source AI alongside a paper explaining how it works. Currently, this is probably the best method for restoring damaged images out there, open-source or not. The AI also features great facial enhancement abilities.
"Bringing Old Photos Back To Life" by Microsoft:
https://arxiv.org/pdf/2004.09484.pdf