检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:屠文博 吴宇轩 胡权柱 Tu Wenbo;Wu Yuxuan;Hu Quanzhu(Henan University of Science and Technology,School of Information Engineering,Luoyang Henan 471023,China)
机构地区:[1]河南科技大学信息工程学院,河南洛阳471023
出 处:《山西电子技术》2023年第3期33-34,40,共3页Shanxi Electronic Technology
基 金:2022年度河南科技大学国家级大学生训练计划项目(2022110)。
摘 要:设计了一款基于STM32单片机,Qt上位机,OpenCV的快速解魔方机器人。通过Qt-C++制作上位机,该上位机通过USB摄像头采集魔方6个面的颜色信息,并通过开源计算机视觉库OpenCV[1]对包含颜色信息的图像进行分割和识别,从而确定出6个面共54个色块的颜色,然后采用一定的魔方还原算法,获得还原魔方的步骤,将步骤通过串口发送给STM32下位机,由其控制步进电机拧动魔方,从而实现魔方的还原。This paper designs a fast magic cube solving robot based on STM32 microcontroller,Qt upper computer and OpenCV.The upper computer is made by Qt-C++.The upper computer collects the color information of the six faces of the Rubik's Cube through a USB camera,and segments and identifies the image containing the color information through the open source computer vision library OpenCV[1],so as to determine the color of 54 color blocks on the six faces.Then a certain Rubik’s Cube restoration algorithm is used to obtain the steps of restoring the Rubik’s Cube.The steps are sent to the STM32 lower computer through the serial port,which controls the stepping motor to twist the Rubik’s Cube,so as to realize the restoration of the Rubik’s Cube.
关 键 词:上位机 QT OPENCV STM32 魔方还原算法 步进电机 颜色识别
分 类 号:TP242.6[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.143.214.100