导航

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

    bfcd

    @bfcd

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

    bfcd 关注

    bfcd 发布的帖子

    • 图像处理函数问题求解?

      我使用如下函数,为什么得到的结果是这样的啊
      0_1562508688278_91369e66-754a-42ec-8ea7-0a25d1624219-image.png
      使用前:
      0_1562508729218_4d328671-4df6-4385-a2e5-7d23292a7d66-image.png
      使用后:
      0_1562508758278_0fb10c6f-42e9-4221-a460-cd9686d8b7bc-image.png

      代码如下:

      import sensor, image, time
      
      sensor.reset()                      # Reset and initialize the sensor.
      sensor.set_pixformat(sensor.RGB565) # Set pixel format to RGB565 (or GRAYSCALE)
      sensor.set_framesize(sensor.QQVGA)   # Set frame size to QQVGA (160x120)
      sensor.skip_frames(time = 2000)     # Wait for settings take effect.
      clock = time.clock()                # Create a clock object to track the FPS.
      
      while(True):
          clock.tick()                    # Update the FPS clock.
          img = sensor.snapshot()
          # img这里是彩色
          img = img.to_grayscale()
          # img这里是灰色
          print(clock.fps())
      
      发布在 OpenMV Cam
      B
      bfcd
    • 有关例程代码求解!!

      你好,代码我这里有点看不懂,能帮忙解答一下不🙏
      这个例程:
      0_1562333772199_18cc2ecc-b930-4546-8b45-0cdbfd3113a6-image.png

      这里为什么要拍两次照啊

      0_1562333808578_7842bec7-03a1-4407-9790-480589cc624c-image.png

      发布在 OpenMV Cam
      B
      bfcd
    • RE: 为什么运行这个程序,IDE没有报错,但是却自动断开连接

      也就是这个程序没有报错,但却不能正常运行😟

      发布在 OpenMV Cam
      B
      bfcd
    • 为什么运行这个程序,IDE没有报错,但是却自动断开连接
      import sensor, image, time
      
      sensor.reset()
      sensor.set_pixformat(sensor.GRAYSCALE) # or RGB565.
      sensor.set_framesize(sensor.QVGA)
      sensor.skip_frames(time = 2000)
      sensor.set_auto_gain(False) # must be turned off for color tracking
      sensor.set_auto_whitebal(False) # must be turned off for color tracking
      clock = time.clock()
      
      #threshold =[42, 66, -29, 7, 3, 38]
      
      while(True):
          clock.tick()
          img = sensor.snapshot()
          histogram = img.get_histogram()#得到直方图
          Thresholds = histogram.get_threshold()#得到最佳阈值
          l = Thresholds.l_value()
          a = Thresholds.a_value()
          b = Thresholds.b_value()
          print(Thresholds)
      
      发布在 OpenMV Cam
      B
      bfcd
    • open mv图像处理

      请问OPEN MV拍摄图像后,图像的原始存储数组在哪里啊

      发布在 OpenMV Cam
      B
      bfcd
    • 刚接触,菜鸡一枚,跪求图像处理的方法

      OPEN MV有局部自适应阈值或者大津法等方法来处理图像的例程吗

      发布在 OpenMV Cam
      B
      bfcd