face-cropping
Project description
从源文件夹中获取所有图片,截取人脸后存入目标文件夹
一、安装:
pip install face-cropping
二、使用
方式一:
import face-cropping
folder_path='input_images'
output_folder='output_folder'
start(folder_path, output_folder)
方式二:
import face-cropping
folder_path='input_images'
output_folder='output_folder'
face_landmarks='./model/shape_predictor_68_face_landmarks.dat'
start68(folder_path, output_folder, face_landmarks)
下载地址1:https://github.com/davisking/dlib-models/blob/master/shape_predictor_68_face_landmarks.dat.bz2
下载地址2:http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file face_cropping-0.1.6.tar.gz.
File metadata
- Download URL: face_cropping-0.1.6.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94f3cee2e9ad0043704bbd65101954cea096aa8e37ba17bfa21d606c32793579
|
|
| MD5 |
479158fa02127a1b6c5d7d8e9d9f8b2f
|
|
| BLAKE2b-256 |
ebceb25d3839d6e9169049728b746da59dd0c68e2fdc2f63605a42c436ef7e36
|
File details
Details for the file face_cropping-0.1.6-py3-none-any.whl.
File metadata
- Download URL: face_cropping-0.1.6-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3c93759d1b39fe05be42a1fdff1339a1c3b9f8706d4177f4794b33aec734980
|
|
| MD5 |
b52ff1fe3803701601e3df2b9c242599
|
|
| BLAKE2b-256 |
b1df6304c73c836ffb77d47ecae7d9bb033d8fb3a87150104d6cc83acde5a911
|