
水下机器人
wenxin_titanium
美赛加油!
展开
-
openmv循迹
水下机器人使用openmv巡线使用色块进行巡线使用findblobs进行颜色识别使用快速线性回归循迹使用色块进行巡线使用findblobs进行颜色识别GeometryFeature.pyclass GeometryFeature: def __init__(self, img): self.img = img @staticmethod def trans_line_format(line): ''' 将原来由两点坐标确定的原创 2021-04-06 21:56:52 · 8904 阅读 · 3 评论 -
opencv水下管道巡检--色彩识别
在inRange函数进行黑色区域高亮的基础上,进行像素点检验。在圈定的区域内,如果高亮像素点占比为90%(可以根据效果进行调试)以上时,说明该区域为黑色区域,即可通过串口发送信息。/对二值化后的special逐个像素点进行检验* */int sum_counter = 0;//总像素点个数int counter = 0;//计算像素点的个数Mat_::iterator it = special.begin();Mat_::iterator itend = special.end();for (原创 2021-03-02 15:28:34 · 1220 阅读 · 1 评论