Example of image classification with machine learning in Python.
To use it is very simple, just enter the folder where the script is and enter the following command:
$ python3 main.py
See this post on my blog accessing https://rafaellaurindo.com.br/classificando-imagens-com-python.