Google is big into machine learning, and one of the product areas that's benefiting from that is photography. You may recall Google said it would use math to fix lens flare on the Pixel, and now it's rolling out a photo scanning app that seems to do something similar. The new PhotoScan app will let you turn your old printed photos into digital ones with the power of computational photography. Plus, the editing tools in Photos are getting better. It's weird that PhotoScan isn't just part of Photos, but Google loves multiple apps.
PhotoScan uses your device's camera to scan physical photos, but it's not just snapping a single photo and processing it. PhotoScan has you move the phone around so it can see the photo from multiple angles. It's able to pick out "feature points" as anchors as it assembles the frames into a full photo. This also lets it mathematically remove the glare from reflected light on the photo. There's a video that explains the whole process in more detail below.