Analysis of images and photos