Computer Science ›› 2024, Vol. 51 ›› Issue (11A): 230900037-7.doi: 10.11896/jsjkx.230900037

• Image Processing & Multimedia Technology • Previous Articles     Next Articles

Go Chessboard Recognition Based on Light-YOLOv8

ZHANG Lei1, WU Wenzhe1, BAI Xueyuan2   

  1. 1 Department of Electronic Information Engineering,Shenyang Aerospace University,Shenyang 110136,China
    2 Department of Science,Shenyang Aerospace University,Shenyang 110136,China
  • Online:2024-11-16 Published:2024-11-13
  • About author:ZHANG Lei,born in 1972,Ph.D,asso-ciate professor.His main research in-terests include image processing and image compression.
    WU Wenzhe,born in 1998,postgra-duate.His main research interests include image processing and pattern re-cognition.

Abstract: A real-time detection algorithm Light-YOLOv8 based on a combination of three-dimensional attention mechanism and lightweight convolution is proposed to achieve high-precision real-time chessboard recording during Go games.On the basis of YOLOv8,PWConv+PConv is used to replace the 3*3 convolution of the cross stage local network in the backbone network,which greatly reduce the computational complexity of the model.Adding CARAFE upsampling operaor and SimAM three-dimensional attention mechanism to improve the detection ability of small Go targets.The use of the Wise-IOU loss function improves the model's localization ability and convergence speed,and improves its detection ability in cases of chess piece adhesion,chess piece overlap,and uneven lighting.Optimize and compress the model for mobile deployment and deploy it on different Android devices,with an image resolution of 640*480.The average single detection time combined with image preprocessing and post-processing operations is 89ms,and the average detection frame rate is 37.6 fps.Conduct 50 rounds of score recording experiments,with an average score recording accuracy of over 97% and an average winner/loser discrimination accuracy of 100%,which can achieve stable go chess score recording function.

Key words: Object detection, Chess game recognition, Real time notation, YOLOv8, Lightweight network, Mobile devices

CLC Number: 

  • TP391
[1]LIANG C Y,DING Y,YUAN J,et al.Research on Image Re-cognition Algorithms for Go Tournaments [J].Modern Compu-ter(Professional Edition),2016(24):39-43.
[2]MAO L M,ZHU P Y,LU Z L,et al.Recognition of Gobang Robot Chessboard Based on LabVIEW [J].Computer Engineering and Design,2017,38(1):242 246.
[3]GUI Y,WU Y,WANG Y,et al.Visual Image Processing of Humanoid Go Game Robot Based on OPENCV[C]//2020 Chinese Control And Decision Conference(CCDC).Hefei,2020:3713-3716.
[4]WANG Y J,ZHANG Y B,WU Y Y,et al.A General Chess Po-sitioning Method under Uneven Illumination [J].Computer Applications,2020,40(12):3490-3498.
[5]ZHANG Y,GU F.A Compact and Low-cost gobangg Robot[C]//2022 International Conference on Service Robotics(ICoSR).Chengdu,2022:62-66.
[6]LIU W,ANGUELOV D,ERHAN D,et al.Ssd:Single shotmultibox detector[C]//Computer Vision-ECCV 2016:14th European Conference,Amsterdam,The Netherlands,Part I 14.Springer International Publishing,2016:21-37.
[7]WU B,IANDOLA F,JINP H,et al.Squeezedet:Unified,small,low power fully convolutional neural networks for real-time object detection for autonomous driving[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops.2017:129-137.
[8]TAN M,LE Q.Efficientnetv2:Smaller models and faster trai-ning[C]//International Conference on Machine Learning.PMLR,2021:10096-10106.
[9]JIANG P,ERGU D,LIU F,et al.A Review of Yolo algorithm developments[J].Procedia Computer Science,2022,199:1066-1073.
[10]GIRSHICK R.Fast r-cnn[C]//Proceedings of the IEEE International Conference on Computer Vision.2015:1440-1448.
[11]HE K,GKIOXARI G,DOLLÁR P,et al.Mask r-cnn[C]//Proceedings of the IEEE International Conference on Computer Vision.2017:2961-2969.
[12]PURKAITP,ZHAO C,ZACH C.SPP-Net:Deep absolute pose regression with synthetic views[J].arXiv:1712.03452,2017.
[13]KONG F G,LI Z Z,LIU Q,et al.Design of the Vision System for Chinese Chess Robots [J].Mechanical Engineer,2020,347(5):1-3.
[14]LIU X,JIN J,ZHONG Q,et al.Vision-Based Chess Detection for a Robotic Companion[C]//2021 IEEE 6th International Conference on Computer and Communication Systems(ICCCS).Chengdu,2021:248-253.
[15]HOWARDA G,ZHU M,CHEN B,et al.Mobilenets:Efficient convolutional neural networks for mobile vision applications[J].arXiv:1704.04861,2017.
[16]FANG G F,MA X Y,SONG M L,et al.[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR).2023:16091-16101.
[17]CHEN J,KAO S,HE H,et al.Run,don't walk:chasing higher FLOPS for faster neural networks[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2023:12021-12031.
[18]WANG J,CHEN K,XU R,et al.CARAFE:Content-aware reassembly of features[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision.2019:3007-3016.
[19]YANG L,ZHANG R Y,LI L,et al.SimAM:A simple,parameter-free attention module for convolutional neural networks[C]//International Conference on Machine Learning.PMLR,2021:11863-11874.
[20]TONG Z,CHEN Y,XU Z,et al.Wise-IoU:bounding box re-gression loss with dynamic focusing mechanism[J].arXiv:2301.10051,2023.
[1] WANG Jiahui, PENG Guangling, DUAN Liang, YUAN Guowu, YUE Kun. Few-shot Shadow Removal Method for Text Recognition [J]. Computer Science, 2024, 51(9): 147-154.
[2] LI Yunchen, ZHANG Rui, WANG Jiabao, LI Yang, WANG Ziqi, CHEN Yao. Re-parameterization Enhanced Dual-modal Realtime Object Detection Model [J]. Computer Science, 2024, 51(9): 162-172.
[3] PU Bin, LIANG Zhengyou, SUN Yu. Monocular 3D Object Detection Based on Height-Depth Constraint and Edge Fusion [J]. Computer Science, 2024, 51(8): 192-199.
[4] LOU Zhengzheng, ZHANG Xin, HU Shizhe, WU Yunpeng. Foggy Weather Object Detection Method Based on YOLOX_s [J]. Computer Science, 2024, 51(7): 206-213.
[5] ZHENG Shenhai, GAO Xi, LIU Pengwei, LI Weisheng. Occluded Video Instance Segmentation Method Based on Feature Fusion of Tracking and Detection in Time Sequence [J]. Computer Science, 2024, 51(6A): 230600186-6.
[6] LIU Hongli, WANG Yulin, SHAO Lei, LI Ji. Study on Monocular Vision Vehicle Ranging Based on Lower Edge of Detection Frame [J]. Computer Science, 2024, 51(6A): 231000077-6.
[7] CHEN Yuzhang, WANG Shiqi, ZHOU Wen, ZHOU Wanting. Small Object Detection for Fish Based on SPD-Conv and NAM Attention Module [J]. Computer Science, 2024, 51(6A): 230500176-7.
[8] QUE Yue, GAN Menghan, LIU Zhiwei. Object Detection with Receptive Field Expansion and Multi-branch Aggregation [J]. Computer Science, 2024, 51(6A): 230600151-6.
[9] HE Xinyu, LU Chenxin, FENG Shuyi, OUYANG Shangrong, MU Wentao. Ship Detection and Recognition of Optical Remote Sensing Images for Embedded Platform [J]. Computer Science, 2024, 51(6A): 230700117-7.
[10] LIU Heng, LIN Hongyu, WU Tao. Detection Method for Workers’ Illegal Operation Behavior in PackagingWorkshop of CigaretteFactory [J]. Computer Science, 2024, 51(6A): 230700123-8.
[11] ZHANG Lanxin, XIANG Ling, LI Xianze, CHEN Jinpeng. Intelligent Fault Diagnosis Method for Rolling Bearing Based on SAMNV3 [J]. Computer Science, 2024, 51(6A): 230700167-6.
[12] JIAO Ruodan, GAO Donghui, HUANG Yanhua, LIU Shuo, DUAN Xuanfei, WANG Rui, LIU Weidong. Study and Verification on Few-shot Evaluation Methods for AI-based Quality Inspection in Production Lines [J]. Computer Science, 2024, 51(6A): 230700086-8.
[13] LI Yuehao, WANG Dengjiang, JIAN Haifang, WANG Hongchang, CHENG Qinghua. LiDAR-Radar Fusion Object Detection Algorithm Based on BEV Occupancy Prediction [J]. Computer Science, 2024, 51(6): 215-222.
[14] LIAO Junshuang, TAN Qinhong. DETR with Multi-granularity Spatial Attention and Spatial Prior Supervision [J]. Computer Science, 2024, 51(6): 239-246.
[15] LIU Jiasen, HUANG Jun. Center Point Target Detection Algorithm Based on Improved Swin Transformer [J]. Computer Science, 2024, 51(6): 264-271.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!