update ieemoo-ai-isempty.py.

This commit is contained in:
Brainway
2022-10-11 07:26:56 +00:00
committed by Gitee
parent 9808dc19b1
commit d5504fce91

View File

@ -121,9 +121,7 @@ def get_isempty():
#print('get date use time: {0:.2f}s'.format(getdateend - start))
pic = json_data.get("pic")
result = {"success": "false",
"rst_cls": '-1',
}
result = { }
imgdata = base64.b64decode(pic)
imgdata_np = np.frombuffer(imgdata, dtype='uint8')