facekit-1.1.0
توضیحات
Library to ease data collection for face detection/recognition/analysis
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | facekit-1.1.0 |
| نام | facekit |
| نسخه کتابخانه | 1.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jarvis Codes |
| ایمیل نویسنده | jarvis@jayradz.com |
| آدرس صفحه اصلی | https://github.com/jarviscodes/facekit |
| آدرس اینترنتی | https://pypi.org/project/facekit/ |
| مجوز | MIT |
# Facekit


Face kit is a library that uses DNNs to ease data collection for other neural networks such as face recognition or face analysis.
It currently has a MTCNN based face extractor for image directories as well as video directories with `vidsnap`.
## Installation
Note: For some reason I can't get setup.py to pickup tensorflow, so after installing facekit, please also install tensorflow.
### From PyPi
```
pip3 install facekit
pip3 install tensorflow
```
### From Source
```
git pull https://github.com/jarviscodes/facekit
setup.py install
pip3 install tensorflow
```
## Usage
```
Usage: python -m facekit [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
extract-faces
extract-faces-video
```
### extract-faces
```
(env) E:\Users\Jarvis\PycharmProjects\Facekit>python -m facekit extract-faces --help
Facekit v1.1.0
Usage: python -m facekit extract-faces [OPTIONS]
Options:
-i, --in_path TEXT Path where detector will pick up images.
-o, --out_path TEXT Path where detector will store images.
-a, --accuracy FLOAT Minimum detector threshold accuracy.
--preload Preload images in memory. More memory intensive, might
be faster on HDDs!
--help Show this message and exit.
```
### extract-faces-video
```
(env) E:\Users\Jarvis\PycharmProjects\Facekit>python -m facekit extract-faces-video --help
Facekit v1.1.0
Usage: python -m facekit extract-faces-video [OPTIONS]
Options:
-v, --video_in TEXT
--video_interval INTEGER
-i, --detector_in TEXT
-o, --detector_out TEXT
-a, --accuracy FLOAT Minimum detector threshold accuracy.
--preload Preload images in memory. More memory intensive,
might be faster on HDDs!
--help Show this message and exit.
```
### Demo

نیازمندی
| مقدار | نام |
|---|---|
| - | click |
| - | colorama |
| - | alive-progress |
| - | mtcnn |
نحوه نصب
نصب پکیج whl facekit-1.1.0:
pip install facekit-1.1.0.whl
نصب پکیج tar.gz facekit-1.1.0:
pip install facekit-1.1.0.tar.gz