共 499 条结果匹配 "sensor",(耗时 0.19 秒)
openMV的一些路径问题
import sensor 这个sensor的源路径在什么地方?
OSError:Sleep Failed
# Sensor Sleep Mode Example.
# This example demonstrates the sensor sleep mode. The sleep mode saves around
# 40mA when enabled and it's automatically cleared when calling sensor reset().
import sensor, image, time
sensor.reset() # Reset and initialize the sensor.
sensor.set_pixformat(sensor.RGB565) # Set pixel format to RGB565 (or GRAYSCALE)
sensor.set_framesize(sensor.QVGA) # Set frame size to QVGA (320x240)
sensor.skip_frames(time = 3000) # Capture frames for 3000ms.
sensor.sleep(True) # Enable sensor sleep mode (saves about 40mA).
特征点检测一定要在sensor.set_framesize(sensor.VGA) 的条件下吗?
import sensor, time, image
# Reset sensor
sensor.reset()
# Sensor settings
sensor.set_contrast(3)
sensor.set_gainceiling(16)
sensor.set_framesize(sensor.QQVGA)
#sensor.set_windowing((320, 240))
sensor.set_pixformat(sensor.GRAYSCALE)
但是这样子它都不画出特征点了
上电后,硬盘中出现了一个ERROR.LOG的日志文件
看上去是sensor坏了,或者是没有安装sensor就启动。
怎么用函数调节图像亮度
https://book.openmv.cc/example/21-Sensor-Control/sensor-exposure-control.html
最开始的EXPOSURE_TIME_SCALE = 1.0改为0.1