Neural networks in photography