导航

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

    motto6666 发布的帖子

    • RE: 有关openMV库函数的问题

      好的,谢谢您😀 😀

      发布在 OpenMV Cam
      motto6666
    • 有关openMV库函数的问题

      请问大神们openMV IDE上可以配置openCV库吗?☀ ☀

      发布在 OpenMV Cam
      motto6666
    • RE: 有关数据类型的问题

      好的,谢谢您😀

      发布在 OpenMV Cam
      motto6666
    • 有关数据类型的问题

      0_1536327232963_ffc0c464-24df-486f-b704-44cc6236dd0e-image.png
      请问大神们图中的b, B, h, H, i, I, l, L, q, Q, s, P, f, d的每个字符代表什么意思呢☀ ☀

      发布在 OpenMV Cam
      motto6666
    • 有关openMV供电的问题

      若同时给openMV的USB接口(连接到电脑)和VIN(连接3.7V锂电池)供电时电压大概有多大呢?

      发布在 OpenMV Cam
      motto6666
    • 有关openMV模块项目的问题

      请问大神们在哪里可以找到更多的openMV实验项目呢☀ ☀

      发布在 OpenMV Cam
      motto6666
    • RE: 有关颜色识别的问题

      自动RGB565颜色跟踪示例

      这个例子展示了使用OpenMV的单色自动RGB565色彩跟踪。

      import sensor, image, time
      print("Letting auto algorithms run. Don't put anything in front of the camera!")

      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()

      捕捉图像中心的颜色阈值。

      r = [(320//2)-(50//2), (240//2)-(50//2), 50, 50] # 50x50 center of QVGA.

      print("Auto algorithms done. Hold the object you want to track in front of the camera in the box.")
      print("MAKE SURE THE COLOR OF THE OBJECT YOU WANT TO TRACK IS FULLY ENCLOSED BY THE BOX!")
      for i in range(60):
      img = sensor.snapshot()
      img.draw_rectangle(r)

      print("Learning thresholds...")
      threshold = [50, 50, 0, 0, 0, 0] # Middle L, A, B values.
      for i in range(60):
      img = sensor.snapshot()
      hist = img.get_histogram(roi=r)
      lo = hist.get_percentile(0.01) # 获取1%范围的直方图的CDF(根据需要调整)!
      hi = hist.get_percentile(0.99) # 获取1%范围的直方图的CDF(根据需要调整)!
      # 平均百分位值。
      threshold[0] = (threshold[0] + lo.l_value()) // 2
      threshold[1] = (threshold[1] + hi.l_value()) // 2
      threshold[2] = (threshold[2] + lo.a_value()) // 2
      threshold[3] = (threshold[3] + hi.a_value()) // 2
      threshold[4] = (threshold[4] + lo.b_value()) // 2
      threshold[5] = (threshold[5] + hi.b_value()) // 2
      for blob in img.find_blobs([threshold], pixels_threshold=100, area_threshold=100, merge=True, margin=10):
      img.draw_rectangle(blob.rect())
      img.draw_cross(blob.cx(), blob.cy())
      img.draw_rectangle(r)

      print("Thresholds learned...")
      print("Tracking colors...")

      while(True):
      clock.tick()
      img = sensor.snapshot()
      for blob in img.find_blobs([threshold], pixels_threshold=100, area_threshold=100, merge=True, margin=10):
      img.draw_rectangle(blob.rect())
      img.draw_cross(blob.cx(), blob.cy())
      print(clock.fps())

      对于识别相同的颜色,用以上程序得到的颜色阈值与自己在阈值编辑器里得到的阈值相差较大(就是用以上程序识别颜色的效果不大理想),请问大神您有什么更好的自动RGB565色彩跟踪方法呢☀ ☀

      发布在 OpenMV Cam
      motto6666
    • 有关颜色识别的问题

      如果用教程上的颜色训练程序得到的颜色阈值与实际的颜色阈值相差较大,会出现较大的误差,请问大神们有什么好的颜色训练程序或者方法呢☀ ☀

      发布在 OpenMV Cam
      motto6666
    • 有关跟踪目标算法以及识别算法的问题

      请问大神们在哪里可以找到跟踪目标算法TLD、KCF,以及识别算法DTW的资料呢☀ ☀

      发布在 OpenMV Cam
      motto6666
    • RE: 引脚输出问题

      好的,谢谢😀

      发布在 OpenMV Cam
      motto6666
    • RE: 引脚输出问题

      @kidswong999 0_1534120010846_19c3e189-8bf0-418c-9522-29651106bc27-image.png
      请教大神,这两个有什么区别呢☀

      发布在 OpenMV Cam
      motto6666
    • 引脚输出问题

      小白求助大神:

      请问输出模式Pin.OUT_OD,与Pin.OUT_PP 有什么区别呢☀ ☀

      发布在 OpenMV Cam
      motto6666
    • RE: 有关追小球小车的问题

      好的,谢谢😀

      发布在 OpenMV Cam
      motto6666
    • 有关追小球小车的问题

      0_1533917606611_7348189c-0873-4ae2-b6ab-2f96f3d56357-image.png

      请问大神们网上有这个模块买吗?😀

      openMV模块最大输入电压和最大输出电压为多少呢?☀

      发布在 OpenMV Cam
      motto6666
    • RE: 急急急!有关阈值的问题

      好的,谢谢😀

      发布在 OpenMV Cam
      motto6666
    • 急急急!有关阈值的问题

      小白求助大神们:
      请问大神们
      img.find_rects(threshold = 1000)
      img.find_circles(threshold = 2000)
      img.find_edges(image.EDGE_CANNY,threshold = (50,80))
      三个语句当中的阈值threshold指的是什么呢☀ ☀

      发布在 OpenMV Cam
      motto6666
    • RE: 有关自动增益问题

      好的,谢谢😀

      发布在 OpenMV Cam
      motto6666