导航

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

    lemron 发布的帖子

    • openmv有几个pwm输出端口?

      openmv能同时输出多少个pwm?

      发布在 OpenMV Cam
      L
      lemron
    • RE: openmv引脚电平

      好的,谢谢~~~

      发布在 OpenMV Cam
      L
      lemron
    • openmv引脚电平

      openmv的引脚可以输出5V高电平么?

      发布在 OpenMV Cam
      L
      lemron
    • apriltag的3d定位中,坐标的含义

      apriltag的3d定位中,坐标Tx, Ty, Tz,Rx,Ry,Rz 这几个量具体表示什么意思?

      发布在 OpenMV Cam
      L
      lemron
    • RE: 识别二维码的教程是哪个?

      例程讲解-09-qrcodes_with_lens_zoom二维码识别

      此例程为09-qrcodes_with_lens_zoom.py 本例程的目标是实现二维码检测。

      QRCode Example

      这个例子展示了OpenMV Cam的功能,可以在不需要镜头校正的情况下检测QR码。

      import sensor, image, time

      sensor.reset()
      sensor.set_pixformat(sensor.GRAYSCALE)
      sensor.set_framesize(sensor.VGA)
      sensor.set_windowing((240, 240)) # look at center 240x240 pixels of the VGA resolution.
      sensor.skip_frames(30)
      sensor.set_auto_gain(False) # must turn this off to prevent image washout...
      clock = time.clock()

      while(True):
      clock.tick()
      img = sensor.snapshot()
      for code in img.find_qrcodes():
      print(code)
      print(clock.fps())
      只找到了这个

      发布在 OpenMV Cam
      L
      lemron
    • RE: 识别二维码的教程是哪个?

      可以把二维码的中心坐标表示出来么?

      发布在 OpenMV Cam
      L
      lemron
    • 识别二维码的教程是哪个?

      识别二维码的教程是哪个?

      发布在 OpenMV Cam
      L
      lemron
    • RE: 串口通信

      烧进去之后,摄像头就不往回传数了

      发布在 OpenMV Cam
      L
      lemron
    • RE: 串口通信
      # Blob Detection and uart transport
      import sensor, image, time
      from pyb import UART
      import json
      # For color tracking to work really well you should ideally be in a very, very,
      # very, controlled enviroment where the lighting is constant...
      yellow_threshold   = (65, 100, -10, 6, 24, 51)
      # You may need to tweak the above settings for tracking green things...
      # Select an area in the Framebuffer to copy the color settings.
      
      sensor.reset() # Initialize the camera sensor.
      sensor.set_pixformat(sensor.RGB565) # use RGB565.
      sensor.set_framesize(sensor.QQVGA) # use QQVGA for speed.
      sensor.skip_frames(10) # Let new settings take affect.
      sensor.set_auto_whitebal(False) # turn this off.
      clock = time.clock() # Tracks FPS.
      
      uart = UART(3, 115200)
      
      while(True):
          img = sensor.snapshot() # Take a picture and return the image.
      
          blobs = img.find_blobs([yellow_threshold])
          if blobs:
              print('sum :', len(blobs))
              output_str = json.dumps(blobs)
              for b in blobs:
                  # Draw a rect around the blob.
                  img.draw_rectangle(b.rect()) # rect
                  img.draw_cross(b.cx(), b.cy()) # cx, cy
      
              print('you send:',output_str)
              uart.write(output_str+'\n')
          else:
              print('not found!')
      

      这个代码不能够显示

      发布在 OpenMV Cam
      L
      lemron
    • 串口通信

      我想将openmv的数据传输到串口助手上,参照教程,发送 hello world串口助手可以收到,但发送复杂的数据就都没有反应,这是为什么?

      发布在 OpenMV Cam
      L
      lemron
    • stm32接收openmv的位置信息

      想通过stm32来接收openmv传输回来的位置信息,哪位有相关的资料?

      发布在 OpenMV Cam
      L
      lemron