摘要
本系统以树莓派为核心,由摄像头获取双方棋子的图像,利用openCV视觉库进行预处理、目标提取与分割等图像处理,实现棋面文字及颜色的识别,最后根据军棋规则语音播报判定结果,解决了两人即可玩军棋的问题。经测试,该系统非常稳定,准确率高。
The system takes raspberry school as the core,obtains the images of the two sides’chess pieces from the camera,uses opencv visual database to preprocess,extract and segment the images,and realizes the recognition of the characters and colors of the chess pieces.Finally,according to the result of the voice broadcast judgment of the rules of the military chess,the problem that two people can play the military chess is solved.After testing,the system is very stable and has high accuracy.
作者
高云华
Gao Yunhua(Jiangsu Economic and Trade Vocational and Technical College,Nanjing Jiangsu,211168)
出处
《电子测试》
2020年第11期97-98,59,共3页
Electronic Test