facelift-0.2.1
توضیحات
A simple wrapper for face detection and recognition
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | facelift-0.2.1 |
| نام | facelift |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Stephen Bunn |
| ایمیل نویسنده | stephen@bunn.io |
| آدرس صفحه اصلی | https://github.com/stephen-bunn/facelift |
| آدرس اینترنتی | https://pypi.org/project/facelift/ |
| مجوز | ISC |
<div style="background-color: #151320; padding: 1rem; margin-bottom: 1rem;">
<img alt="Facelift" src="docs/source/_static/assets/images/facelift.png"/>
</div>
**A wrapper for decent face feature detection and basic face recognition.**
[](https://pypi.org/project/facelift/)
[](https://github.com/stephen-bunn/facelift)
[](https://codecov.io/gh/stephen-bunn/facelift)
[](https://facelift.readthedocs.io/)
[](https://github.com/ambv/black)
For more details please head over to our [documentation](https://facelift.readthedocs.io/).
```python
from facelift import FullFaceDetector, iter_stream_frames
from facelift.render import draw_line
from facelift.window import opencv_window
detector = FullFaceDetector()
with opencv_window() as window:
for frame in iter_stream_frames():
for face in detector.iter_faces(frame):
for feature, points in face.landmarks.items():
frame = draw_line(frame, points)
window.render(frame)
```
<div style="display: flex; justify-content: center;">
<img alt="Basic Face Detection" src="docs/source/_static/assets/recordings/basic_face_detection.gif" />
</div>
نیازمندی
| مقدار | نام |
|---|---|
| >=1.19.2,<2.0.0 | numpy |
| >=0.4.18,<0.5.0) | python-magic |
| >=0.4.14,<0.5.0) | python-magic-bin |
| >=20.2.0,<21.0.0 | attrs |
| >=4.4.0,<5.0.0 | opencv-python |
| >=19.21.0,<20.0.0 | dlib |
| >=1.5.2,<2.0.0 | cached-property |
| >=3.7.4,<4.0.0 | typing-extensions |
| >=1.25.11,<2.0.0 | urllib3 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl facelift-0.2.1:
pip install facelift-0.2.1.whl
نصب پکیج tar.gz facelift-0.2.1:
pip install facelift-0.2.1.tar.gz