报错信息: img = cv2.resize(img, [w, h])
SystemError: new style getargs format but argument is not a tuple
原因: cv2.resize(img, [w, h])
解决: cv2.resize(img, (w, h))
报错信息: img = cv2.resize(img, [w, h])
SystemError: new style getargs format but argument is not a tuple
原因: cv2.resize(img, [w, h])
解决: cv2.resize(img, (w, h))