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

How to replace keywords in starting command #110

Open
sharp2333 opened this issue Sep 7, 2021 · 4 comments
Open

How to replace keywords in starting command #110

sharp2333 opened this issue Sep 7, 2021 · 4 comments

Comments

@sharp2333
Copy link

I'm trying to run this code
I have no idea of how to replace the keyowrds in this command ' python code/test_on_video_dlib.py --snapshot PATH_OF_SNAPSHOT --face_model PATH_OF_DLIB_MODEL --video PATH_OF_VIDEO --output_string STRING_TO_APPEND_TO_OUTPUT --n_frames N_OF_FRAMES_TO_PROCESS --fps FPS_OF_SOURCE_VIDEO '
Can you give me a simply example or exlpain of each keyword

@Deusy94
Copy link

Deusy94 commented Sep 28, 2021

--snapshot is the path to hopenet weights file, downloadable at the provided links in the README.md.
--face_model is the path to the dlib face detector weight, download the mmod_human_face_detector.dat from dlib repository and put the path here.
--output_string string name that will be appended when saving the output as: output/video/output-%OUTPUT-STRING.avi
--n_frames number of frames that need to be processed in the video.
--fps framerate of the video.

@khandriod
Copy link

where to find mmod_human_face_detector.dat? I tried but couldn't find it. Has it been removed?

@Deusy94
Copy link

Deusy94 commented Mar 10, 2022

Hi @khandriod , I think that's just the dlib face_detection model.
You can download it from other source, just google it, at least that's how I've fixed it until now.

@khandriod
Copy link

thanks, I have found it. I am struggling with to get results. One question I have, Do I have to train the model or I can make inference using per-trained model?

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

3 participants