The development of artificial intelligence (AI) technology and the Internet of Things (IoT) platform in recent years has allowed image detection systems to efficiently and gradually process data. The following study will be done in this paper to examine the image detection of AI based on mechatronics IoT technology. It is necessary to first describe the substance of mechatronics, the IoT, and other technologies, incorporate them into the IoT, and then examine and discuss the IoT's application potential. The second stage explains the fundamental ideas and various digital image detection algorithms that are really used in processing, and on the basis of these ideas, it suggests a number of automatic recognition processing approaches. In the third stage, different photos are classified using the Support Vector Machine (SVM) classifier based on AI and neural network technology, and the feature vectors of the target area are obtained through analysis and calculation. These are the conclusions: (1) The fusion of mechatronics and IoT technology has helped the AI industry innovate and grow to some level, which is helpful for fulfilling the fundamental criteria of an environment for intelligent picture recognition and detection. ( 2) An intelligent simulation model for image detection with recognition accuracy of over 95% and features of high speed, high precision, and high automation has raised the bar for detection and intelligent machine vision technology in China. (3) When SVM and neural networks are tested, the absolute error of the classification target value is very low, allowing them to meet the requirements for detection accuracy following error processing and a recognition rate of 90%.