creating of images and classifying them