导航

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

    ztrp

    @ztrp

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

    ztrp 关注

    ztrp 发布的帖子

    • RE: 怎么修改这个二维码的程序使二维码的内容在LCD中显示(纯小白,请大佬揉碎了喂嘴里)

      @avqs 把lcd换成display吗

      发布在 OpenMV Cam
      Z
      ztrp
    • RE: 怎么修改这个二维码的程序使二维码的内容在LCD中显示(纯小白,请大佬揉碎了喂嘴里)

      这个有报错 'image' imported but unused
      no module named 'lcd'

      发布在 OpenMV Cam
      Z
      ztrp
    • RE: 怎么修改这个二维码的程序使二维码的内容在LCD中显示(纯小白,请大佬揉碎了喂嘴里)

      @ztrp import sensor, image
      import lcd
      sensor.reset()
      sensor.set_pixformat(sensor.RGB565)
      sensor.set_framesize(sensor.QQVGA2) # can be QVGA on M7...
      sensor.skip_frames(30)
      sensor.set_auto_gain(False) # must turn this off to prevent image washout...

      while(True):
      img = sensor.snapshot()
      img.lens_corr(1.8) # strength of 1.8 is good for the 2.8mm lens.
      for code in img.find_qrcodes():
      img.draw_string(10,10,code.payload())
      lcd.display(img)

      发布在 OpenMV Cam
      Z
      ztrp
    • 怎么修改这个二维码的程序使二维码的内容在LCD中显示(纯小白,请大佬揉碎了喂嘴里)
      import sensor, image
      
      sensor.reset()
      sensor.set_pixformat(sensor.RGB565)
      sensor.set_framesize(sensor.QQVGA) # can be QVGA on M7...
      sensor.skip_frames(30)
      sensor.set_auto_gain(False) # must turn this off to prevent image washout...
      while(True):
          img = sensor.snapshot()
          img.lens_corr(1.8) # strength of 1.8 is good for the 2.8mm lens.
          for code in img.find_qrcodes():
              print(code)
      
      
      发布在 OpenMV Cam
      Z
      ztrp