Ask Your Question

Revision history [back]

Error compiling: detect_and_draw in opencv python

I am currently working on eyes and mouth detection using opencv and python. From the compile output, there are multiple mouth detection whereby i need single mouth detection. However when i compile, i get the error below:

in detect_and_draw mouth = mouth_cascade.detectMultiScale(gray, scaleFactor = 1.5, minNeighbors = 2, minSize = (15,15)) error: C:\builds\master_PackSlaveAddon-win32-vc12-static\opencv\modules\core\src\array.cpp:2494: error: (-206) Unrecognized or unsupported array type in function cvGetMat.