Skip to content

Commit

Permalink
Update api.py
Browse files Browse the repository at this point in the history
types = ('*.jpg', '.png') -> types = ('*.jpg', '*.png')
  • Loading branch information
mihanlg authored Oct 30, 2017
1 parent 191e1ee commit 471d1b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion face_alignment/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def get_landmarks(self, input_image, all_faces=False):
return landmarks

def process_folder(self, path, all_faces=False):
types = ('*.jpg', '.png')
types = ('*.jpg', '*.png')
images_list = []
for files in types:
images_list.extend(glob.glob(files))
Expand Down

0 comments on commit 471d1b1

Please sign in to comment.