In this project, using machine learning and Saiwa Anomaly Detection service, we detect and localize the location of micro and macro defects on a casting line, including: crack, frost, frost patch, longitude frost and mold oscillation. We have successfully implemented Aluminum Surface Defect Detection solution for CastTechnology in Canada. This solution is delivered via a simple user interface where users can run the defect detection APIs.