The proposed model in this paper uses an improved architecture of YOLOv7-Tiny. The deployment of the defect detection model on a Raspberry Pi allows for real-time detection and remote monitoring of welding defects. This technology can be particularly useful in hazardous and remote locations where manual inspection is difficult or impossible. The implementation of this model can lead to significant cost savings, improved safety, and increased productivity for industrial operations.