1 | initial version |
You need to tell _where_ in the code you get that. But let me guess. faceCascade.detectMultiScale fails to detect anything, thus the next for loop is skippef, tge variable remains undefined as parameter for smileCascade.detectMultiScale