@ARTICLE{Lv_Xiao_Visual_2023, author={Lv, Xiao and Yi, Huaian and Fang, Runji and Ai, Shuhua and Lu, Enhui}, volume={vol. 30}, number={No 3}, journal={Metrology and Measurement Systems}, pages={531-548}, howpublished={online}, year={2023}, publisher={Polish Academy of Sciences Committee on Metrology and Scientific Instrumentation}, abstract={Workpiece surface roughness measurement based on traditional machine vision technology faces numerous problems such as complex index design, poor robustness of the lighting environment, and slow detection speed, which make it unsuitable for industrial production. To address these problems, this paper proposes an improved YOLOv5 method for milling surface roughness detection. This method can automatically extract image features and possesses higher robustness in lighting environments and faster detection speed. We have effectively improved the detection accuracy of the model for workpieces located at different positions by introducing Coordinate Attention (CA). The experimental results demonstrate that this study’s improved model achieves accurate surface roughness detection for moving workpieces in an environment with light intensity ranging from 592 to 1060 lux. The average precision of the model on the test set reaches 97.3%, and the detection speed reaches 36 frames per second.}, type={Article}, title={Visual detection of milling surface roughness based on improved YOLOV5}, URL={http://journals.pan.pl/Content/129013/PDF-MASTER/art10_int_LR.pdf}, doi={10.24425/mms.2023.146425}, keywords={Surface roughness, improved Yolov5, detection speed, attentional mechanisms}, }