G
gueb
@gueb
0
声望
2
楼层
382
资料浏览
0
粉丝
0
关注
gueb 发布的帖子
-
openmv摄像头识别二维码为什么我只有0.006帧的帧率,求大佬?
import sensor, image, time, math sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QQVGA) # can be QVGA on M7... sensor.skip_frames(30) sensor.set_auto_gain(False) # must turn this off to prevent image washout... clock = time.clock() while(True): img = sensor.snapshot() # img.lens_corr(1.8) # strength of 1.8 is good for the 2.8mm lens. for code in img.find_qrcodes(): message=code.payload() print(message) print("FPS %f" % clock.fps())