导航

    • 登录
    • 搜索
    • 版块
    • 产品
    • 教程
    • 论坛
    • 淘宝
    1. 主页
    2. kt6c
    K
    • 举报资料
    • 资料
    • 关注
    • 粉丝
    • 屏蔽
    • 帖子
    • 楼层
    • 最佳
    • 群组

    kt6c

    @kt6c

    0
    声望
    3
    楼层
    375
    资料浏览
    0
    粉丝
    0
    关注
    注册时间 最后登录

    kt6c 关注

    kt6c 发布的帖子

    • RE: 没能在图像中返回一条直线

      @kidswong999 谢了

      发布在 OpenMV Cam
      K
      kt6c
    • 没能在图像中返回一条直线
      # Hello World Example
      #
      # Welcome to the OpenMV IDE! Click on the green run arrow button below to run the script!
      
      import sensor, image, time
      
      red_thresholds = (33, 77, 12, 82, -4, 59)
      
      sensor.reset()                      
      sensor.set_pixformat(sensor.RGB565) 
      sensor.set_framesize(sensor.QQQVGA) 
      sensor.skip_frames(time = 2000)     
      clock = time.clock()               
      
      while(True):
          clock.tick()                    
          img = sensor.snapshot().binary([red_thresholds]) 
          line = img.get_regression([(100,100,0,0,0,0)], robust = True)
          if (line):
              img.draw_line(line.line(), color = 127)
          
          print(clock.fps())                          
      

      0_1564133804073_捕获.PNG 请在这里粘贴代码

      发布在 OpenMV Cam
      K
      kt6c
    • mavlink实现apriltag定点降落
      sensor_w_mm = 3.984 # For OV7725 sensor - see datasheet.
      sensor_h_mm = 2.952 # For OV7725 sensor - see datasheet.
      

      这两个数据代表什么?

      发布在 OpenMV Cam
      K
      kt6c