Skip to content

Commit

Permalink
align_dlib: Add returns.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Amos committed Jun 10, 2016
1 parent bb2ef27 commit 5e0ab14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openface/align_dlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ def align(self, imgDim, rgbImg, bb=None,
:rtype: numpy.ndarray
"""
if version == 1:
self.align_v1(imgDim, rgbImg, bb, landmarks, landmarkIndices, skipMulti)
return self.align_v1(imgDim, rgbImg, bb, landmarks, landmarkIndices, skipMulti)
elif version == 2:
self.align_v2(imgDim, rgbImg, bb, landmarks, landmarkIndices, skipMulti)
return self.align_v2(imgDim, rgbImg, bb, landmarks, landmarkIndices, skipMulti)
else:
assert False

Expand Down

0 comments on commit 5e0ab14

Please sign in to comment.