Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

during preprocess how to save frames without faces? #37

Open
dongdongdashen opened this issue Nov 26, 2021 · 2 comments
Open

during preprocess how to save frames without faces? #37

dongdongdashen opened this issue Nov 26, 2021 · 2 comments

Comments

@dongdongdashen
Copy link

Hi,this is a great job. I try to use my own dataset to reconstruct the speech.The dataset are videos including medical images of vocal organs without human faces.Can you tell me how to save these frames without faces? Thanks a lot!

@prajwalkr
Copy link
Collaborator

Hi, you would need a different preprocessing script, where you specify in each frame which part of the image to save as a "crop". In our evaluation script, for example, we save the face region given by the face detector as the crop for that frame.

@dongdongdashen
Copy link
Author

Thanks for your reply!Now I can get the medical images list but it seems can't run in training. I am now looking for the cause.
I notice the chem images are about 120 x 180 and mine are 580 x 360.Do I need to adjust the size of my images before training?Besides,my videos are 60 fps not 30 fps (3~5 seconds each),do I need to modify related parameters to match my data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants