导航

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

    sgyu 发布的帖子

    • 如何连接到其他设备,被连接设备有4pin线插槽?使用哪几个引脚?

      如何连接到其他设备,被连接设备有4pin线插槽?

      发布在 OpenMV Cam
      S
      sgyu
    • RE: 示例代码,包装盒子上淘宝二维码识别不出来什么情况?

      测试发现OpenMV Cam使用镜头校正来检测QR码的功能,未能识别部分二维码。不做镜头校正可以识别

      发布在 OpenMV Cam
      S
      sgyu
    • 示例代码,包装盒子上淘宝二维码识别不出来什么情况?

      QRCode Example

      This example shows the power of the OpenMV Cam to detect QR Codes

      using lens correction (see the qrcodes_with_lens_corr.py script for higher performance).

      import sensor, image, time

      sensor.reset()
      sensor.set_pixformat(sensor.RGB565)
      sensor.set_framesize(sensor.QVGA)
      sensor.skip_frames(time = 2000)
      sensor.set_auto_gain(False) # must turn this off to prevent image washout...
      clock = time.clock()

      while(True):
      clock.tick()
      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_rectangle(code.rect(), color = (255, 0, 0))
      print(code)
      print(clock.fps())

      发布在 OpenMV Cam
      S
      sgyu