i have an issue with my function for extracting faces from image for some reason it detects
some faces but then stops working and print the error.
the issue is