added sort by one face in images. it trashes all images in which more than 1 face is found

This commit is contained in:
iperov 2019-02-22 11:32:27 +04:00
commit 5e474c3462
4 changed files with 23 additions and 6 deletions

View file

@ -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] )