This document presents a system for detecting cracks and holes in metal pieces using image processing. The system uses a Raspberry Pi along with sensors like infrared and proximity sensors. Images of metal pieces on a production line are analyzed using computer vision algorithms like Canny edge detection to identify cracks. Detected cracks are used to separate defective from non-defective metal pieces. Data on quality inspection is sent from the Raspberry Pi to the cloud for remote access. The system aims to automate quality inspection to reduce manual labor needs and increase production efficiency compared to human-based inspection.