xmrt commited on
Commit
602fda1
1 Parent(s): 23a1133

output file nav

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -8,10 +8,10 @@ import cv2
8
 
9
  print("[INFO]: Imported modules!")
10
 
11
- # inferencer = MMPoseInferencer('hand') # 'hand', 'human , device='cuda'
12
  # inferencer = MMPoseInferencer('human')
 
13
 
14
- inferencer = MMPoseInferencer(pose3d="human3d")
15
  # https://github.com/open-mmlab/mmpose/tree/dev-1.x/configs/body_3d_keypoint/pose_lift
16
  # motionbert_ft_h36m-d80af323_20230531.pth
17
  # simple3Dbaseline_h36m-f0ad73a4_20210419.pth
@@ -60,7 +60,7 @@ def poses(photo):
60
 
61
  # out_writer.release()
62
  # cv2.destroyAllWindows() # Closing window
63
- output_files = glob.glob(os.path.join(".","*.mp4"))
64
  print(output_files)
65
 
66
  return output_files[0]
 
8
 
9
  print("[INFO]: Imported modules!")
10
 
11
+ inferencer = MMPoseInferencer('hand') # 'hand', 'human , device='cuda'
12
  # inferencer = MMPoseInferencer('human')
13
+ # inferencer = MMPoseInferencer(pose3d="human3d")
14
 
 
15
  # https://github.com/open-mmlab/mmpose/tree/dev-1.x/configs/body_3d_keypoint/pose_lift
16
  # motionbert_ft_h36m-d80af323_20230531.pth
17
  # simple3Dbaseline_h36m-f0ad73a4_20210419.pth
 
60
 
61
  # out_writer.release()
62
  # cv2.destroyAllWindows() # Closing window
63
+ output_files = glob.glob(os.path.join(".", "*.mp4"))
64
  print(output_files)
65
 
66
  return output_files[0]