File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,16 +147,8 @@ def pose():
147147
148148#############################
149149if __name__ == "__main__" :
150- # main()
151150 t1 = th .Thread (target = pose )
152- # t2 = th.Thread(target=audio.sound)
153- # t3 = th.Thread(target=sound_analysis)
154151
155152 t1 .start ()
156- # t2.start()
157- # t3.start()
158-
159- t1 .join ()
160- # t2.join()
161- # t3.join()
162153
154+ t1 .join ()
Original file line number Diff line number Diff line change 66
77if __name__ == "__main__" :
88 # main()
9- t1 = th .Thread (target = head_pose .pose )
10- t2 = th .Thread (target = audio .sound )
11- t3 = th .Thread (target = detection .run_detection )
9+ head_pose_thread = th .Thread (target = head_pose .pose )
10+ audio_thread = th .Thread (target = audio .sound )
11+ detection_thread = th .Thread (target = detection .run_detection )
1212
13- t1 .start ()
14- t2 .start ()
15- t3 .start ()
13+ head_pose_thread .start ()
14+ audio_thread .start ()
15+ detection_thread .start ()
1616
17- t1 .join ()
18- t2 .join ()
19- t3 .join ()
20-
21- # from win32gui import GetWindowText, GetForegroundWindow
22- # print(GetWindowText(GetForegroundWindow()))
17+ head_pose_thread .join ()
18+ audio_thread .join ()
19+ detection_thread .join ()
You can’t perform that action at this time.
0 commit comments