Spaces:
Configuration error
Configuration error
Download internship2_github/facebox.py from jassminnnneee/project: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/spaces/jassminnnneee/project/resolve/main/internship2_github/facebox.py
- Command line
-
hf download hf://spaces/jassminnnneee/project/internship2_github/facebox.py
-
curl -L -o facebox.py https://huggingface.co/spaces/jassminnnneee/project/resolve/main/internship2_github/facebox.py
526 Bytes
| from ctypes import * | |
| class FaceBox(Structure): | |
| _fields_ = [("x1", c_int32), ("y1", c_int32), ("x2", c_int32), ("y2", c_int32), | |
| ("yaw", c_float), ("roll", c_float), ("pitch", c_float), | |
| ("face_quality", c_float), ("face_luminance", c_float), ("eye_dist", c_float), | |
| ("left_eye_closed", c_float), ("right_eye_closed", c_float), | |
| ("face_occlusion", c_float), ("mouth_opened", c_float), | |
| ("landmark_68", c_float * 136), | |
| ("templates", c_ubyte * 2048) | |
| ] |