logo

运行二维码识别程序 报错

2018-11-18 10:05
L
林

import sensor, image

sensor.reset()

sensor.set_pixformat(sensor.RGB565)

sensor.set_framesize(sensor.QQVGA) # can be QVGA on M7...

sensor.skip_frames(30) # 修改sensor配置之后, 跳过30帧

sensor.set_auto_gain(False) # must turn this off to prevent image washout...

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():

print(code)

报错信息为

this function is unavailable on your OpenMV Cam

2018-11-18 16:00
I
网红小智智 星瞳科技

OpenMV2 不能识别二维码。

2018-12-22 14:02
L
ezsg

@kidswong999 能不能外加点东西可以扫描二维码的,再买一个openmv3的话又要花费一大笔钱

I
网红小智智 星瞳科技

不能,

而且OpenMV 2不会添加新功能了。