update
This commit is contained in:
BIN
.ieemoo-ai-searchv2.py.swp
Normal file
BIN
.ieemoo-ai-searchv2.py.swp
Normal file
Binary file not shown.
BIN
utils/.config.py.swp
Normal file
BIN
utils/.config.py.swp
Normal file
Binary file not shown.
BIN
utils/.updateObs.py.swp
Normal file
BIN
utils/.updateObs.py.swp
Normal file
Binary file not shown.
@ -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
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user