system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How does upscaling work?

How does it compensate for lack of pixels?
gpt
If you're doubling the number of pixels, for example, you take the adjacent pixels and take a guess at what the one in the middle will look like. You can't necessarily take a simple average, because that might look wrong on edges and stuff, so IIRC there's edge-detection and stuff which copes with that.