Download microsoftexcel-controlnet/annotator/mediapipe_face/__init__.py from toto10/extensions: direct link, hf CLI and curl.
- Browser
- Download file 204 Bytes
-
https://huggingface.co/toto10/extensions/resolve/refs%2Fpr%2F3/microsoftexcel-controlnet/annotator/mediapipe_face/__init__.py
- Command line
-
hf download hf://toto10/extensions@refs/pr/3/microsoftexcel-controlnet/annotator/mediapipe_face/__init__.py
-
curl -L -o __init__.py https://huggingface.co/toto10/extensions/resolve/refs%2Fpr%2F3/microsoftexcel-controlnet/annotator/mediapipe_face/__init__.py
204 Bytes
| from .mediapipe_face_common import generate_annotation | |
| def apply_mediapipe_face(image, max_faces: int = 1, min_confidence: float = 0.5): | |
| return generate_annotation(image, max_faces, min_confidence) | |