优化云台跟踪效果

This commit is contained in:
myperworld committed 2025-12-26 23:28:23 +08:00
1 parent aa0c27d499
commit 1b12e76fdb
1860 files changed
+537 -480293

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
from flask import Blueprint,session,render_template
from app.glo import *
wrobot = Blueprint('wrobot', __name__)
@wrobot.route('/wrobot/')
def main():
device_list = GetUserDeviceIdList(session['user']['user_id'])
follow_list = {
'face': 'track_face',
# 'hand': 'track_hand',
'none': 'track_off',
}
data = {
"page_title": "%s" % ( "Wrobot") ,
"device_id": device_list[0],
"follow_id": 'face',
"device_list": device_list,
"follow_list": follow_list,
}
return render_template('/cn/aiot/wrobot.html', **data)