Update data.py (#174)
Modify openface.data to deal with images with upper case extension
This commit is contained in:
parent
67e9c5d84f
commit
3dc4546198
|
@ -104,7 +104,7 @@ def iterImgs(directory):
|
|||
"""
|
||||
assert directory is not None
|
||||
|
||||
exts = [".jpg", ".png"]
|
||||
exts = [".jpg", ".png", ".JPG", ".PNG"]
|
||||
|
||||
for subdir, dirs, files in os.walk(directory):
|
||||
for path in files:
|
||||
|
|
Loading…
Reference in New Issue