diff --git a/.ieemoo-ai-searchv2.py.swp b/.ieemoo-ai-searchv2.py.swp new file mode 100644 index 0000000..9c2aa6a Binary files /dev/null and b/.ieemoo-ai-searchv2.py.swp differ diff --git a/utils/.config.py.swp b/utils/.config.py.swp new file mode 100644 index 0000000..f58c9b2 Binary files /dev/null and b/utils/.config.py.swp differ diff --git a/utils/.updateObs.py.swp b/utils/.updateObs.py.swp new file mode 100644 index 0000000..f200cc2 Binary files /dev/null and b/utils/.updateObs.py.swp differ diff --git a/utils/config.py b/utils/config.py index e409a8a..0082b5a 100644 --- a/utils/config.py +++ b/utils/config.py @@ -51,7 +51,7 @@ _C.fgbgmask_old = '../module/ieemoo-ai-searchv2/model/now/ori_old.jpg' _C.URL = 'https://api.ieemoo.com/emoo-api/intelligence' #online #_C.URL = 'http://api.test.ieemoo.com/emoo-api/intelligence' -_C.Vre = 'http://api.test.ieemoo.com/emoo-api/intelligence/queryVideoCompareResult.do' +_C.Vre = 'http://api.test2.ieemoo.cn/emoo-api/intelligence/queryVideoCompareResult.do' #_C.Vre = 'http://192.168.1.98:8088/emoo-api/intelligence/queryVideoCompareResult.do' _C.Ocrimg = '../module/ieemoo-ai-ocr/imgs'#post ocr img diff --git a/utils/updateObs.py b/utils/updateObs.py index 99ae3b7..2af3bd9 100644 --- a/utils/updateObs.py +++ b/utils/updateObs.py @@ -26,12 +26,15 @@ def AddObs(file_path, status): shutil.move(file_path, f_dst) def addobs(file_path, status): #save videos - ti.sleep(5) + ti.sleep(2) videoUuid = os.path.basename(file_path).split('_')[1] json_data = {'videoUuid': videoUuid} resp = requests.post(url=cfg.Vre, data=json_data) + #print('>>>>>>>>>',resp) status = resp.json() + #print('>>>>>>>>>>>>>', json_data) + #print('>>>>>>>>>>>>>', status) try: status = status['data'] except Exception as e: