Skip to content
Snippets Groups Projects
Commit 90be0704 authored by Low, Low Jian He (PG/R - Comp Sci & Elec Eng)'s avatar Low, Low Jian He (PG/R - Comp Sci & Elec Eng)
Browse files

Updated to extract Rachel Glosses

parent c0f1afe2
No related branches found
No related tags found
No related merge requests found
......@@ -313,9 +313,11 @@ if __name__ == '__main__':
# keypoint detector
cpm = ViTPoseModel(device)
args.in_folder = '/vol/research/signVision/Projects/Hamer_Feature_Test/Glosses/test'
# args.in_folder = '/vol/research/SignMotion/2024.02.20_Capture_1/glosses'
Folder_List = [os.path.join(args.in_folder, f) for f in os.listdir(args.in_folder)]
args.out_folder = '/vol/research/signVision/Projects/Hamer_Feature_Test/Batch_Test'
Rachel_Path = '/vol/research/SignFeaturePool/Rachel_Gloss_Features/HaMeR_Features'
args.out_folder = os.path.join(Rachel_Path, os.path.basename(args.in_folder.removesuffix('/glosses')))
if Folder_List[0].endswith('.mp4'):
for vid_file in Folder_List:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment