导航

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

    mtu6 发布的帖子

    • RE: 新买的open mv 连接不上IED,以前的板子就没问题,提示如下图。怎么才能连接上?

      @kidswong999 有的,我怕卡会影响它所以我用的一个卡

      发布在 OpenMV Cam
      M
      mtu6
    • 新买的open mv 连接不上IED,以前的板子就没问题,提示如下图。怎么才能连接上?
      # AprilTags Example
      #
      # This example shows the power of the OpenMV Cam to detect April Tags
      # on the OpenMV Cam M7. The M4 versions cannot detect April Tags.
      
      import sensor, image, time, math
      
      sensor.reset()
      sensor.set_pixformat(sensor.RGB565)
      sensor.set_framesize(sensor.QQVGA) # we run out of memory if the resolution is much bigger...
      sensor.skip_frames(30)
      sensor.set_auto_gain(False)  # must turn this off to prevent image washout...
      sensor.set_auto_whitebal(False)  # must turn this off to prevent image washout...
      clock = time.clock()
      
      while(True):
          clock.tick()
          img = sensor.snapshot()
          for tag in img.find_apriltags(): # defaults to TAG36H11 without "families".
              img.draw_rectangle(tag.rect(), color = (255, 0, 0))
              img.draw_cross(tag.cx(), tag.cy(), color = (0, 255, 0))
              degress = 180 * tag.rotation() / math.pi
              print(tag.id(),degress)
      ![0_1594946155287_捕获.JPG](https://fcdn.singtown.com/b6213d95-8e92-4faa-9f9b-808cc9c54dd6.JPG) 
      

      0_1594946184764_捕获.JPG

      发布在 OpenMV Cam
      M
      mtu6