准备写实时监控rtsp进行算法识别
This commit is contained in:
parent
6cdf791429
commit
f184ddc094
|
@ -637,8 +637,8 @@ def snap_and_analyse(vchannel: TDevice, algo_codes: list, opl: Opl = None):
|
||||||
notify_event(event)
|
notify_event(event)
|
||||||
|
|
||||||
|
|
||||||
def loop_task():
|
def loop_and_analyse(vchannel: TDevice, algo_codes: list, opl: Opl = None):
|
||||||
# 轮询拍照进行算法识别
|
# 启动rtsp轮询进行算法识别
|
||||||
pass
|
pass
|
||||||
# cates = EventCate.objects.filter(loop_on=True, self_algo=True)
|
# 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')
|
# AlgoChannel.objects.filter(algo__loop_on=True, algo__self_algo=True).values('algo__code', 'vchannel')
|
||||||
|
|
|
@ -100,6 +100,10 @@ dhapis = {
|
||||||
"url": "/evo-apigw/admin/API/video/stream/realtime",
|
"url": "/evo-apigw/admin/API/video/stream/realtime",
|
||||||
"method": "post"
|
"method": "post"
|
||||||
},
|
},
|
||||||
|
"video_rtsp": {
|
||||||
|
"url": "/evo-apigw/admin/API/MTS/Video/StartVideo",
|
||||||
|
"method": "post"
|
||||||
|
},
|
||||||
"alarm_detail": {
|
"alarm_detail": {
|
||||||
"url": "/evo-apigw/evo-event/1.2.0/alarm-record/detail?alarmCode={alarmCode}&dbType={dbType}&alarmDate={alarmDate}",
|
"url": "/evo-apigw/evo-event/1.2.0/alarm-record/detail?alarmCode={alarmCode}&dbType={dbType}&alarmDate={alarmDate}",
|
||||||
"method": "get"
|
"method": "get"
|
||||||
|
|
Loading…
Reference in New Issue