Change method
This commit is contained in:
parent
b0e4c6501e
commit
e4116950ba
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class image_classifier:
|
|||
if people:
|
||||
self._log.debug(f"Found {len(people)} known people in the image.")
|
||||
self._log.debug(json.dumps(people, indent=2))
|
||||
self.metadata = pyexiv2.ImageMetadata(file)
|
||||
self.metadata = pyexiv2.ImageData(file)
|
||||
self.metadata.read()
|
||||
print(f"IPTC keys: {self.metadata.iptc_keys}")
|
||||
print(f"EXIF keys: {self.metadata.exif_keys}")
|
||||
|
|
Loading…
Reference in a new issue