You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.
So bug 1 would be to convert the image from GIF if needed.
But 2 is that if you do this you get an error from the getFaceList() function because getFaceListFromClassifier() returns false instead of an array - and it's not expecting that.
So aside from supporting GIF's, presumably getFaceListFromClassifier() should check for false and return an empty array.
The text was updated successfully, but these errors were encountered:
And if I modify the function to return a blank array, it still doesn't work with GIF as the result of cropping is a corrupted GIF file. Maybe this should really be two bugs.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
First face detection doesn't work with GIF, because the underlying CV library doesn't support it. See: http://opencv.jp/opencv-2svn_org/c/highgui_reading_and_writing_images_and_video.html
So bug 1 would be to convert the image from GIF if needed.
But 2 is that if you do this you get an error from the
getFaceList()
function becausegetFaceListFromClassifier()
returnsfalse
instead of an array - and it's not expecting that.So aside from supporting GIF's, presumably
getFaceListFromClassifier()
should check forfalse
and return an empty array.The text was updated successfully, but these errors were encountered: