The document describes a machine learning project to classify contaminated drinking water samples using images taken with a Raspberry Pi embedded system. A KNNMPCAF3 algorithm is used to extract features from the images and classify them using k-nearest neighbors. The system is integrated with a Blynk IoT app to allow remote monitoring and control via a mobile phone. Accuracy of over 76% was achieved in classifying four levels of contamination. The overall aim is to create a low-cost solution to help monitor water quality.