把例程中的二维码识别代码复制到IDE 发现只能识别例程中的二维码 生成的二维码却无法识别 代码如下
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.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_datamatrices():
print(code)


data matrix 和QR code不是一个程序
http://book.openmv.cc/image/code.html#qr%E7%A0%81
http://book.openmv.cc/image/code.html#qr%E7%A0%81
@yuan 哦 原来是这样啊 是我理解错了 那我再看下 谢谢
@yuan 恩 在例程中找到了相关的程序 现在可以用了 谢谢 建议在教程中给出相应提示