登录
首页 » c++ » 基于opencv的飞行器巡线代码

基于opencv的飞行器巡线代码

于 2023-06-28 发布 文件大小:1.51 kB
0 108
下载积分: 2 下载次数: 2

代码说明:

在树莓派上调用opencv库,对图像中的线进行颜色提取再二值化,然后遍历图像进行像素积分,比较做差求积分峰值,直线拟合,判断线所在图像的位置,然后给飞行器一个姿态信号,控制飞行器巡线。此种算法避免掉直接调用opencv二值化带来的对比度不明显造成的噪点过多无法判断的问题。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • opengl
    几个简单的opengl镂垫的程序,很简单(Lou pad a few simple opengl program, very simple)
    2011-10-12 15:57:25下载
    积分:1
  • ThreadSample
    Thread Templete Class Custom Thread
    2013-12-25 01:31:09下载
    积分:1
  • AboutDrawLine
     C#使用DrawLine对象绘制一条直线,绘制水平线和垂直线,点击对应的按钮,即可调用DrawLine方法绘制直线,一种固定的模式,没有什么难度,C#入门新手参考会不错,学习一点图形绘制方面的基础知识(C# uses the DrawLine object to draw a straight line, draw horizontal and vertical lines, click the corresponding button, you can call the DrawLine method to draw a straight line, a fixed pattern, there is no difficulty, C# Beginner Novice reference would be good to learn a little graphics rendering aspects Basics)
    2013-06-17 14:44:57下载
    积分:1
  • 0.96OLED显示屏_C51系列_IIC_例程
    0.96OLED显示屏_C51系列_IIC_例程,可以显示字符、显示图片、在自定义位置处显示想要的内容
    2022-07-24 19:05:23下载
    积分:1
  • account
    帐户管理系统,可以删除,添加修改,查询等功能,还可连续创建帐户。(Account management system, you can delete, add modify, query and other functions, but also continuously create an account.)
    2010-01-20 09:29:34下载
    积分:1
  • Ex01_01
    C#1000案例教程-菜单控件使用案例MenuHistory(Use case MenuHistory menu control )
    2014-06-05 22:45:16下载
    积分:1
  • 单片机任意一个引脚都可以解出红外的编码
    单片机任意一个引脚都可以解出红外的编码,然后通过串口打印到电脑串口助手上
    2022-01-25 17:49:51下载
    积分:1
  • buffertest
    this ring buffer sample.
    2006-09-06 11:49:48下载
    积分:1
  • src
    最大最小值快速算法,时间复杂度为o(1),比普通的算法快了很多(fast )
    2013-11-12 20:32:21下载
    积分:1
  • bigbt
    A simple algorithms to calculate very big factorial, this program can calculate up to 30000!
    2010-02-28 09:35:08下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载