This commit is contained in:
Antonio J. Delgado 2021-09-06 17:12:44 +03:00
parent ebb2237d45
commit 809337c5eb

View file

@ -78,6 +78,7 @@ class image_classifier:
sys.stdout.write(self.exif_info[key])
else:
self._log.debug("No exif info in the image.")
self.exif_info['APP1'] = ''
self.append_people_to_exif(people)
with open(file, 'wb') as new_image_file:
new_image_file.write(self.exif_info.get_file())