Last active
June 11, 2016 09:50
-
-
Save bikz05/0148dc9451e5f107ddb0 to your computer and use it in GitHub Desktop.
Face Detection using OpenCV
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the faces are detected then
detectMultiScale
returns thendarray
else it returns an emptytuple
. Sofaces.shape[0]
throws the error when no faces are detected. Insteadlen(faces)
can be used to get the number of faces detected.