Update data.py (#174)

Modify openface.data to deal with images with upper case extension
This commit is contained in:
Gu Wang 2016-08-02 22:40:37 +08:00 committed by Brandon Amos
parent 67e9c5d84f
commit 3dc4546198
1 changed files with 1 additions and 1 deletions

View File

@ -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: