Ask Your Question

KJR's profile - activity

2016-04-05 03:31:26 -0600 commented question Error compiling: detect_and_draw in opencv python

it is a real time camera capture..

hi @berak, here is where i defined the detect_and_draw:

def detect_and_draw(img, gray): faces = face_cascade.detectMultiScale(gray, scaleFactor = 1.3, minNeighbors = 3, minSize = (30,30)) for (x,y,w,h) in faces: img = cv2.rectangle(img, (x,y),(x+w,y+h),(255,0,0),2) gray = gray[y:y+h, x:x+w] color = img[y:y+h, x:x+w]

2016-04-05 03:03:23 -0600 asked a question 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.

2015-02-12 22:26:53 -0600 asked a question How do I set up Visual Studio 2010 for Eye Blink Detection using c++?

I need a step by step guide to setup Visual Studio 2010 for creating eye blink detection