From 0ea6a38269954c360f9090f6e62ac9dc9d002340 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Thu, 21 Jul 2022 20:56:18 +1000 Subject: [PATCH] remove debugs --- shared.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/shared.py b/shared.py index 1e20c69..e7335e3 100644 --- a/shared.py +++ b/shared.py @@ -119,7 +119,6 @@ def GenThumb(fname,auto_rotate): try: if auto_rotate: # run cmdline util to re-orient jpeg (only changes if needed, and does it losslessly) - print( f"exifautotran {fname}") p = subprocess.run(["/usr/bin/exifautotran",fname] ) im=Image.open(fname) # if we don't autorotate/touch the original, we still want the thumbnail oriented the right way @@ -149,7 +148,6 @@ def GenThumb(fname,auto_rotate): def GenFace(fname, model): img = face_recognition.load_image_file(fname) location = face_recognition.face_locations(img, model=model) - print( f"locn={location}" ) encodings = face_recognition.face_encodings(img, known_face_locations=location) if len(encodings) and len(location): return encodings[0].tobytes(), location[0]