openCV模块应用之解析传输的图片 通过: img = cv2.imdecode(np.fromstring(str_image, np.uint8), 1) 可以将字节流图片生成图像Mat,供cv2应用