From d5504fce918b563840c8cd2ca2f480b0b8706bf8 Mon Sep 17 00:00:00 2001 From: Brainway Date: Tue, 11 Oct 2022 07:26:56 +0000 Subject: [PATCH] update ieemoo-ai-isempty.py. --- ieemoo-ai-isempty.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ieemoo-ai-isempty.py b/ieemoo-ai-isempty.py index b042288..a0a93b2 100755 --- a/ieemoo-ai-isempty.py +++ b/ieemoo-ai-isempty.py @@ -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')