1.代码
checkColorBadPiexCount = checkColorBadPiexCount + 1
img = sensor.snapshot()
bad_pixels = img.find_blobs([threshold], invert = True) #在出现很多小块会内存溢出,目前没有方法避免,只能
2.错误告警:MemoryError: memory allocation failed, allocating %u bytes。
如果涉及代码,需要报错提示与全部代码文本,请注意不要贴代码图片