This commit is contained in:
Antonio J. Delgado 2021-09-06 23:42:26 +03:00
parent 8b9ab3f6d2
commit 449f04bf9d

View file

@ -60,7 +60,7 @@ class image_classifier:
with os.scandir(directory) as directory_item:
for entry in directory_item:
if not entry.name.startswith('.') and entry.is_file():
self.process_file(os.path.joing(directory, entry.name))
self.process_file(os.path.join(directory, entry.name))
def process_file(self, file):
''' Process a file, find faces, add EXIF information and