Add folder name
This commit is contained in:
parent
8cb899b9de
commit
c158c507a3
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,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(entry.name)
|
||||
self.process_file(directory + os.sep() + entry.name)
|
||||
|
||||
def process_file(self, file):
|
||||
''' Process a file, find faces, add EXIF information and
|
||||
|
|
Loading…
Reference in a new issue