mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-14 02:37:00 -07:00
added sort by one face in images. it trashes all images in which more than 1 face is found
This commit is contained in:
parent
65752e044b
commit
5e474c3462
4 changed files with 23 additions and 6 deletions
|
@ -71,3 +71,4 @@ def add_landmarks_debug_images(input_path):
|
|||
|
||||
output_file = '{}{}'.format( str(Path(str(input_path)) / filepath.stem), '_debug.jpg')
|
||||
cv2_imwrite(output_file, img, [int(cv2.IMWRITE_JPEG_QUALITY), 50] )
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue