yolov5-face
yolov5-face copied to clipboard
where are the landmarks for the eyes, nose, & mouth?
so do your models output the landmark coordinates (i.e. eyes, mouth, nose coordinates) or do they just put a bounding box on the faces. When I tried your inference script on one of your pretrained models, it just outputted the bounding box of the face with the confidence score. How do you get the landmarks as described in your paper and as shown here https://github.com/deepcam-cn/yolov5-face/blob/master/data/images/result.jpg?
I look forward to your response, thank you.
I'm new here, so I can't give you more technical information, but...
You can use detect_face.py as reference. This script generates that image you want.
In these lines below the little dots are drawn. Comparing the colors in the code and in the image, you can infer which landmark is which.
https://github.com/deepcam-cn/yolov5-face/blob/d3505409a6e70f8f878b18686265cf18e04deea6/detect_face.py#L59-L64