摘要:import cv2 import numpy as np import base64 mat = cv2.imread("/home/lab/2.png") # Mat to Base64 string = base64.b64encode(cv2.imencode('.png', mat)[1] 阅读全文
posted @ 2020-04-23 15:54 来兮子宁 阅读(676) 评论(0) 推荐(0) 编辑