Ask Your Question

Revision history [back]

click to hide/show revision 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