导航

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

    hdor

    @hdor

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

    hdor 关注

    hdor 发布的帖子

    • sensor.set_auto_exposure在这个openmv上不能调亮度,固件是4.5.0的?
      import sensor, image, time
      from machine import UART
      from pyb import UART
      import json
      green_threshold=(37, 100, -26, -8, -18, 32)
      red_threshold=(37, 100, 16, 40, -12, 8)
      greenin_threshold=(23, 66, -56, -22, -21, 37)
      redin_threshold=(18, 85, 23, 52, -17, 55)
      #redin_threshold=
      #greenin_threshold=
      sensor.reset()
      sensor.set_pixformat(sensor.RGB565)
      sensor.set_framesize(sensor.QVGA)
      sensor.set_windowing(150,0,140,140)
      
      sensor.set_vflip(True)
      sensor.set_hmirror(True)
      #sensor.set_auto_whitebal(False)
      sensor.skip_frames(10)
      #clock = time.clock()
      uart = UART(3, 115200, timeout_char=4000)
      sensor.set_auto_gain(False,100)
      sensor.set_auto_exposure(False,10)#!!!
      #sensor.set_contrast(-3)
      #sensor.set_brightness(-3)
      
      while True:
          img = sensor.snapshot()  # Take a picture and return the image.
      
      发布在 OpenMV Cam
      H
      hdor