导航

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

    gueb 发布的帖子

    • RE: openmv摄像头识别二维码为什么我只有0.006帧的帧率,求大佬?

      0_1541429300635_TIM图片20181105224546.png 0_1541429307237_TIM图片20181105224540.jpg

      发布在 OpenMV Cam
      G
      gueb
    • openmv摄像头识别二维码为什么我只有0.006帧的帧率,求大佬?
      import sensor, image, time, math
      
      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...
      clock = time.clock()
      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():
              message=code.payload()
              print(message)
              print("FPS %f" % clock.fps())
      发布在 OpenMV Cam
      G
      gueb