update ieemoo-ai-isempty.py.
This commit is contained in:
@ -121,9 +121,7 @@ def get_isempty():
|
|||||||
#print('get date use time: {0:.2f}s'.format(getdateend - start))
|
#print('get date use time: {0:.2f}s'.format(getdateend - start))
|
||||||
|
|
||||||
pic = json_data.get("pic")
|
pic = json_data.get("pic")
|
||||||
result = {"success": "false",
|
result = { }
|
||||||
"rst_cls": '-1',
|
|
||||||
}
|
|
||||||
|
|
||||||
imgdata = base64.b64decode(pic)
|
imgdata = base64.b64decode(pic)
|
||||||
imgdata_np = np.frombuffer(imgdata, dtype='uint8')
|
imgdata_np = np.frombuffer(imgdata, dtype='uint8')
|
||||||
|
Reference in New Issue
Block a user