导航

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

    lehz

    @lehz

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

    lehz 关注

    lehz 发布的帖子

    • RE: 自己写了一个新的pid模块,导入新的类报错问题(lmportError:)

      你的目标值和测量值都代表什么意思?
      目标值是期望值吗?

      发布在 OpenMV Cam
      lehz
    • openmv能远程升级main代码吗?

      openmv能远程升级main代码吗?非常关注这个问题。

      发布在 OpenMV Cam
      lehz
    • RE: OpenMV变砖,好像彻底凉透,返厂维修费用大概是多少啊?

      usb电缆连接至计算机,测量3.3v无电压,测量vin管脚为1.8v

      发布在 OpenMV Cam
      lehz
    • OpenMV变砖,好像彻底凉透,返厂维修费用大概是多少啊?

      OpenMV变砖了,无法DFU升级,计算机也没有发现新端口。这个好像是坏的很彻底。怎么办?返厂维修费用大概是多少啊?返厂地址是什么?

      发布在 OpenMV Cam
      lehz
    • openmv4 h7 plus套件的透明保护壳,有图无实物

      在淘宝网上有一个透明保护壳,当我买了openmv4 h7 plus套件时,打开了包裹,发现透明保护壳不在包裹中

      而客服表示,保护壳没有写在list的单子上。但那个保护壳却一直在照片里。怎么说?
      0_1689232512180_134a4f20-8540-4ea8-a1b9-62b833e64d83-image.png

      发布在 OpenMV Cam
      lehz
    • RE: 教程的测距代码,使用了ov5640,framesize改为sensor.FHD,报错memory erros,为何?

      @kidswong999
      感谢回复。
      0_1686103512475_c4177eec-c5a9-4d2f-8e09-9f92c65d77b7-image.png
      没有改动程序。没有错误。不知道是不是以后还会抽筋。

      发布在 OpenMV Cam
      lehz
    • RE: 教程的测距代码,使用了ov5640,framesize改为sensor.FHD,报错memory erros,为何?

      硬件为OpenMV4 H7 PLUS

      发布在 OpenMV Cam
      lehz
    • RE: 教程的测距代码,使用了ov5640,framesize改为sensor.FHD,报错memory erros,为何?

      ide 3.0.3,windows7 ,openmv4 H7

      发布在 OpenMV Cam
      lehz
    • 教程的测距代码,使用了ov5640,framesize改为sensor.FHD,报错memory erros,为何?
      # Measure the distance
      #
      # This example shows off how to measure the distance through the size in imgage
      # This example in particular looks for yellow pingpong ball.
      
      import sensor, image, time
      
      # For color tracking to work really well you should ideally be in a very, very,
      # very, controlled enviroment where the lighting is constant...
      yellow_threshold   = (2, 85, -128, 127, 18, 64)
      # You may need to tweak the above settings for tracking green things...
      # Select an area in the Framebuffer to copy the color settings.
      
      sensor.reset() # Initialize the camera sensor.
      sensor.set_pixformat(sensor.RGB565) # use RGB565.
      sensor.set_framesize(sensor.FHD) #【ov5640】
      sensor.skip_frames(10) # Let new settings take affect.
      sensor.set_auto_whitebal(False) # turn this off.
      clock = time.clock() # Tracks FPS.
      
      K=5000#the value should be measured
      
      while(True):
          clock.tick() # Track elapsed milliseconds between snapshots().
          img = sensor.snapshot() # Take a picture and return the image.
      
          blobs = img.find_blobs([yellow_threshold], x_stride=2, y_stride=1)
          if len(blobs) == 1:
              # Draw a rect around the blob.
              b = blobs[0]
              img.draw_rectangle(b[0:4]) # rect
              img.draw_cross(b[5], b[6]) # cx, cy
              Lm = (b[2]+b[3])/2
              length = K/Lm
              print(length)
      
          #print(clock.fps()) # Note: Your OpenMV Cam runs about half as fast while
          # connected to your computer. The FPS should increase once disconnected.
      
      

      0_1685629688447_da6b4fef-794f-4cc8-aa70-1ab7e0e7fee1-image.png
      以为是内容的问题,插入了sd新卡,仍旧报错。
      请大佬不吝指点。谢谢

      发布在 OpenMV Cam
      lehz