Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
import sensor, image, time sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QQVGA) sensor.skip_frames(time = 2000) img = sensor.snapshot()
如何使img为.pbm(二进制)的格式?
目前不支持二进制的pbm格式,可以是灰度的pgm。
OpenMV里 就算是二值化的图片,一个像素也是一个字节。