semvec/pypi-packages huggingface dataset:
dg-face-parsing 0.0.6
Face parsing tools with BiSeNet
License: MIT
Requires Python: >=3.7,<3.11


### Face Parsing
Genreate face parsing with BiSeNet。
* Install

```bash
pip install dg_face_parsing
```

* Uninstall

```bash
pip uninstall dg_face_parsing
```

1. parsing_face
2. parsing_faces

### Usage
1. 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
2. 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).