{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,10]],"date-time":"2026-11-10T16:48:12Z","timestamp":1794329292178,"version":"4.9.0"},"reference-count":40,"publisher":"Springer Science and Business Media LLC","issue":"6","license":[{"start":{"date-parts":[[2026,8,20]],"date-time":"2026-08-20T00:00:00Z","timestamp":1787184000000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2026,8,20]],"date-time":"2026-08-20T00:00:00Z","timestamp":1787184000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"name":"National Yang Ming Chiao Tung University","id":[{"id":"https:\/\/ror.org\/00se2k293","id-type":"ROR","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Machine Vision and Applications"],"published-print":{"date-parts":[[2026,11]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Connectors are used in electronic and industrial systems to establish electrical connections between components, and terminal surfaces play an important role in ensuring reliable current transmission. Accurate defect detection on connector terminals is therefore important for maintaining product quality. However, detecting small, irregular, and scale-varying defects remains challenging in automated optical inspection (AOI), particularly when defects appear on reflective metallic surfaces and occupy only a limited number of pixels. To address this challenge, this work presents YOLO-HCS, an application-specific YOLOv7-based defect detection framework for connector-terminal AOI. The framework integrates hierarchical positive sample selection (HPSS) to improve positive sample assignment for small and scale-varying defects, coordinate attention (CA) to enhance spatial localization of small targets, and SIoU loss to refine bounding-box regression through geometric constraints. Experimental results on two real-world AOI datasets show that YOLO-HCS achieves 85.3% and 92.2% mAP@0.5 on Dataset 1 and Dataset 2, respectively, outperforming YOLOv7 by 8.9 and 4.7% points. Under the stricter mAP@0.5:0.95 metric, YOLO-HCS achieves 41.9% and 54.4% on the two datasets, respectively, indicating improved localization performance under more demanding IoU thresholds. In terms of computational efficiency, YOLO-HCS requires 37.1\u00a0M parameters and 106.9 GFLOPs and maintains approximately 26\u201327 FPS under the 1280\u2009\u00d7\u20091280 input setting. These results indicate that the proposed framework improves small-defect detection and localization while introducing only marginal computational overhead compared with YOLOv7. While the reported inference efficiency suggests potential compatibility with real-time AOI inspection under the studied setting, this work does not include long-term production-line deployment or operational cost analysis. Therefore, claims regarding deployment reliability, manual inspection reduction, and cost benefits should be interpreted as potential implications requiring further empirical validation.<\/jats:p>","DOI":"10.1007\/s00138-026-01906-w","type":"journal-article","created":{"date-parts":[[2026,8,20]],"date-time":"2026-08-20T02:52:24Z","timestamp":1787194344000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["YOLO-HCS: a YOLO-based framework for small defect detection in industrial automated optical inspection"],"prefix":"10.1007","volume":"37","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-9073-593X","authenticated-orcid":false,"given":"Chun-Cheng","family":"Lin","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hsiang-En","family":"Weng","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Shin-Hang","family":"Lu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Heng-Yih","family":"Liu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2026,8,20]]},"reference":[{"issue":"1","key":"1906_CR1","first-page":"6508289","volume":"2022","author":"K Jongwuttanaruk","year":"2022","unstructured":"Jongwuttanaruk, K., Thavornwat, C.: Optimization of mechanical crimping in the terminal crimping process using a response surface methodology. Adv. Mater. Sci. Eng. 2022(1), 6508289 (2022)","journal-title":"Adv. Mater. Sci. Eng."},{"key":"1906_CR2","doi-asserted-by":"publisher","first-page":"103911","DOI":"10.1016\/j.compind.2023.103911","volume":"148","author":"SB Jha","year":"2023","unstructured":"Jha, S.B., Babiceanu, R.F.: Deep CNN-based visual defect detection: survey of current literature. Comput. Ind. 148, 103911 (2023)","journal-title":"Comput. Ind."},{"key":"1906_CR3","doi-asserted-by":"publisher","first-page":"39","DOI":"10.1007\/s00138-024-01636-x","volume":"36","author":"V Wahyudi","year":"2025","unstructured":"Wahyudi, V., Ziegler, C.C., Frie\u00df, M., et al.: A computer vision system for recognition and defect detection for reusable containers. Mach. Vis. Appl. 36, 39 (2025)","journal-title":"Mach. Vis. Appl."},{"key":"1906_CR4","doi-asserted-by":"publisher","first-page":"107924","DOI":"10.1016\/j.optlaseng.2023.107924","volume":"173","author":"M Chen","year":"2024","unstructured":"Chen, M., Chen, J., Li, C., Wang, Q., Takamasu, K.: Defect detection of MicroLED with low distinction based on deep learning. Opt. Lasers Eng. 173, 107924 (2024)","journal-title":"Opt. Lasers Eng."},{"issue":"2","key":"1906_CR5","doi-asserted-by":"publisher","first-page":"31","DOI":"10.1007\/s00138-024-01511-9","volume":"35","author":"J Zhang","year":"2024","unstructured":"Zhang, J., Suganuma, M., Okatani, T.: That\u2019s bad: blind anomaly detection by implicit local feature clustering. Mach. Vis. Appl. 35(2), 31 (2024)","journal-title":"Mach. Vis. Appl."},{"key":"1906_CR6","doi-asserted-by":"crossref","unstructured":"Girshick, R., Donahue, J., Darrell, T., Malik, J.: Rich feature hierarchies for accurate object detection and semantic segmentation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. pp. 580\u2013587 (2014)","DOI":"10.1109\/CVPR.2014.81"},{"key":"1906_CR7","unstructured":"Ren, S., He, K., Girshick, R., Sun, J.: Faster R-CNN: towards real-time object detection with region proposal networks. In: Proceedings of Conference on Neural Information Processing Systems (NIPS 2015). pp. 91\u201399 (2015)"},{"key":"1906_CR8","doi-asserted-by":"crossref","unstructured":"Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.Y., Berg, A.C.: SSD: single shot multibox detector. In: Proceedings of the European Conference on Computer Vision 2016, vol. 9905 of LNCS, 2016, pp. 21\u201337 (2016)","DOI":"10.1007\/978-3-319-46448-0_2"},{"key":"1906_CR9","doi-asserted-by":"crossref","unstructured":"Redmon, J., Divvala, S., Girshick, R., Farhadi, A.: You only look once: unified, real-time object detection. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition 2016, pp. 779\u2013788 (2016)","DOI":"10.1109\/CVPR.2016.91"},{"key":"1906_CR10","doi-asserted-by":"publisher","first-page":"112776","DOI":"10.1016\/j.measurement.2023.112776","volume":"214","author":"C Zhao","year":"2023","unstructured":"Zhao, C., Shu, X., Yan, X., Zuo, X., Zhu, F.: RDD-YOLO: a modified YOLO for detection of steel surface defects. Measurement. 214, 112776 (2023)","journal-title":"Measurement"},{"issue":"7","key":"1906_CR11","doi-asserted-by":"publisher","first-page":"7430","DOI":"10.1109\/JSEN.2023.3247006","volume":"23","author":"M Liu","year":"2023","unstructured":"Liu, M., Chen, Y., Xie, J., He, L., Zhang, Y.: LF-YOLO: a lighter and faster YOLO for weld defect detection of x-ray image. IEEE Sens. J. 23(7), 7430\u20137439 (2023)","journal-title":"IEEE Sens. J."},{"key":"1906_CR12","doi-asserted-by":"publisher","first-page":"373","DOI":"10.1016\/j.jmapro.2023.05.058","volume":"99","author":"L Xu","year":"2023","unstructured":"Xu, L., Dong, S., Wei, H., Ren, Q., Huang, J., Liu, J.: Defect signal intelligent recognition of weld radiographs based on YOLO V5-IMPROVEMENT. J. Manuf. Process. 99, 373\u2013381 (2023)","journal-title":"J. Manuf. Process."},{"issue":"6","key":"1906_CR13","doi-asserted-by":"publisher","first-page":"9243","DOI":"10.1007\/s11042-022-13644-y","volume":"82","author":"T Diwan","year":"2023","unstructured":"Diwan, T., Anirudh, G., Tembhurne, J.V.: Object detection using YOLO: challenges, architectural successors, datasets and applications. Multimed Tools Appl. 82(6), 9243\u20139275 (2023)","journal-title":"Multimedia Tools Appl."},{"key":"1906_CR14","doi-asserted-by":"crossref","unstructured":"Lin, T.Y., et al.: Microsoft COCO: common objects in context. In: Proceedings of the European conference on computer vision 2014, vol. 8693 of LNCS, 2014, pp. 740\u2013755 (2014)","DOI":"10.1007\/978-3-319-10602-1_48"},{"key":"1906_CR15","doi-asserted-by":"publisher","first-page":"103910","DOI":"10.1016\/j.imavis.2020.103910","volume":"97","author":"K Tong","year":"2020","unstructured":"Tong, K., Wu, Y., Zhou, F.: Recent advances in small object detection based on deep learning: a review. Image Vis. Comput. 97, 103910 (2020)","journal-title":"Image Vis. Comput."},{"key":"1906_CR16","first-page":"2508314","volume":"71","author":"Z Li","year":"2022","unstructured":"Li, Z., et al.: Toward efficient safety helmet detection based on YoloV5 with hierarchical positive sample selection and box density filtering. IEEE Trans. Instrum. Meas. 71, 2508314 (2022)","journal-title":"IEEE Trans. Instrum. Meas."},{"key":"1906_CR17","doi-asserted-by":"crossref","unstructured":"Lin, T.Y., Goyal, P., Girshick, R., He, K., Doll\u00e1r, P.: Focal loss for dense object detection. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 2980\u20132988 (2017)","DOI":"10.1109\/ICCV.2017.324"},{"key":"1906_CR18","doi-asserted-by":"crossref","unstructured":"Duan, K., Bai, S., Xie, L., Qi, H., Huang, Q., Tian, Q.: Centernet: keypoint triplets for object detection. In: Proceedings of the IEEE\/CVF International Conference on Computer Vision, pp. 6569\u20136578 (2019)","DOI":"10.1109\/ICCV.2019.00667"},{"key":"1906_CR19","doi-asserted-by":"crossref","unstructured":"Redmon, J., Farhadi, A.: YOLO9000: better, faster, stronger. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition 2017, pp. 7263\u20137271 (2017)","DOI":"10.1109\/CVPR.2017.690"},{"key":"1906_CR20","unstructured":"Redmon, J., Farhadi, A.: YOLOv3: an incremental improvement. arXiv preprint arXiv:1804.02767 (2018)"},{"key":"1906_CR21","unstructured":"Bochkovskiy, A., Wang, C.Y., Liao, H.Y.M.: YOLOv4: optimal speed and accuracy of object detection. arXiv preprint arXiv:2004.10934 (2020)"},{"key":"1906_CR22","doi-asserted-by":"crossref","unstructured":"Wang, C.Y., Bochkovskiy, A., Liao, H.Y.M.: YOLOv7: trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. In: Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition CVPR 2023 CVPR 2023, pp. 7464\u20137475 (2023)","DOI":"10.1109\/CVPR52729.2023.00721"},{"key":"1906_CR23","first-page":"2528712","volume":"72","author":"Q Zhang","year":"2023","unstructured":"Zhang, Q., Hu, X.: MSFFA-YOLO network: multiclass object detection for traffic investigations in foggy weather. IEEE Trans. Instrum. Meas. 72, 2528712 (2023)","journal-title":"IEEE Trans. Instrum. Meas."},{"key":"1906_CR24","doi-asserted-by":"publisher","first-page":"29","DOI":"10.1007\/s00138-025-01784-8","volume":"37","author":"YH Shih","year":"2026","unstructured":"Shih, Y.H., Chen, J.H.: Yolov7-pcbam: enhancing steel surface defect detection via partial convolution and attention mechanism. Mach. Vis. Appl. 37, 29 (2026)","journal-title":"Mach. Vis. Appl."},{"key":"1906_CR25","doi-asserted-by":"crossref","unstructured":"Hu, J., Shen, L., Sun, G.: Squeeze-and-excitation networks. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition 2018. pp. 7132\u20137141 (2018)","DOI":"10.1109\/CVPR.2018.00745"},{"key":"1906_CR26","doi-asserted-by":"crossref","unstructured":"Woo, S., Park, J., Lee, J.Y., Kweon, I.S.: CBAM: convolutional block attention module. In: Proceedings of the European conference on computer vision 2018. pp. 3\u201319 (2018)","DOI":"10.1007\/978-3-030-01234-2_1"},{"key":"1906_CR27","doi-asserted-by":"crossref","unstructured":"Wang, Q., Wu, B., Zhu, P., Li, P., Zuo, W., Hu, Q.: ECA-Net: efficient channel attention for deep convolutional neural networks. In: Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition CVPR 2020. pp. 11534\u201311542 (2020)","DOI":"10.1109\/CVPR42600.2020.01155"},{"key":"1906_CR28","doi-asserted-by":"crossref","unstructured":"Hou, Q., Zhou, D., Feng, J.: Coordinate attention for efficient mobile network design. In: Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition CVPR 2021. pp. 13713\u201313722 (2021)","DOI":"10.1109\/CVPR46437.2021.01350"},{"key":"1906_CR29","doi-asserted-by":"crossref","unstructured":"Rezatofighi, H., Tsoi, N., Gwak, J., Sadeghian, A., Reid, I., Savarese, S.: Generalized intersection over union: a metric and a loss for bounding box regression. In: Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition CVPR 2019, pp. 658\u2013666 (2019)","DOI":"10.1109\/CVPR.2019.00075"},{"key":"1906_CR30","doi-asserted-by":"crossref","unstructured":"Zheng, Z., Wang, P., Liu, W., Li, J., Ye, R., Ren, D.: Distance-IoU loss: faster and better learning for bounding box regression. In: Proceedings of the AAAI conference on artificial intelligence. pp. 12993\u201313000 (2020)","DOI":"10.1609\/aaai.v34i07.6999"},{"key":"1906_CR31","doi-asserted-by":"publisher","first-page":"146","DOI":"10.1016\/j.neucom.2022.07.042","volume":"506","author":"YF Zhang","year":"2022","unstructured":"Zhang, Y.F., Ren, W., Zhang, Z., Jia, Z., Wang, L., Tan, T.: Focal and efficient IOU loss for accurate bounding box regression. Neurocomputing. 506, 146\u2013157 (2022)","journal-title":"Neurocomputing"},{"key":"1906_CR32","unstructured":"Tong, Z., Chen, Y., Xu, Z., Yu, R.: Wise-IoU: bounding box regression loss with dynamic focusing mechanism. arXiv preprint arXiv:2301.10051, 2023 (2023)"},{"key":"1906_CR33","unstructured":"Gevorgyan, Z.: SIoU loss: More powerful learning for bounding box regression. arXiv preprint arXiv:2205.12740, 2022 (2022)"},{"issue":"6","key":"1906_CR34","doi-asserted-by":"publisher","first-page":"5201","DOI":"10.1109\/TNSE.2024.3350640","volume":"11","author":"AK Sangaiah","year":"2024","unstructured":"Sangaiah, A.K., Yu, F.N., Lin, Y.B., Shen, W.C., Sharma, A.: UAV T-YOLO-Rice: an enhanced Tiny YOLO networks for rice leaves diseases detection in paddy agronomy. IEEE Trans. Netw. Sci. Eng. 11(6), 5201\u20135216 (2024)","journal-title":"IEEE Trans. Netw. Sci. Eng."},{"key":"1906_CR35","doi-asserted-by":"publisher","first-page":"915","DOI":"10.1007\/s11760-025-04511-y","volume":"19","author":"VK Ancha","year":"2025","unstructured":"Ancha, V.K., Gonuguntla, V., Vaddi, R.: GSS-YOLO: An improved YOLOv5 prediction head with slim-neck for defect detection in printed circuit board assembly. Signal. Image Video Process. 19, 915 (2025)","journal-title":"Signal. Image Video Process."},{"key":"1906_CR36","doi-asserted-by":"publisher","first-page":"1277","DOI":"10.1007\/s11227-025-07771-0","volume":"81","author":"VK Ancha","year":"2025","unstructured":"Ancha, V.K., Gonuguntla, V., Vaddi, R.: TRSBi-YOLO: transformer-based lightweight and high-performance model for PCB defect detection. J. Supercomput. 81, 1277 (2025)","journal-title":"J. Supercomputing"},{"key":"1906_CR37","doi-asserted-by":"publisher","first-page":"120521","DOI":"10.1016\/j.measurement.2026.120521","volume":"266","author":"VK Ancha","year":"2026","unstructured":"Ancha, V.K., Gonuguntla, V., Vaddi, R.: CSPGhost-YOLO: a lightweight and robust model for real-time mixed PCB defect detection system. Measurement. 266, 120521 (2026)","journal-title":"Measurement"},{"key":"1906_CR38","unstructured":"Tzutalin, D.: LabelImg. GitHub. (2015). https:\/\/github.com\/tzutalin\/labelImg Accessed 19 Aug 2025"},{"key":"1906_CR39","doi-asserted-by":"crossref","unstructured":"Liu, Z., et al.: Swin transformer: Hierarchical vision transformer using shifted windows. In: Proceedings of the IEEE\/CVF International Conference on Computer Vision, pp. 10012\u201310022 (2021)","DOI":"10.1109\/ICCV48922.2021.00986"},{"key":"1906_CR40","unstructured":"Ge, Z.: YOLOX: exceeding yolo series in 2021. arXiv preprint arXiv:2107.084301 (2021)"}],"container-title":["Machine Vision and Applications"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00138-026-01906-w.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s00138-026-01906-w","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00138-026-01906-w.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,11,2]],"date-time":"2026-11-02T13:46:34Z","timestamp":1793627194000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s00138-026-01906-w"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,8,20]]},"references-count":40,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2026,11]]}},"alternative-id":["1906"],"URL":"https:\/\/doi.org\/10.1007\/s00138-026-01906-w","relation":{"has-preprint":[{"id-type":"doi","id":"10.21203\/rs.3.rs-9130149\/v1","asserted-by":"object"}]},"ISSN":["0932-8092","1432-1769"],"issn-type":[{"value":"0932-8092","type":"print"},{"value":"1432-1769","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,8,20]]},"assertion":[{"value":"15 March 2026","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"1 August 2026","order":2,"name":"revised","label":"Revised","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"9 August 2026","order":3,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"20 August 2026","order":4,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"The authors declare no competing interests.","order":1,"name":"Ethics","label":"Conflict of interest","group":{"name":"EthicsHeading","label":"Declarations"}}],"article-number":"134"}}