导航

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

    stw1

    @stw1

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

    stw1 关注

    stw1 发布的帖子

    • RE: 请问使用WiFi扩展板传视频流是需要电脑或手机连上OpenMV的WIFI后才能打开那个网址进行查看吗?

      那请问有什么办法可以将摄像头当前拍摄的内容在远程输入网址查看呢?就没有连到同个局域网上可以查看吗?

      发布在 OpenMV Cam
      S
      stw1
    • 请问使用WiFi扩展板传视频流是需要电脑或手机连上OpenMV的WIFI后才能打开那个网址进行查看吗?

      请问使用WiFi扩展板传视频流是需要电脑或手机连上OpenMV的WIFI后才能打开那个网址进行查看吗?不能远程输入那个网址查看吗?

      发布在 OpenMV Cam
      S
      stw1
    • 请问WiFi扩展板可以用别的WiFi模块代替吗?比如esp8266

      请问WiFi扩展板可以用别的WiFi模块代替吗?比如esp8266

      发布在 OpenMV Cam
      S
      stw1
    • RE: 请问为什么在终端上没有输出二维码的信息?

      哦哦是的,对焦后就能识别了,问题解决非常感谢

      发布在 OpenMV Cam
      S
      stw1
    • 在识别颜色时有时出现帧超时是什么原因呢?

      0_1697974647412_a25e8f5d-d57c-4164-a9fb-00535221723e-image.png

      # Untitled - By: Lenovo - 周三 9月 27 2023
      
      import sensor, image, time
      
      threshold_index = 2 # 0 for red, 1 for green, 2 for blue
      
      thresholds = [(30, 100, 15, 127, 15, 127), # generic_red_thresholds
                    (30, 100, -64, -8, -32, 32), # generic_green_thresholds
                    (41, 64, -20, 6, -44, -28)] # generic_blue_thresholds
      
      sensor.reset()
      sensor.set_pixformat(sensor.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()
      
      while(True):
          clock.tick()
          img = sensor.snapshot()
          for blob in img.find_blobs([thresholds[threshold_index]], pixels_threshold=200,area_threshold=200,merge=True):
              img.draw_rectangle(blob.rect())
              img.draw_cross(blob.cx(),blob.cy())
          print(clock.fps())
      
      
      发布在 OpenMV Cam
      S
      stw1
    • 请问识别矩形中为什么加了roi坐标位置后就提示存储空间不够了?

      0_1697958958451_e8447b17-854d-40b5-820a-2e083f5298d5-image.png

      # Find Rects Example
      #
      # 这个例子展示了如何使用april标签代码中的四元检测代码在图像中找到矩形。 四元检测算法以非常稳健的方式检测矩形,并且比基于Hough变换的方法好得多。 例如,即使镜头失真导致这些矩形看起来弯曲,它仍然可以检测到矩形。 圆角矩形是没有问题的!
      # (但是,这个代码也会检测小半径的圆)...
      
      import sensor, image, time
      
      sensor.reset()
      sensor.set_pixformat(sensor.RGB565) # 灰度更快(160x120 max on OpenMV-M7)
      sensor.set_framesize(sensor.QQVGA) # 160*120
      sensor.skip_frames(time = 2000)
      clock = time.clock()
      
      while(True):
          clock.tick()
          img = sensor.snapshot()
      
          # 下面的`threshold`应设置为足够高的值,以滤除在图像中检测到的具有
          # 低边缘幅度的噪声矩形。最适用与背景形成鲜明对比的矩形。
          # Frame Buffer 左上角为原点 中心坐标:80,60 
          for r in img.find_rects(roi=(80,60,80,60),threshold = 10000): # roi=(80,60,80,60) 
              img.draw_rectangle(r.rect(), color = (255, 0, 0))
              for p in r.corners(): img.draw_circle(p[0], p[1], 5, color = (0, 255, 0))
              print(r)
      
          print("FPS %f" % clock.fps())
      
      发布在 OpenMV Cam
      S
      stw1
    • 请问为什么在终端上没有输出二维码的信息?

      0_1697711277140_cdb56f6a-ad2e-494b-a8a4-9ac65bb1aa45-image.png
      0_1697711296587_6ab044be-2c0f-4606-9b80-bc287355a28f-image.png

      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
      stw1
    • RE: 请问为什么运行这个多颜色识别的代码会出现多个框框出来,请问如何消除其他框呢?

      @kidswong999 可是我是想多颜色识别的,所以设三个阈值啊,每个颜色能识别的阈值是设置好的,可为什么会出现那么多白框呢?

      发布在 OpenMV Cam
      S
      stw1
    • RE: if blob.elongation() > 0.5: 怎么判定为0.5的?

      @kidswong999 0_1695785297776_40c3bc5a-247c-4244-8896-3610cdc08e11-image.png
      可是点开链接后是这样的,根本看不到什么

      发布在 OpenMV Cam
      S
      stw1