导航

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

    6hpf

    @6hpf

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

    6hpf 关注

    6hpf 发布的帖子

    • openmv人脸识别不能在LCD显示屏扩展版上实时传输,很卡

      openmv人脸识别不能在LCD显示屏扩展版上实时传输,很卡

      
      import sensor, time, image, display
      sensor.reset()
      sensor.set_contrast(3)
      sensor.set_gainceiling(16)
      
      
      sensor.set_framesize(sensor.QQVGA2)
      sensor.set_pixformat(sensor.GRAYSCALE)
      face_cascade = image.HaarCascade("frontalface", stages=25)
      print(face_cascade)
      
      # FPS clock
      clock = time.clock()
      lcd = display.SPIDisplay()  # Initialize the lcd screen.
      
      
      while (True):
          clock.tick()
      
          # 拍摄一张照片
          img = sensor.snapshot()
          objects = img.find_features(face_cascade, threshold=0.75, scale=1.35)
        
          for r in objects:
              img.draw_rectangle(r)
              cx=r[0]+r[2]/2
              cy=r[1]+r[3]/2
              print('cx = %d, cy = %d' %(cx,cy))
              img.draw_cross(int(cx),int(cy))
              lcd.write(img) 
          
          print(clock.fps())
      
      发布在 OpenMV Cam
      6
      6hpf
    • 请问有没有能识别小车的已经训练好的模型?

      请问有没有能识别小车的已经训练好的模型?

      发布在 OpenMV Cam
      6
      6hpf