More about how the algorithm works here: https://www.linkedin.com/pulse/hp-mosaic-20-steven-chow
Okay, that's a little disappointing—I was hoping for some sort of image generation, rather than just cropping. But the output still looks good, so I'm not going complain too loudly.