Navigation

    • Login
    • Search
    • 版块
    • 产品
    • 教程
    • 论坛
    • 淘宝
    1. Home
    2. kidswong999
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    小智智

    @kidswong999

    58
    Reputation
    11685
    Posts
    12397
    Profile views
    210
    Followers
    1
    Following
    Joined Last Online
    Website www.wangkaizhi.com Location 广州

    kidswong999 Follow
    管理员

    Posts made by kidswong999

    • RE: 当图像大小设置为QVGA时,一个像素点的实际尺寸为多大?

      和距离有关系,不是确定的值。越近这个值就越小,越远这个值就越大。你可以通过数尺子上像素数来确定。

      posted in OpenMV Cam
      kidswong999
    • RE: 训练神经网络每种都要100张左右吗

      训练的图片必须是真实的拍摄数据,否则你运行的时候不一致。

      posted in OpenMV Cam
      kidswong999
    • RE: 电赛E题,识别“黑色矩形边框”例程(find_rects)修改而来,但是修改后"黑色矩形边框"识别率低,甚至误识别
      import time, sensor
      from pyb import UART
      
      sensor.reset()
      sensor.set_pixformat(sensor.RGB565)
      sensor.set_framesize(sensor.QQVGA)
      sensor.set_windowing((120, 120))
      sensor.set_auto_whitebal(True)
      sensor.skip_frames(time = 20)
      sensor.set_hmirror(False)
      sensor.set_vflip(True)
      
      while True:
          img = sensor.snapshot()
          rects = img.find_rects(threshold = 200) #ROI=(80, 60, 80, 60)
          for r in rects:
              rect = r.rect()
      #        if (rect[0] > 15 and rect[1] > 15
      #            and rect[2] < 60 and rect[3] < 60
      #            and (rect[0] + rect[2]) < 100
      #            and (rect[1] + rect[3]) < 100
      #            and (rect[0] + rect[2]) > 25
      #            and (rect[1] + rect[3]) > 25):
      
              img.draw_rectangle(rect, color = (255, 0, 0))
              corner = r.corners()
              for point in r.corners():
                  img.draw_circle(point[0], point[1], 5, color = (0, 255, 0))
              
      
      posted in OpenMV Cam
      kidswong999
    • RE: 电赛E题,识别“黑色矩形边框”例程(find_rects)修改而来,但是修改后"黑色矩形边框"识别率低,甚至误识别

      if (rect[0] > 15 and rect[1] > 15
      and rect[2] < 60 and rect[3] < 60
      and (rect[0] + rect[2]) < 100
      and (rect[1] + rect[3]) < 100
      and (rect[0] + rect[2]) > 25
      and (rect[1] + rect[3]) > 25):

      这句话的作用是什么?是不是这一堆判断写错了,把它删掉看看。

      posted in OpenMV Cam
      kidswong999
    • RE: 电赛E题,识别“黑色矩形边框”例程(find_rects)修改而来,但是修改后"黑色矩形边框"识别率低,甚至误识别

      你把程序删减好,改成能够直接运行的。

      posted in OpenMV Cam
      kidswong999
    • RE: 电路中26引脚接的是什么元器件呀

      那是一个跳线,默认是断开的。如果想把PWM1连接到OpenMV的引脚上,就用电烙铁把跳线焊接在一起。

      posted in OpenMV Cam
      kidswong999
    • RE: 人脸识别画出的白框抖动

      https://github.com/openmv/openmv/blob/master/scripts/examples/03-Machine-Learning/00-TensorFlow/tf_object_detection.py

      试一下这个代码。

      posted in OpenMV Cam
      kidswong999
    • RE: 无法初始化Winc1500?

      我们出厂的时候都是升级过的,而且都是测试过的。

      posted in OpenMV Cam
      kidswong999
    • RE: usb串口或UART3发送什么数据会进入REPL模式?

      @xywd 在 usb串口或UART3发送什么数据会进入REPL模式? 中说:

      usb串口或UART3发送什么数据会进入REPL模式?

      没有这种情况。

      请提供具体的现象。

      posted in OpenMV Cam
      kidswong999
    • RE: 训练神经网络每种都要100张左右吗

      100张太少了,一般每个分类用1000张来测试效果。如果要商用的稳定性每个分类要10000张以上。

      这是经验值。

      posted in OpenMV Cam
      kidswong999