The main objective of the study is to create a system that will detect the type of chemical present in the bodies of water, specifically wastes containing cyanide, Sulfuric acid, Nitric acid, and waste containing lead, and that will measure its concentration using a color sensor. The specific objectives are (a) to design a system that will measure the concentration and type of chemical present in the water; (b) to apply imaging process done by the color sensor to determine the chemical present and its concentration; and (c) to validate the accuracy of the results using statistical analysis (t-test).