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]