Introduction: In the field of industrial manufacturing, accurate inspection of mechanical components such as gears and bearings is of Paramount importance. However, the traditional mechanical testing methods are often disturbed by human factors, which not only affects the stability of the test results, but also leads to low efficiency and large error. In order to solve these problems, this research focuses on developing a new edge detection model.Methods: A novel edge detection model based on field-programmable gate array image processing technology was used in this study. The model uses adaptive threshold multi-directional edge detection technology to identify the edge features of mechanical gears and bearings, aiming at improving the precision of detection.Results and Discussion: After performance verification, the running time of the model was controlled within 11 s, and the detection error was limited to less than 9%. Compared with the control group and the experimental group, their performance was superior. Further analysis data show that the detection accuracy of this model is as high as 0.9004, its internal resource utilization rate is 88%, and the detection rate is as high as 91%, which are better than the comparison model.Conclusion: The proposed test model not only significantly improves the efficiency and accuracy of the test, but also fully meets the requirements of the test. This new edge detection model has potential application value in industrial manufacturing field, and provides a new solution for industrial manufacturing quality inspection.