def run_action_recognition(): if not input_path: tk.messagebox.showerror('错误', '未选择输入视频文件!') return # 调用动作识别函数 result = recognize_action(input_path, distance_threshold) # 显示结果 tk.messagebox.showinfo('识别结果', f'该视频中的运动员动作为:{result}') # 关闭窗口 root.destroy() # 运行下面的程序 # ...

def run_action_recognition if not input_path tkmessageboxshowerror错误 未选择输入视频文件! return # 调用动作识别函数 result = recognize_actioninput_path distance_threshold # 显示结果 tkmessagebo

原文地址: http://www.cveoy.top/t/topic/eFC0 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录