Artificial neural networks for image understanding