导航

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

    fip3

    @fip3

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

    fip3 关注

    fip3 发布的帖子

    • RE: OpenMV4 Cam H7 Plus + 星瞳OpenMV4 Plus 3 RS485扩展板,错误,示例代码都不能运行

      今天测试突然好了,没有找到原因,貌似不太稳定

      发布在 OpenMV Cam
      F
      fip3
    • OpenMV4 Cam H7 Plus + 星瞳OpenMV4 Plus 3 RS485扩展板,错误,示例代码都不能运行

      OpenMV4 Cam H7 Plus + 星瞳OpenMV4 Plus 3 RS485扩展板,modbus测试出现这个错误,无法运行
      win10 64系统,IDE版本:2.6.0

      0_1603872879480_1.jpg

      发布在 OpenMV Cam
      F
      fip3
    • 二值化,边缘检测后,线段无法检测?

      0_1594627390176_1.jpg

      enable_lens_corr = False
      
      import sensor, image, time
      
      sensor.reset()                      # Reset and initialize the sensor.
      sensor.set_pixformat(sensor.GRAYSCALE) # Set pixel format to RGB565 (or GRAYSCALE)
      sensor.set_framesize(sensor.VGA)   # Set frame size to QVGA (320x240)
      sensor.skip_frames(time = 2000)     # Wait for settings take effect.
      clock = time.clock()                # Create a clock object to track the FPS.
      sensor.set_auto_gain(False) # must be turned off for color tracking
      sensor.set_auto_whitebal(False) # must be turned off for color tracking
      
      
      
      while(True):
          clock.tick()                    # Update the FPS clock.
          img = sensor.snapshot()         # Take a picture and return the image.
          img = img.binary([(255, 50)])
      
      
      
      
          img.find_edges(image.EDGE_SIMPLE,threshold =(255, 255))
      
      
          if enable_lens_corr: img.lens_corr(1.8) 
          for l in img.find_line_segments(merge_distance = 0, max_theta_diff = 5):
              img.draw_line(l.line(),color = (255,0,0))
              print(l)
              
      
      发布在 OpenMV Cam
      F
      fip3