feat: 增加监视页面
This commit is contained in:
@@ -666,12 +666,15 @@ def regenerate_marked_images(image_id, detections, side):
|
||||
marked_right_img = draw_detections_on_image(img_right, detections, left_position=None, right_position=right_position)
|
||||
cv2.imwrite(right_marked_path, marked_right_img)
|
||||
|
||||
# 添加人工标注页面路由
|
||||
@app.route('/manual-annotation')
|
||||
def manual_annotation():
|
||||
"""人工标注页面"""
|
||||
"""标注页面"""
|
||||
return render_template('manual_annotation.html')
|
||||
|
||||
@app.route('/view')
|
||||
def simple_view():
|
||||
"""查看图片列表页面"""
|
||||
return render_template('view.html')
|
||||
|
||||
# --- SocketIO 事件处理程序 ---
|
||||
@socketio.event
|
||||
|
||||
Reference in New Issue
Block a user