Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Get Mat or vector from CvHaarClassifierCascade

Hi, i'm new to openCV, i'm trying to make simple face recognition program and i was wondering how to get Matrix or vector from this:

pStorageface = cvCreateMemStorage(0);    
        pFaceRectSeq = cvHaarDetectObjects
                (frame, face_cascade, pStorageface,
                1.1,                       
                3,                        
                CV_HAAR_DO_CANNY_PRUNING,  
                cvSize(30,30));

i am interested only in detected image.