|
|
@ -62,7 +62,6 @@ class PoseEstimationGUI: |
|
|
pose_thread_file.start() |
|
|
pose_thread_file.start() |
|
|
else: |
|
|
else: |
|
|
# Start pose estimation on the selected camera |
|
|
# Start pose estimation on the selected camera |
|
|
# print(self.selected_camera.get()) |
|
|
|
|
|
pose_estimator = HPEModule() |
|
|
pose_estimator = HPEModule() |
|
|
camera = int(self.selected_camera.get()) |
|
|
camera = int(self.selected_camera.get()) |
|
|
pose_thread_camera = threading.Thread(target=pose_estimator.startHPEwithCamera, args=(camera, self.export_Landmarks,)) |
|
|
pose_thread_camera = threading.Thread(target=pose_estimator.startHPEwithCamera, args=(camera, self.export_Landmarks,)) |
|
|
@ -76,8 +75,4 @@ class PoseEstimationGUI: |
|
|
self.file_selected_label.config(text="File selected", fg="green") |
|
|
self.file_selected_label.config(text="File selected", fg="green") |
|
|
else: |
|
|
else: |
|
|
self.file_selected_label.config(text="No File selected", fg="red") |
|
|
self.file_selected_label.config(text="No File selected", fg="red") |
|
|
self.mp4_file_path = None |
|
|
self.mp4_file_path = None |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
|
|
PoseEstimationGUI() |
|
|
|