摘要
针对魔方的颜色空间特征,设计了一种以STM32F103ZET6处理器为核心的颜色识别系统,通过摄像头获得图像数据,处理后将结果在LCD上显示出来。在图像处理中,采用HSI颜色模型进行色彩匹配,并采用了改进的中值滤波算法。对魔方每个面存在多种颜色,设计了更为简单的颜色识别算法。实验结果表明,该系统可快速准确识别魔方中的红、黄、绿、蓝、白、橙六种颜色,且对六种颜色识别率均在97%以上。
Aiming at tlie color space feature of Rubiks Cube,a color recognition system based on STM32F103ZET6 processor is designed.The image data is obtained through the camera,and the result is displayed on the LCD after processing.In image processing,the HSI color model is used for color matching,and an improved median filtering algoritlim is adopted.A simpler color recognition algorithm is designed for multiple colors on each side of the cube.The experimental results show that tlie system can quickly and accurately identify the six colors of red,yellow,green,blue,white and orange in the Rubiks cube,and the recognition rate of tlie six colors is above 97%.
作者
赵晓军
杨登科
李家兴
赵天利
ZHAO Xiaojun;YANG Dengke;LI Jiaxing;ZHAO Tianli(School of Electronic Information Engineering,Hebei University,Baoding 071000,China)
出处
《电视技术》
2018年第12期71-74,共4页
Video Engineering
基金
大型变压器内部检测的微型无缆潜测机器人研究与设计(16211824)