CHELSEA234 / Multi-domain-learning-FAS

The multi-domain FAS work with SiW-Mv2 dataset (ECCV 2022 oral)
http://cvlab.cse.msu.edu/siwm-v2-dataset.html
66 stars 9 forks source link

How to extract images from videos? #5

Closed MMMMMz closed 1 year ago

MMMMMz commented 1 year ago

Hi,

thank you very much for your work and for releasing the code :) I have read your code carefully but still have some doubts. How do you prepare datasets? And how can I get frames from videos?

Looking forward to your reply....

CHELSEA234 commented 1 year ago

Hi, I think you can use opencv to extract the video, for example: cap = cv2.VideoCapture(video_name)