我用的无畸变镜头,第一张图把二维码放图片中间可以识别,
第二张图把二维码放图像边缘就识别不了
G
grnm
@grnm
0
Reputation
9
Posts
84
Profile views
0
Followers
0
Following
Posts made by grnm
-
RE: 找DM二维码只能识别图像中间区域的二维码,当把二维码移到图像边缘就识别不到了怎么回事?
-
找DM二维码只能识别图像中间区域的二维码,当把二维码移到图像边缘就识别不到了怎么回事?
import sensor, image, time sensor.reset() sensor.set_pixformat(sensor.GRAYSCALE) sensor.set_framesize(sensor.QVGA) # 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()#.lens_corr(0.47) clock.tick() #必须放在img = sensor.snapshot()下面 for code in img.find_datamatrices( effort = 200):#effort越大帧率越低,上限240,越小帧率越高下限160 print(code) print("FPS %f" % clock.fps())
-
MT9V034不支持R0GB565格式吗?
sensor.set_pixformat(sensor.RGB565) # or sensor.GRAYSCALE
MT9V034除了GRAYSCALE还支持其他格式么