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

Missing file detect_face.py #3

Closed
TadeasFrycak opened this issue Nov 6, 2023 · 2 comments
Closed

Missing file detect_face.py #3

TadeasFrycak opened this issue Nov 6, 2023 · 2 comments

Comments

@TadeasFrycak
Copy link

Hello,

I would really like to use your Face models, but I cannot find the detect_face.py file mentioned in README, would you please share it with me?

Thank you for your work!

@akuzdeuov
Copy link
Contributor

Hello,

Thank you for your interest in our project. The detect_face.py file is located in the original YOLO5Face repo:
First, you need to download YOLOv5 repo and install the required packages:

$ git clone https://github.com/ultralytics/yolov5 
$ cd yolov5
$ pip install -r requirements.txt  

Then, download the YOLO5Face repo:

$ git clone https://github.com/deepcam-cn/yolov5-face.git
$ cd yolov5-face

To use our pre-trained face models, download this file from Google Drive and unzip it in the yolo5-face/weights directory. Then, run the following script:

$ python detect_face.py --weights PATH_TO_MODEL --source PATH_TO_IMAGE

@TadeasFrycak
Copy link
Author

It works grandly, thank you very much!

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