导航

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

    kidswong999 发布的帖子

    • RE: openmvH7plus的ram是不是有问题?发现比说的(1+32MB)少好多,只有4MB左右

      https://github.com/openmv/openmv/blob/master/boards/OPENMV4P/omv_boardconfig.h#L138
      代码里可以看到,4MB用于程序运行,16MB用于framebuffer。

      发布在 OpenMV Cam
      kidswong999
    • RE: openmv转色彩空间到HSV

      OpenMV默认的颜色是RGB565,只有找色块的时候用LAB。单个像素的颜色转换:https://docs.singtown.com/micropython/zh/latest/openmvcam/library/omv.image.html#image.rgb_to_lab

      发布在 OpenMV Cam
      kidswong999
    • RE: openmv入门教程项目实例 Mnist数字识别点不了?

      https://book.openmv.cc/project/tf-mnist.html

      已修复

      发布在 OpenMV Cam
      kidswong999
    • RE: 运行minist数据集识别数字的时候报错

      有个小错误,已经改好了。

      发布在 OpenMV Cam
      kidswong999
    • RE: 为什么我在edge impluse上训练的数字识别模型准确率有92%,但是用在openmv的准确率非常低呢?

      你可以试试:https://github.com/SingTown/openmv_tensorflow_training_scripts/tree/main/mnist

      发布在 OpenMV Cam
      kidswong999
    • RE: AI云服务有关问题 只有AI视觉模组才可以进行跑深度学习模型么

      OpenMV Cam可以运行分类,不能运行目标检测。https://docs.singtown.com/ai/zh/latest/faq.html#id13

      发布在 OpenMV Cam
      kidswong999
    • RE: OpenMV4 H7 Plus 硬件和代码保持原样,无法正常运行

      那你要用示波器看看引脚输出的波形,然后检查舵机的电源

      发布在 OpenMV Cam
      kidswong999
    • RE: 特征点检测例程这个报错怎么解决?(纯小白,请大佬指点)

      sensor.set_auto_gain(False, value=100)改为sensor.set_auto_gain(False, gain_db=100)

      发布在 OpenMV Cam
      kidswong999
    • RE: 报错:TypeError: integer needed (output_str="(%c,%c)"%(m,n))

      "(%c,%c)"改为"(%s,%s)"

      发布在 OpenMV Cam
      kidswong999
    • RE: OpenMV4 CAM H7 R2可以跑深度学习模型么

      https://singtown.com/cn/learn/2

      发布在 星瞳AI视觉模组
      kidswong999
    • RE: 怎么修改这个二维码的程序使二维码的内容在LCD中显示(纯小白,请大佬揉碎了喂嘴里)

      先测试这个程序:https://book.openmv.cc/example/50-OpenMV-Boards/60-Shields/60-LCD-Shield/lcd.html

      发布在 OpenMV Cam
      kidswong999
    • RE: 'Image' object has no attribute 'get_reggression'

      硬件型号是什么?

      发布在 OpenMV Cam
      kidswong999
    • RE: 颜色识别问题,求助一下

      你颜色阈值不对,如果只识别红色,应该只有一个颜色,你的代码里是3个。https://singtown.com/cn/learn/49993

      发布在 OpenMV Cam
      kidswong999
    • RE: 这用的官网给的代码,为什么还是找不到路径?

      templates = ["/circle.pgm", "/triangle.pgm", "/square.pgm"]
      改为templates = ["./circle.pgm", "./triangle.pgm", "./square.pgm"]

      发布在 OpenMV Cam
      kidswong999
    • RE: RT1062接Lepton出现花点,温度值偏差大
      1. 必须升级固件,现在是4.6.20
      2. 运行这个代码:
      # 本作品采用MIT许可证授权。
      # 版权所有 (c) 2013-2023 OpenMV LLC。保留所有权利。
      # https://github.com/openmv/openmv/blob/master/LICENSE
      #
      # Lepton 获取物体温度示例
      #
      # This example shows off how to get an object's temperature using color tracking.
      
      # By turning the AGC off and setting a max and min temperature range you can make the lepton into
      # a great sensor for seeing objects of a particular temperature. That said, the FLIR lepton is a
      # microblobometer and not a thermophile. So, it needs to re-calibrate itself often (which is called
      # flat-field-correction - FFC). Additionally, microblobmeter devices require pprocessing support
      # onboard to deal with the effects of temperature drift which is called radiometry support.
      
      # FLIR Lepton Shutter Note: FLIR Leptons with radiometry and a shutter will pause the video often
      # as they heatup to re-calibrate. This will happen less and less often as the sensor temperature
      # stabilizes. You can force the re-calibration to not happen if you need to via the lepton API.
      # However, it is not recommended because the image will degrade overtime.
      
      # 如果您使用的LEPTON不是Lepton 3.5,此脚本可能无法完美运行,因为其他
      # 其他lepton没有辐射测量支持,或者它们的校准过程不够频繁
      # 以应对温度变化(FLIR 2.5)。
      
      import sensor
      import time
      import image
      
      # 颜色跟踪阈值(灰度最小值,灰度最大值)
      threshold_list = [(200, 255)]
      
      # 在此设置目标温度范围
      min_temp_in_celsius = 20.0
      max_temp_in_celsius = 40.0
      
      print("Resetting Lepton...")
      # 这些设置在重置时应用
      sensor.reset()
      sensor.ioctl(sensor.IOCTL_LEPTON_SET_MODE, True)
      sensor.ioctl(
          sensor.IOCTL_LEPTON_SET_RANGE, min_temp_in_celsius, max_temp_in_celsius
      )
      print(
          "Lepton Res (%dx%d)"
          % (
              sensor.ioctl(sensor.IOCTL_LEPTON_GET_WIDTH),
              sensor.ioctl(sensor.IOCTL_LEPTON_GET_HEIGHT),
          )
      )
      print(
          "Radiometry Available: "
          + ("Yes" if sensor.ioctl(sensor.IOCTL_LEPTON_GET_RADIOMETRY) else "No")
      )
      
      sensor.set_pixformat(sensor.GRAYSCALE)
      sensor.set_framesize(sensor.QQVGA)
      sensor.skip_frames(time=5000)
      clock = time.clock()
      
      # 只有像素数超过“pixel_threshold”且面积超过“area_threshold”的blob才会被
      # “find_blobs”返回。如果更改了“pixels_threshold”和“area_threshold”,请进行相应调整。
      # 相机分辨率。"merge=True" 合并图像中所有重叠的斑点。
      
      
      def map_g_to_temp(g):
          return (
              (g * (max_temp_in_celsius - min_temp_in_celsius)) / 255.0
          ) + min_temp_in_celsius
      
      
      while True:
          clock.tick()
          img = sensor.snapshot()
          blob_stats = []
          blobs = img.find_blobs(
              threshold_list, pixels_threshold=200, area_threshold=200, merge=True
          )
          # 将统计信息收集到元组列表中
          for blob in blobs:
              blob_stats.append(
                  (
                      blob.x(),
                      blob.y(),
                      map_g_to_temp(
                          img.get_statistics(
                              thresholds=threshold_list, roi=blob.rect()
                          ).mean()
                      ),
                  )
              )
          img.to_rainbow(color_palette=image.PALETTE_IRONBOW)  # 为其上色
          # 在彩色图像上绘制内容
          for blob in blobs:
              img.draw_rectangle(blob.rect())
              img.draw_cross(blob.cx(), blob.cy())
          for blob_stat in blob_stats:
              img.draw_string(
                  blob_stat[0], blob_stat[1] - 10, "%.2f C" % blob_stat[2], mono_space=False
              )
          print(
              "FPS %f - Lepton Temp: %f C"
              % (clock.fps(), sensor.ioctl(sensor.IOCTL_LEPTON_GET_FPA_TEMP))
          )
      

      0_1745488602051_382b2088-96b9-4264-ab0b-567b4bf705c8-企业微信截图_17454885973856.png

      发布在 OpenMV Cam
      kidswong999
    • RE: openmv h7 plus 如何连接mavlink?

      https://book.openmv.cc/example/07-Interface-Library/02-MAVLink/mavlink_opticalflow.html

      发布在 OpenMV Cam
      kidswong999
    • RE: 我的openmv被识别为便携设备导致无法查询硬件id,应该怎么办才能让其被识别为端口

      你具体要做什么?是OpenMV IDE连接不上吗?

      发布在 OpenMV Cam
      kidswong999
    • RE: h7 plus 跑apriltag例程

      https://book.openmv.cc/example/06-April-Tags/find_apriltags.html

      发布在 OpenMV Cam
      kidswong999
    • RE: 我在安装openmvide的时候全部都按教程点下一步 但是一到安装的时候就闪退是为什么 试了各种版本的都不行 ?

      必须是windows 10或者windows 11,不要用windows7

      发布在 OpenMV Cam
      kidswong999
    • RE: openmvide顶部没有菜单栏如何处理

      删除关闭OpenMV IDE软件,删除C:\Users\kaizhi\AppData\Roaming\OpenMV这个目录,然后重新打开软件OpenMV IDE。

      发布在 OpenMV Cam
      kidswong999