Answer by
gigo (1706)
This works a bit similar to face recognition software. Face recognition software finds points in faces that are relevant, e.g. the top of the nose, the mouth corners, ...
Now getting older means to get more lines between these points. This information you get by comparing many pairs of pictures.