Skip to content
Snippets Groups Projects
Commit 14e151a0 authored by Ties de Kock's avatar Ties de Kock
Browse files

refer to original image for grayscale input

parent 3c7f94f5
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ class Localizer(_flandmark.Localizer):
return super(Localizer, self).__call__(gray)
elif image.ndim == 2:
return super(Localizer, self).__call__(gray)
return super(Localizer, self).__call__(image)
else:
raise TypeError, "Localizer accepts images as numpy.ndarray objects with either 2 or 3 dimensions"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment