Skip to content

Commit 656d0c5

Browse files
committed
fixed variable names
1 parent 340da7c commit 656d0c5

2 files changed

Lines changed: 10 additions & 21 deletions

File tree

src/head_pose.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,8 @@ def pose():
147147

148148
#############################
149149
if __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()

src/run.py

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,14 @@
66

77
if __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()

0 commit comments

Comments
 (0)