提交 b5ccb4b2 authored 作者: blu's avatar blu

video detect: time and path

上级 8e397481
...@@ -177,7 +177,7 @@ def video_analysis(data): ...@@ -177,7 +177,7 @@ def video_analysis(data):
if m: if m:
ret['data']['humanDetect']['found'] = 1 ret['data']['humanDetect']['found'] = 1
ret['data']['humanDetect']['level'] = m.group(2) ret['data']['humanDetect']['level'] = m.group(2)
ret['data']['humanDetect']['image'] = ipcSn + '/' + dirName + '/' + m.group(3) ret['data']['humanDetect']['image'] = ipcSN + '/' + dirName + '/' + m.group(3)
ret['data']['humanDetect']['time'] = int(m.group(4)) ret['data']['humanDetect']['time'] = int(m.group(4))
print('found {}: {}, img: {}, elapse: {}'.format(m.group(1), m.group(2), m.group(3), m.group(4))) print('found {}: {}, img: {}, elapse: {}'.format(m.group(1), m.group(2), m.group(3), m.group(4)))
break break
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论