Purpose This study aims to streamline and enhance the assembly defect inspection process in diesel engine production. Traditional manual inspection methods are labor-intensive and time-consuming because of the complex structures of the engines and the noisy workshop environment. This study’s robotic system aims to alleviate these challenges by automating the inspection process and enabling easy remote inspection, thereby freeing workers from heavy fieldwork. Design/methodology/approach This study’s system uses a robotic arm to traverse and capture images of key components of the engine. This study uses anomaly detection algorithms to automatically identify defects in the captured images. Additionally, this system is enhanced by digital twin technology, which provides inspectors with various tools to designate components of interest in the engine and assist in defect checking and annotation. This integration facilitates smooth transitions from manual to automatic inspection within a short period. Findings Through evaluations and user studies conducted over a relatively long period, the authors found that the system accelerates and improves the accuracy of engine inspections. The results indicate that the system significantly enhances the efficiency of production processes for manufacturers. Originality/value The system represents a novel approach to engine inspection, leveraging robotic technology and digital twin enhancements to address the limitations of traditional manual inspection methods. By automating and enhancing the inspection process, the system offers manufacturers the opportunity to improve production efficiency and ensure the quality of diesel engines.