Mineral grains recognition using computer vision and machine learning | Synapse