Face parsing tools with BiSeNet
Project description
Face Parsing
Genreate face parsing with BiSeNet。 pip install dg_face_parsing
- parsing_face
- parsing_faces
Usage
- dg_util.face_parsing.parsing_face(input_path, output_path) *input_img- Image data()PIL.image. *output_path- File path of output image(string, Blank as default).Opional, if output_path is blank, result image returned as cv2.image. Else, result image saved in output path and True returned. *Return- Image data || Nones
- dg_util.face_parsing.parsing_faces(input_folder, output_folder) *Return- None *input_folder- File path of input folder(string). *output_folder- File path of output folder(string).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dg_face_parsing-0.0.4.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for dg_face_parsing-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16186466acde64bac80dfb286be82ea4d8b0fa8042bb30ad3846817e96350396 |
|
MD5 | 1bdc7fbc49d3d8eae449cfbe31c28314 |
|
BLAKE2b-256 | e472888c7253179333ab795fc7b03483add33876dd1a2c60e70907cb93585fc0 |