Artificial Neural Network for Image classification