导航

    • 登录
    • 搜索
    • 版块
    • 产品
    • 教程
    • 论坛
    • 淘宝
    1. 主页
    2. 搜索

    高级搜索

    搜索子版块
    保存设置 清除设置
    共 499 条结果匹配 "sensor",(耗时 0.05 秒)

    openmv运行程序后自动断电如何解决?

    @kidswong999

    import sensor, image, time, pyb

    sensor.reset() # Initialize the camera sensor.
    sensor.set_pixformat(sensor.GRAYSCALE) # or sensor.GRAYSCALE
    sensor.set_framesize(sensor.B128X128) # or sensor.QQVGA (or others)
    sensor.set_windowing((92,112))
    sensor.skip_frames(10) # Let new settings take affect.
    sensor.skip_frames(time = 1000)
    while(True):
    img = sensor.snapshot()
    roi1=(10,0,80,60)
    d1= img.find_lbp(roi1)

    删去部分函数,只重复给d1赋值相同的lbp时,不会断电

    U
    发布在 OpenMV Cam

    IDE提示“find_displacement”object not iterable

    import sensor, image, time

    sensor.reset() # Initialize the camera sensor.
    sensor.set_pixformat(sensor.GRAYSCALE) # or sensor.GRAYSCALE
    sensor.set_framesize(sensor.B64X64) # or B40x30 or B64x64
    clock = time.clock() # Tracks FPS.

    old = sensor.snapshot()

    while(True):
    clock.tick() # Track elapsed milliseconds between snapshots().
    img = sensor.snapshot()

    [delta_x, delta_y, response] = old.find_displacement(img)   #这句报的错
    
    old = img.copy()
    
    print("%0.1f X\t%0.1f Y\t%0.2f QoR\t%0.2f FPS" %(delta_x, delta_y, response, clock.fps()))
    

    大佬😅

    风
    发布在 OpenMV Cam

    The image sensor is detached or failed to initialize!

    看上去是sensor模块没插紧,或者坏了。

    建议联系售后维修。

    发布在 OpenMV Cam

    拍摄rgb565图片后会得到一个img矩阵(应该是矩阵吧?)

    import sensor, image, time
    
    sensor.reset()
    sensor.set_pixformat(sensor.RGB565)
    sensor.set_framesize(sensor.QVGA)
    sensor.skip_frames(time = 2000)
    
    clock = time.clock()
    
    while(True):
        clock.tick()
        img = sensor.snapshot()
        print(img[0])
    
    

    发布在 OpenMV Cam

    openmv的屏幕出现黑点?

    就是sensor芯片上面沾灰了,擦一下就行,不行就寄回维修。

    发布在 OpenMV Cam

    openmv plua 运行代码后出现下面情况但在另外一个openmv上运行不会出现

    运行hello world有没有问题?不同sensor的OpenMV,25行的曝光不一样。

    发布在 OpenMV Cam

    rgb_to_lab问题

    img= sensor. snapshot()
    trgb=[(200, 0, 0) , (255, 50, 50)]
    tlab=img.rgb_to_lab(tfb[0[])
    报错 Image object has no attribute 'rgb
    _to_lab'

    Q
    发布在 OpenMV Cam

    摄像头传输到电脑的图像有时候偏绿

    0_1527510006768_a4740e5b-64c1-4980-9232-825244254d20-image.png
    请问哪里的sensor调的不好

    1
    发布在 OpenMV Cam

    wifi拓展板图像传输完成后续问题

    什么意思?

    调整看到大小就是在代码里改sensor的设置就行。

    发布在 OpenMV Cam

    使用全局快门模组,外部触发采集图像并保存,无法实现10帧以上的保存速度,有没有什么更快地保存方式。

    import sensor, image, time
    
    sensor.reset()
    sensor.set_pixformat(sensor.RGB565)
    sensor.set_framesize(sensor.QQVGA)
    sensor.skip_frames(time = 2000)
    
    clock = time.clock()
    img = sensor.snapshot()
    
    while(True):
        clock.tick()
        img.save("test.jpeg")
        print(clock.fps())
    

    发布在 OpenMV Cam
    • 1
    • 2
    • 9
    • 10
    • 11
    • 12
    • 13
    • 49
    • 50
    • 11 / 50