导航

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

    2clp 创建的帖子

    • 2

      使用串口只能发送数据但不能接收数据?
      OpenMV Cam • • 2clp

      2
      0
      赞同
      2
      楼层
      2871
      浏览

      https://singtown.com/learn/50240/ 按照视频,一模一样的操作。使用一样的串口调试扩展板,一样的星瞳串口助手。 如果不行,联系卖家维修。
    • 2

      blobs识别问题,求大神指点
      OpenMV Cam • • 2clp

      2
      0
      赞同
      2
      楼层
      2529
      浏览

      如果blobs是空的,for blob in blobs:里面就不会执行,也就是永远不会输出0
    • 2

      怎么统计图像中apriltag或者是数字的数量?
      OpenMV Cam • • 2clp

      2
      0
      赞同
      2
      楼层
      2116
      浏览

      https://docs.singtown.com/micropython/zh/latest/openmvcam/library/omv.image.html#image.find_apriltags 返回的的数组。 tags = img.find_apriltags() len(tags)就是数量 for tag in tags: 就可以遍历数组。
    • 2

      请问怎么识别特定ID的AprilTag?
      OpenMV Cam • • 2clp

      5
      0
      赞同
      5
      楼层
      4423
      浏览

      for tag in img.find_apriltags(fx=f_x, fy=f_y, cx=c_x, cy=c_y): # 默认为 TAG36H11 if tag.id() == 15: img.draw_rectangle(tag.rect(), color = (255, 0, 0)) img.draw_cross(tag.cx(), tag.cy(), color = (0, 255, 0)) print_args = (tag.id(), tag.x_translation(), tag.y_translation(), tag.z_translation(), \ degrees(tag.x_rotation()), degrees(tag.y_rotation()), degrees(tag.z_rotation())) print("ID: %f, Tx: %f, Ty: %f, Tz: %f, Rx: %f, Ry: %f, Rz: %f" % print_args)