Issue opening cv2 image from base64 encoded image: error: (-215:Assertion failed)

后端 未结 0 1661
时光取名叫无心
时光取名叫无心 2020-12-05 09:33

I am using this function

def data_uri_to_cv2_img(uri):
    encoded_data = uri.split(\',\')[1]
    nparr = np.frombuffer(base64.b64decode(encoded_data), np.uin         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题