https://towardsdatascience.com/how-to-create-a-concise-image-representation-using-machine-learning-20156c1e0c19