准备写实时监控rtsp进行算法识别

This commit is contained in:
caoqianming 2023-03-04 23:15:54 +08:00
parent 6cdf791429
commit f184ddc094
2 changed files with 6 additions and 2 deletions

View File

@ -637,8 +637,8 @@ def snap_and_analyse(vchannel: TDevice, algo_codes: list, opl: Opl = None):
notify_event(event)
def loop_task():
# 轮询拍照进行算法识别
def loop_and_analyse(vchannel: TDevice, algo_codes: list, opl: Opl = None):
# 启动rtsp轮询进行算法识别
pass
# cates = EventCate.objects.filter(loop_on=True, self_algo=True)
# AlgoChannel.objects.filter(algo__loop_on=True, algo__self_algo=True).values('algo__code', 'vchannel')

View File

@ -100,6 +100,10 @@ dhapis = {
"url": "/evo-apigw/admin/API/video/stream/realtime",
"method": "post"
},
"video_rtsp": {
"url": "/evo-apigw/admin/API/MTS/Video/StartVideo",
"method": "post"
},
"alarm_detail": {
"url": "/evo-apigw/evo-event/1.2.0/alarm-record/detail?alarmCode={alarmCode}&dbType={dbType}&alarmDate={alarmDate}",
"method": "get"