Check if faces detected or not.
Added if condition, whether faces are detected or not, will help to keep program running for some images. If imwrite used along with imshow, it may produce error for : No faces found.Aborting.. in function 'fit' (Bad Argument).
Showing
Please
register
or
sign in
to comment