Certainly, here are the formulas for calculating accuracy (\(A_r\)), leak rate (\(L_r\)), and mistake rate (\(M_r\)).1
References
1Guo J, Yang Y, Xiong X, Yang Y, Shao M. Brake disc positioning and defect detection method based on improved Canny operator. IET Image Processing. 2024;18(5):1283-1295. doi:10.1049/ipr2.13026